NAME
recs-fromps
recs-fromps --help-all
Usage: recs-fromps <args>
Prints out JSON records converted from the process table.
Default fields:
uid, gid, pid, fname, ppid, pgrp, sess, ttynum, flags, minflt, cminflt, majflt, cmajflt, utime, stime, cutime, cstime, priority, start, size, rss, wchan, time, ctime, state, euid, suid, fuid, egid, sgid, fgid, pctcpu, pctmem,
cmndline, exec, cwd
Examples:
Get records for the process table
recs-fromps
Only get uid and pid
recs-fromps --keys uid,pid
See Also
- RecordStream(3) - Overview of the scripts and the system
- recs-examples(3) - A set of simple recs examples
- recs-story(3) - A humorous introduction to RecordStream
- SCRIPT --help - every script has a --help option, like the output above