aboutsummaryrefslogtreecommitdiff
path: root/libps/spec.c
Commit message (Collapse)AuthorAgeFilesLines
* (ps_std_fmt_specs): Add values for the new nominal_fn field.Miles Bader1995-05-031-33/+106
| | | | | (ps_nominal_zint, ps_nominal_user, ps_nominal_pri, ps_nominal_nth): Possible nominal funs.
* Add the Susp (task/thread suspend count), PSusp (task suspend count), andMiles Bader1995-05-021-0/+27
| | | | TSusp (thread suspend count) output specs.
* (ps_emit_state): If a process is marked as stopped, then don't mentionMiles Bader1995-04-071-46/+17
| | | | | | sleeping or idle threads' status (as that's presumably the signal thread). (ps_emit_tty_name): Move guts into into ps_tty_short_name. Tighten up types used (i.e., don't use int for everything).
* Add the `Arg0' spec, which is the same as `Args', but only prints the firstMiles Bader1995-04-061-2/+3
| | | | one. Change MsgsIn and MsgsOut to MsgIn and MsgOut.
* Include <string.h>.Michael I. Bushnell1995-03-211-3/+4
| | | | | (ps_emit_num_blocks): Use int format for int arg. (sprint_frac_value): Likewise.
* Don't include pshost.h.Michael I. Bushnell1995-03-211-1/+0
|
* Add the output function ps_emit_priority that prints priorities in unix-Miles Bader1995-03-151-3/+12
| | | | | | compatible way (that is, 20 .. -20 instead of 0 .. 24). Use this instead of ps_emit_int to print all priority fields. This also increases the min field width for them to 3.
* Use ps_tty_t routines instead of the ps tty_name field.Miles Bader1995-03-141-57/+70
| | | | | | Use ps_user_t routines instead of querying passwd or getting the owner from ps->info. Increase the width of the user name field to 8.
* Initial revisionMiles Bader1995-03-131-0/+756