summaryrefslogtreecommitdiffstats
path: root/bin/ps/ps.c
diff options
context:
space:
mode:
authorjmallett <jmallett@FreeBSD.org>2002-06-05 17:31:44 +0000
committerjmallett <jmallett@FreeBSD.org>2002-06-05 17:31:44 +0000
commit9b75b965302ebd159cb3e8bd47650520e3dbbd10 (patch)
tree70b48d1e39e6b22a4f87fe866ec58b1d2503bba2 /bin/ps/ps.c
parent928b97006aaf5ca38453255cbc88eb717233750c (diff)
downloadFreeBSD-src-9b75b965302ebd159cb3e8bd47650520e3dbbd10.zip
FreeBSD-src-9b75b965302ebd159cb3e8bd47650520e3dbbd10.tar.gz
Comma seperate format lists, since space is no longer up to the task.
Poked by: David Wolfskill <david@catwhisker.org> Pointy hat to: jmallett
Diffstat (limited to 'bin/ps/ps.c')
-rw-r--r--bin/ps/ps.c12
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;
OpenPOWER on IntegriCloud