summaryrefslogtreecommitdiff
path: root/utils/ps.c
AgeCommit message (Collapse)Author
1995-11-21(main): Use new libps stream type.Miles Bader
1995-11-14(main): Grow TTY_NAMES properly even when it's empty.Miles Bader
1995-11-08(ids_add): Increase the size of IDS even when 0.Miles Bader
1995-11-02(options): Add --not-owner/-O option.Miles Bader
(id_t, struct ids): New type. (make_ids, ids_add, ids_contains): New functions. (main): Use a struct ids instead of multiple variables to hold the wanted uids list, which renamed to ONLY_UIDS. Add the NOT_UIDS list to contain the opposite sense, and use it. (main): Use proc_stat_proc_info instead of proc_stat_info and PSTAT_PROC_INFO instead of PSTAT_INFO.
1995-11-02(fmts): Add RPC field to the -l format.Miles Bader
1995-10-30(options): --all is -e, not -a.Miles Bader
1995-10-21(parse_enum): Use argp_error.Miles Bader
1995-10-18(parse_enum): Use ARGP_HELP_STD_ERR.Miles Bader
1995-10-11(main): Use realloc on a variable in main instead of alloca, since theMiles Bader
storage gets used after parse_opt returns. (options): Converted to argp format. (main): Use argp, not getopt. (usage, USAGE, SHORT_OPTIONS): Deleted. (arg_doc, doc): New variables. Include <argp.h> not <getopt.h>.
1995-07-07(lookup_user): Declare return to be `int' to avoid type clash in useMichael I. Bushnell
as 4th parameter to parse_numlist.
1995-05-03Add the -n (--nominal-fields) flag, which prevents elision of uninterestingMiles Bader
fields. Also add elision of uninteresting fields... Add the (ignored) -w flag for BSD compat. Use the new name for ps_fmt_squash: ps_fmt_squash_flags.
1995-05-02Add the SC (suspend count) field to various output formats.Miles Bader
1995-04-11Tweak things so that the -t flag works correctly for processes whose tty weMiles Bader
can't figure out.
1995-04-07(parse_enum): Renamed from enum_name.Miles Bader
(main, usage): Add lots of sysvish options, and generalize some existing ones to deal with sysvish usage. Make -t & -o work.
1995-04-06Add the `jobc' (-j) output format from netbsd.Miles Bader
1995-04-06Minor change in spec names.Miles Bader
1995-04-06When processes are specified on the command line by PID, turn off allMiles Bader
filtering so that they don't disappear later.
1995-04-05Make -a imply -g as well, to be compatible with bsd.Miles Bader
Add the -M (--no-msg-port) switch, which disables all fields that would use any process's message port.
1995-04-04(main): Treat argument without leading - as if it had one, unless it's aRoland McGrath
number.
1995-03-21(program_name): New variable.Michael I. Bushnell
(main): Don't set program_invocation_short_name (the library does it for us). Do set program_name.
1995-03-21Include <hurd/ps.h> instead of "ps.h".Michael I. Bushnell
Include <unistd.h>. (enum_name): Avoid warning.
1995-03-21Include <hurd/ps.h> instead of "ps.h".Michael I. Bushnell
1995-03-14Use ps_contexts now that they exist.Miles Bader
1995-03-13Initial revisionMiles Bader