diff options
author | Miles Bader <miles@gnu.org> | 1995-05-02 21:23:05 +0000 |
---|---|---|
committer | Miles Bader <miles@gnu.org> | 1995-05-02 21:23:05 +0000 |
commit | 105a41afd0d823d8878de8717ef523c2b3f60e39 (patch) | |
tree | 6508d88bd3b99a4e6c44f87118240472f86a5500 /utils/ps.c | |
parent | 237d05c06774fa1ea9d7ae47e6a148bdf91742bd (diff) |
Add the SC (suspend count) field to various output formats.
Diffstat (limited to 'utils/ps.c')
-rw-r--r-- | utils/ps.c | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -181,15 +181,15 @@ bool fmt_sortrev[] = char *fmts[] = { /* default */ - "~PID ~TH# ~TT=tty ~STAT=state ~TIME ~COMMAND=args", + "~PID ~TH# ~TT=tty ~SC=susp ~STAT=state ~TIME ~COMMAND=args", /* user (-u) */ - "~USER ~PID ~TH# ~%CPU ~%MEM ~SZ=vsize ~RSS=rsize ~TT=tty ~STAT=state ~COMMAND=args", + "~USER ~PID ~TH# ~%CPU ~%MEM ~SZ=vsize ~RSS=rsize ~TT=tty ~SC=susp ~STAT=state ~COMMAND=args", /* vmem (-v) */ "~PID ~TH# ~STAT=state ~SL=sleep ~PAGEIN=pgins ~FAULTS=pgflts ~COWFLT=cowflts ~ZFILLS ~SIZE=vsize ~RSS=rsize ~%CPU ~%MEM ~COMMAND=args", /* long (-l) */ - "~UID ~PID ~TH# ~PPID ~PRI ~NI=bpri ~TH=nth ~MSGIN ~MSGOUT ~SZ=vsize ~RSS=rsize ~STAT=state ~TT=tty ~TIME ~COMMAND=args", + "~UID ~PID ~TH# ~PPID ~PRI ~NI=bpri ~TH=nth ~MSGI=msgin ~MSGO=msgout ~SZ=vsize ~RSS=rsize ~SC=susp ~STAT=state ~TT=tty ~TIME ~COMMAND=args", /* jobc (-j) */ - "~USER ~PID ~TH# ~PPID ~PGRP ~SESS ~LCOLL ~STAT=state ~TT=tty ~TIME ~COMMAND=args", + "~USER ~PID ~TH# ~PPID ~PGRP ~SESS ~LCOLL ~SC=susp ~STAT=state ~TT=tty ~TIME ~COMMAND=args", /* full (-f) (from sysv) */ "~-USER ~PID ~PPID ~TTY ~TIME ~COMMAND=args", /* hurd */ |