From: Jim Warner Date: Wed, 20 Apr 2022 05:00:00 +0000 (-0500) Subject: library: fix some 'origin' header comments, api X-Git-Tag: v4.0.1rc1~117 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=c130f45ec7bd79e515cfa3a9538dbc9475514eff;p=procps-ng library: fix some 'origin' header comments, api Signed-off-by: Jim Warner --- diff --git a/proc/pids.h b/proc/pids.h index 91f27a0b..8628b590 100644 --- a/proc/pids.h +++ b/proc/pids.h @@ -42,7 +42,7 @@ enum pids_item { PIDS_CGNAME, // str derived from CGROUP ':name=' PIDS_CGROUP, // str cgroup PIDS_CGROUP_V, // strv cgroup, as *str[] - PIDS_CMD, // str stat: tcomm or status: Name + PIDS_CMD, // str stat: comm or status: Name PIDS_CMDLINE, // str cmdline PIDS_CMDLINE_V, // strv cmdline, as *str[] PIDS_ENVIRON, // str environ @@ -164,7 +164,7 @@ enum pids_item { PIDS_TICS_USER_C, // ull_int derived from stat: utime + cutime PIDS_TIME_ALL, // real * derived from stat: (utime + stime) / hertz PIDS_TIME_ALL_C, // real * derived from stat: (utime + stime + cutime + cstime) / hertz - PIDS_TIME_ELAPSED, // real * derived from /proc/uptime - (starttime / hertz) + PIDS_TIME_ELAPSED, // real * derived from stat: (/proc/uptime - start_time) / hertz PIDS_TIME_START, // real * derived from stat: start_time / hertz PIDS_TTY, // s_int stat: tty_nr PIDS_TTY_NAME, // str derived from TTY