Releases: c-blake/procs
Correct style, update deps, qualify imports
Add built-in type "self" and option to preface -delay samples w/time
As always, git log -p
has full details, but as a summary:
- Fix `schedStat` spelling (hitherto undetected since `styleCheck=usages styleCheck=error` does not work unless `hint[Name]=on` is also set).
- Add option to preface each sample in differential-delay mode with time.
- Add a built-in type "self" for the procs display process itself. This can be nice either to suppress it, say in
`procs display --delay=0.001 --excl=self`
or to emphasize it (e.g. to know which tty ran program in tree formats) with special colorization.
- Update example color config, correctly renumbering side-comment slots and default to struck (& probably bold, unlike zombies).
Add `mUAv` to scrollsy & nicer column headers
More specifically:
Add a flavor of mUsed for `scrollsy` - total-complement to mAvl: `mUAv`
Right align headers for right aligned fields
Rename NI -> NICE; F -> FLAGS; Abbreviation unhelpful
TTY -> TT & 2-column format to save a terminal column in the common case.
Add %b parts per billion, Better exit statuses, Fix a few bugs
In more detail:
- Add new parts per billion CPU time usage as %b; Update configs/cb0/style.auser to use it.
- Give 2 new ways to test for existence of any matches:
- pf -e STUFF || start-it
- pf -ac STUFF >/dev/null || start-it
Fix:
- bug converting delay TimeSpec from seconds to jiffies
- Fix longstanding environ 'e' masks %cPU 'e' bug
Lift signal name number parser out to a cligen/puSig module
..where it should perhaps always have been.
Add PSS from /proc/PID/smaps, better <0 differences, Minor fix
Add proportional set size (PSS) reporting from Linux /proc/PID/smaps file.
Better bug fix for differential reports with differences < 0 (as happens a lot with PSS, actually, due to sharing dynamics). procs d -d1
really does seem nicer than top
to me..It's certainly more general.
Correct the nowNs
field width.
Add --blanks/-B and %N format for nanosecond real-time
Together this lets you do something like this to monitor a process:
burn-cpu & pd -pBHd1 -D'R<>J' -f "%N %R %< %> %J %a" $!
Or you could replace $!
with $(pf firefox)
, take out the -p to leave colors on, or etc., etc.
Bump to use more portable cligen/posixUt.findAssociated
This is more a hygiene bump since while procs
is Linux-only and Linux has always provided /proc/PID/exe , but procs.nim does call that updated API code.
Remove some unneeded copies in mm:arc/orc modes
Also some documentation work and a dep update.
One-command nimble install
The one command install like lc
is maybe the most visible thing.
Run a mini-install with mini= nimble install procs
to avoid that fanciness provided for more "just try it out" users.
Also in this release:
- working under mm:arc by working around a bug
- a minor new column in default config
- a somewhat faster
procs find