summaryrefslogtreecommitdiff
path: root/sys/src/cmd/stats.c
AgeCommit message (Collapse)Author
2022-08-08acpi: /mnt/acpi → /mnt/pmSigrid Solveig Haflínudóttir
2021-01-22stats: don't query battery and temp as often when using acpiSigrid
Querying battery (or temperature) using ACPI takes quite some resources, which makes the battery discharge faster. It doesn't make much sense to have it queried as often either. So, when using ACPI: 1) set battery query period to 10s minimum 2) set temperature query period to 5s minimum
2018-09-09stats: fix etherstats, avoid vmax == 0cinap_lenrek
2018-06-14mergecinap_lenrek
2018-06-14stats: fix crash with -Y fag when window too narrowcinap_lenrek
2018-06-13stats: read cputemp as C, set scale max to 100 Cmischief
2018-01-05stats: show amount of reclaimable pages (add -r flag)cinap_lenrek
reclaimable pages are user pages that are used for caches like the image cache, mount cache and swap cache.
2017-06-08stats: get rid of the legacy import fallbackcinap_lenrek
using legacy import is dangerious as it is unencrypted by default, so a man in the middle can force the fallback to import protocol and then take over the connection to the remote machine gaining full access to is.
2016-10-24stats: alternatively read battery and temp from aux/acpiftrvxmtrx
2016-03-23stats: fix display->locking racecinap_lenrek
2016-02-22stats: use rimport or import to mount remote systemcinap_lenrek
2015-06-16stats: add kernel malloc and kernel draw allocation size graphscinap_lenrek
2014-12-13stats: handle 'q' to closemischief
a side effect of this is keys typed other than q/Del no longer get drawn on top of the window.
2014-09-20stats: handle /dev/sysstat 32bit overflow in delta calculationcinap_lenrek
the numbers from /dev/sysstat overflow on 32bit, so have to do subtraction modulo 2^32 as we calculate with 64bit integers. thanks mischief for reporting this.
2013-08-13libdraw: fix leftover processes or programs failing to restore window labels ↵cinap_lenrek
when receiving interrupt note fix the default note handler for event programs. only handle non system notes or notes in the slave processes. for interrupt in the main process, just call exits() which will do the cleanup and restore window label properly. this makes completely overriding the note handler in gping and stats uneccesary.
2012-04-30stats: fix memory leakscinap_lenrek
2011-12-09stats: always use $font instead of hardcodingcinap_lenrek
2011-03-30Import sources from 2011-03-30 iso image - libTaru Karttunen
2011-03-30Import sources from 2011-03-30 iso imageTaru Karttunen