diff options
author | Garance A Drosehn <gad@FreeBSD.org> | 2004-03-29 00:16:19 +0000 |
---|---|---|
committer | Garance A Drosehn <gad@FreeBSD.org> | 2004-03-29 00:16:19 +0000 |
commit | 1d2324f44284eb9af1027c789216dc4cf0534c63 (patch) | |
tree | ae777bd3b220081fa69457d6c006560ac3647bfd /bin | |
parent | de800cd4f8f9d7f865238868e763333343b553af (diff) | |
download | src-1d2324f44284eb9af1027c789216dc4cf0534c63.tar.gz src-1d2324f44284eb9af1027c789216dc4cf0534c63.zip |
Split two 'fmt' strings so they're easier to read on 80-char windows.
Notes
Notes:
svn path=/head/; revision=127538
Diffstat (limited to 'bin')
-rw-r--r-- | bin/ps/ps.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/bin/ps/ps.c b/bin/ps/ps.c index 5b68347c075a..7806db41346b 100644 --- a/bin/ps/ps.c +++ b/bin/ps/ps.c @@ -146,11 +146,13 @@ static void usage(void); 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 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 vfmt[] = "pid,state,time,sl,re,pagein,vsz,rss,lim,tsiz," + "%cpu,%mem,command"; static char Zfmt[] = "label"; #define PS_ARGS "AaCc" OPT_LAZY_f "G:gHhjLlM:mN:O:o:p:rSTt:U:uvwXxZ" |