diff options
author | Juli Mallett <jmallett@FreeBSD.org> | 2002-06-05 17:31:44 +0000 |
---|---|---|
committer | Juli Mallett <jmallett@FreeBSD.org> | 2002-06-05 17:31:44 +0000 |
commit | c0716492d44e20d8b5db4116620bc4a8f4c6b8b0 (patch) | |
tree | 70b48d1e39e6b22a4f87fe866ec58b1d2503bba2 /bin/ps/ps.c | |
parent | 3389489f95592f9b77aa1696fb55159bbe3ff1b1 (diff) | |
download | src-c0716492d44e20d8b5db4116620bc4a8f4c6b8b0.tar.gz src-c0716492d44e20d8b5db4116620bc4a8f4c6b8b0.zip |
Comma seperate format lists, since space is no longer up to the task.
Poked by: David Wolfskill <david@catwhisker.org>
Pointy hat to: jmallett
Notes
Notes:
svn path=/head/; revision=97875
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 be31a9202ff5..c6da58eac4b0 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; |