summaryrefslogtreecommitdiff
path: root/utils/ps.c
AgeCommit message (Collapse)Author
1999-06-201999-06-20 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath
* ps.c (options): Doc fix.
1999-05-291999-05-29 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath
* ps.c (output_fmts): Add %start and %time specs before %command in "user" (ps -u) format.
1998-07-201998-07-20 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath
* ps.c (main): Fix return type to int, and use return. * ids.c (main): Likewise. * w.c (main): Likewise. * login.c (main): Likewise. * settrans.c (main): Likewise. * showtrans.c (main): Likewise. * fsysopts.c (main): Likewise. * storeinfo.c (main): Likewise.
1997-05-27(main):Miles Bader
Correct filtering of process-owners when processes are explicitly specified. Don't use ARGS_DOC. (args_doc): Variable removed.
1997-05-26(current_lid, current_sid):Miles Bader
Functions removed. (main): Use PIDS_ARGP to select processes. Use new forms of parse_ functions. (lookup_user): Take new STATE argument. (options): Rearranged to group similar options. Process-selection options removed. "pids.h": New include.
1997-05-15(procset_names, fmt_sortkeys, fmt_names, fmts): Variables removed.Miles Bader
(enum procsets): Type removed. (struct output_fmt): New type. (output_fmt): New variable. (parse_enum): Function removed. (main): Use new version of parse_enum & output_fmts variable.
1997-05-15(_parse_strlist, parse_strlist, parse_numlist):Miles Bader
Functions removed. Include "parse.h".
1997-02-20(argp_program_version): Make const.Miles Bader
1996-12-17(main):Miles Bader
Implement --bottom/--tail/-b. (options): Update doc for --top. Add --head and --bottom/--tail/-b options.
1996-10-17(options, main):Miles Bader
Add --top/-h option.
1996-09-05*** empty log message ***Thomas Bushnell
1996-08-27(doc): Add program description.Miles Bader
1996-08-10(options): Whoops, short option for --sort is -s.Miles Bader
1996-08-01(options, main):Miles Bader
Change --fmt to --format/-F. Change --posix-fmt/-o to --posix-format/-o. Change --sort to --sort/-s. Change --pgrp to --pgrp/-G. Change --login to --login/-L. Change --threads/-s to --threads/-T. Change --session to --session/-S. (OPT_FMT, OPT_SORT, OPT_PGRP, OPT_LOGIN, OPT_SESS): Macros removed.
1996-07-06(argp_program_version): New variable.Miles Bader
1996-06-24(main): Fix heuristic to decide whether native booted.Miles Bader
1996-05-28(spec_abbrevs): Still use `NTH' for field name, just `TH' for title.Miles Bader
(fmts): Use %nth.
1996-05-28(fmts): Use %sz for vmem format, not %size.Miles Bader
1996-05-11(parse_opt): Use ARGP_ERR_UNKNOWN instead of EINVAL.Miles Bader
(_parse_strlist, parse_strlist, parse_numlist, lookup_user, main): Slather on consts, in a misguided attempt to shut up the compier.
1996-05-10(parse_strlist): Make DEFAULT_FN return a const char *.Miles Bader
1996-05-09(main) [current_tty_name]: Remove `const' keyword to avoid type clash.Michael I. Bushnell
1996-05-09(main) [proc_stat_has_ctty]: Add parentheses around assignment used asMichael I. Bushnell
truth value.
1996-05-07(fmts): Use new field syntax.Miles Bader
(options, main): Add -o/--posix-fmt option. -A is an alias. "psout.h": New include.
1996-04-23(main): Try to intuit whether this is a native-booted hurd system, and if so,Miles Bader
don't filtered out non-parented processes.
1996-03-29(spec_abbrevs): Make const.Miles Bader
(ps_specs): Make non-const. (...various...): Use real types instead of old ps typedefs.
1996-03-19(main): Pass new arg to argp_parse.Miles Bader
1996-03-05Include <error.h> instead of "error.h".Miles Bader
"common.h": Don't include this anymore.
1996-02-15(main): Don't make -a imply -g.Miles Bader
1996-02-15(main): Get rid of totally dead processes/threads.Miles Bader
(add_pid): Complain about non-existant processes. (parse_opt): Don't turn quoted args into options. (parse_numlist): Correctly handle NULL hook functions. (main): Update calls to changed proc_stat_list_add_* functions. (psout): New declaration.
1996-01-23(main): Move a bunch of stuff into psout() in psout.c.Miles Bader
(spec_abbrevs, ps_specs): New variables. (fmts): Get rid of redundant header specifications. (fmt_sortrevs): Variable removed. (main, options): Rename -o flag to -U for posix compat (ick).
1995-12-21(main, options): If the specified sort field begins with `-', reverse the sort.Miles Bader
(main): If there is no current uid, don't try to filter with it. (FILTER_NOT_LEADER): Renamed from FILTER_NSESSLDR. (main): Rename ps_not_leader_filter from ps_not_sess_leader_filter. (main): Use idvec routines instead of ids. Use argz functions to store tty_names instead of our own. (make_ids, ids_add, ids_contains): Routines deleted. Include <idvec.h>.
1995-12-17(options): Reformat doc string for --tty option.Miles Bader
1995-12-17(main): Implement 'w' option.Miles Bader
(options): Add argument and doc for 'w' option.
1995-12-06(main):Miles Bader
Change uses of the INDEX field in argp_state structures to use NEXT instead.
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