diff options
Diffstat (limited to 'bin/ps/ps.c')
-rw-r--r-- | bin/ps/ps.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/bin/ps/ps.c b/bin/ps/ps.c index be31a92..c6da58e 100644 --- a/bin/ps/ps.c +++ b/bin/ps/ps.c @@ -101,13 +101,13 @@ static void sizevars(void); static void usage(void); static uid_t *getuids(const char *, int *); -static char dfmt[] = "pid tt state time command"; -static char jfmt[] = "user pid ppid pgid jobc state tt time command"; -static char lfmt[] = "uid pid ppid cpu pri nice vsz rss mwchan state tt time command"; +static char dfmt[] = "pid,tt,state,time,command"; +static char jfmt[] = "user,pid,ppid,pgid,jobc,state,tt,time,command"; +static char lfmt[] = "uid,pid,ppid,cpu,pri,nice,vsz,rss,mwchan,state,tt,time,command"; static char o1[] = "pid"; -static char o2[] = "tt state time command"; -static char ufmt[] = "user pid %cpu %mem vsz rss tt state start time command"; -static char vfmt[] = "pid state time sl re pagein vsz rss lim tsiz %cpu %mem command"; +static char o2[] = "tt,state,time,command"; +static char ufmt[] = "user,pid,%cpu,%mem,vsz,rss,tt,state,start,time,command"; +static char vfmt[] = "pid,state,time,sl,re,pagein,vsz,rss,lim,tsiz,%cpu,%mem,command"; static char Zfmt[] = "lvl"; static kvm_t *kd; |