diff options
author | gad <gad@FreeBSD.org> | 2004-03-29 00:16:19 +0000 |
---|---|---|
committer | gad <gad@FreeBSD.org> | 2004-03-29 00:16:19 +0000 |
commit | 1455cfb15491fdd734d270a5b5623e37794607bf (patch) | |
tree | ae777bd3b220081fa69457d6c006560ac3647bfd /bin/ps | |
parent | f18215deb8e43f2cf968ac0e21a4de36ae77e295 (diff) | |
download | FreeBSD-src-1455cfb15491fdd734d270a5b5623e37794607bf.zip FreeBSD-src-1455cfb15491fdd734d270a5b5623e37794607bf.tar.gz |
Split two 'fmt' strings so they're easier to read on 80-char windows.
Diffstat (limited to 'bin/ps')
-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 5b68347..7806db4 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" |