aboutsummaryrefslogtreecommitdiff
path: root/toys/posix
diff options
context:
space:
mode:
authorRob Landley <rob@landley.net>2018-11-30 17:15:59 -0600
committerRob Landley <rob@landley.net>2018-11-30 17:15:59 -0600
commit7e0a4bfc423acd4368bba32ebba94397cc5750df (patch)
treea3564cc8becf0f12657bfbee65d296cd11fb6d4a /toys/posix
parent360a2bfd5de1bc7fbdb69347f2b105fc231e63ef (diff)
downloadtoybox-7e0a4bfc423acd4368bba32ebba94397cc5750df.tar.gz
Tweak comments.
Diffstat (limited to 'toys/posix')
-rw-r--r--toys/posix/ps.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/toys/posix/ps.c b/toys/posix/ps.c
index b0cf78b0..731998d9 100644
--- a/toys/posix/ps.c
+++ b/toys/posix/ps.c
@@ -259,8 +259,9 @@ enum {
SLOT_policy, /*man sched_setscheduler*/SLOT_blkioticks,// IO wait time
SLOT_gtime, /*guest jiffies of task*/ SLOT_cgtime, // gtime+child
SLOT_startbss, /*data/bss address*/ SLOT_endbss, // end addr data+bss
+// end of /proc/$PID/stat fields
SLOT_upticks, /*uptime-starttime*/ SLOT_argv0len, // argv[0] length
- SLOT_uptime, /*si.uptime @read time*/ SLOT_totalram, // si.totalram @read time
+ SLOT_uptime, /*sysinfo.uptime*/ SLOT_totalram, // sysinfo.totalram
SLOT_vsz, /*Virtual mem Size*/ SLOT_shr, // Shared memory
SLOT_pcy, /*Android sched pol*/ SLOT_rchar, // All bytes read
SLOT_wchar, /*All bytes written*/ SLOT_rbytes, // Disk bytes read