Comma seperate format lists, since space is no longer up to the task.
Poked by: David Wolfskill <david@catwhisker.org> Pointy hat to: jmallett
This commit is contained in:
parent
3389489f95
commit
c0716492d4
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=97875
12
bin/ps/ps.c
12
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;
|
||||
|
Loading…
Reference in New Issue
Block a user