aboutsummaryrefslogtreecommitdiff
path: root/utils
Commit message (Collapse)AuthorAgeFilesLines
* (uptime): Cast arg to localtime appropriately.Michael I. Bushnell1996-05-091-1/+2
|
* (add_utmp_entry): Declare HOST `char const *'.Michael I. Bushnell1996-05-091-9/+12
| | | | | | | | | | (main) [fail]: Declare VIA `char const *'. (main): Declare USER `char const *'. Declare ARG `char const *'. (main): Provide new third arg to proc_setowner. (main) [parse_opt] [case ARGP_KEY_ARG]: Cast first arg of argz_create appropriately. (main): Likewise.
* (main) [parse_opt]: Cast first arg of argz_create appropriately.Michael I. Bushnell1996-05-091-1/+2
|
* (main) [parse_opt]: Cast first arg to argz_create appropriately.Michael I. Bushnell1996-05-091-1/+2
|
* (main) [current_tty_name]: Remove `const' keyword to avoid type clash.Michael I. Bushnell1996-05-091-1/+1
|
* (main) [proc_stat_has_ctty]: Add parentheses around assignment used asMichael I. Bushnell1996-05-091-1/+1
| | | | truth value.
* (fmts): Use new field syntax.Miles Bader1996-05-071-33/+21
| | | | | (options, main): Add -o/--posix-fmt option. -A is an alias. "psout.h": New include.
* (psout):Miles Bader1996-05-071-6/+11
| | | | | | | | Add posix_fmt arg. Use ps_fmt_creation_error to find out in detail why ps_fmt_create fails. (nominal): Take a field, not a spec. Honor PS_FMT_FIELD_KEEP.
* (w_get_uname): Renamed from w_get_user.Miles Bader1996-05-071-14/+29
| | | | | | | | | | | | (w_uname_getter): Renamed from w_user_getter. (w_user_getter): New function. (w_get_user): New function. (w_fetch): Implement W_PSTAT_USER. (struct w_hook): Add user field. (_w_specs): Add "Name" entry. Add precision & flags fields. (DEFAULT_FMT_STRING): Use new field syntax. (main): Update call to psout. "psout.h": New include.
* (main): Default KILL_ACTIVE to 0.Miles Bader1996-05-011-1/+1
|
* (_w_specs): Use ps_emit_past_time to show login times.Miles Bader1996-05-011-2/+2
|
* But not the special ones.Michael I. Bushnell1996-04-301-1/+1
|
* (all): Remove target.Michael I. Bushnell1996-04-301-4/+4
| | | | | (include ../Makeconf): Place before all dependencies. ($(targets)): Each separate target should depend on its own .o.
* (main): Try to intuit whether this is a native-booted hurd system, and if so,Miles Bader1996-04-231-2/+12
| | | | don't filtered out non-parented processes.
* (targets): Add devprobe.Miles Bader1996-04-111-5/+6
| | | | (SRCS): Add devprobe.c.
* Initial revisionMiles Bader1996-04-111-0/+104
|
* (options, doc):Miles Bader1996-04-081-6/+26
| | | | | | Change meaning of --translate's argument, in preparation for other changes. (options, main): Add, but don't really implement, --search option.
* (psout): Use real types instead of old ps typedefs.Miles Bader1996-03-291-6/+7
|
* (options): Add --exclusive option, change descriptions.Miles Bader1996-03-291-15/+27
| | | | (main): Rearrange meanings of arguments somewhat.
* (spec_abbrevs): Make const.Miles Bader1996-03-291-24/+24
| | | | | (ps_specs): Make non-const. (...various...): Use real types instead of old ps typedefs.
* (uptime): Correctly calculate uptime.Miles Bader1996-03-291-19/+19
| | | | (...various...): Use real types instead of old ps typedefs.
* (main): Use new names for functions, and pass stdout.Miles Bader1996-03-291-365/+18
| | | | | | | (port_info, ports_info, xlated_port_info, xlated_ports_info, name_xlator_create, name_xlator_free, name_xlator_xlate): Functions removed (renamed and put in libshouldbeinlibc). (parse_task): Use strtoul instead of atoi so pid 0 works.
* (uptime): Add a temporary hack to pretend to show uptime.Miles Bader1996-03-231-5/+10
|
* (main): Pass new arg to argp_parse.Miles Bader1996-03-231-1/+1
|
* (main): Pass new arg to argp_parse. Also use argp_usage correctly.Miles Bader1996-03-192-7/+11
|
* (main): Pass new arg to argp_parse.Miles Bader1996-03-197-9/+9
|
* Include <error.h> instead of "error.h".Miles Bader1996-03-051-3/+1
| | | | "common.h": Don't include this anymore.
* (options, main): Add --translate/-t option.Miles Bader1996-03-051-12/+276
| | | | | | | (struct name_xlator): New structure. (name_xlator_create, name_xlator_free, name_xlator_xlate): New functions. (xlated_port_info, xlated_ports_info): New functions. (main): Use xlated_port_info / xlated_ports_info.
* (targets, SRCS):Miles Bader1996-03-011-5/+6
| | | | | Add portinfo & portinfo.c. Remove clri & clri.c.
* Initial revisionMiles Bader1996-03-011-0/+265
|
* (main): Don't print a newline after `Pausing...' msg.Miles Bader1996-02-261-1/+1
|
* Initial revisionMiles Bader1996-02-261-0/+153
|
* (uptime): Use %.2f format for load average numbers.Roland McGrath1996-02-211-8/+8
|
* (main): Use ARGP_IN_ORDER.Miles Bader1996-02-191-2/+2
|
* (STRINGIFY): Make work. Is this in a header somewhere?Miles Bader1996-02-191-1/+2
| | | | (_STRINGIFY): New macro. Ick.
* (targets, special-targets): Add uptime.Miles Bader1996-02-181-5/+5
| | | | (SRCS): Add uptime.sh.
* Initial revisionMiles Bader1996-02-181-0/+2
|
* Initial revisionMiles Bader1996-02-181-0/+420
|
* (child_lookup): Pass last arg to hurd_file_name_path_lookup.Miles Bader1996-02-151-2/+2
|
* Change -aBACKUP_SHELL to -aBACKUP_SHELLS.Miles Bader1996-02-151-1/+1
|
* (main): Don't make -a imply -g.Miles Bader1996-02-151-1/+1
|
* (main): Get rid of totally dead processes/threads.Miles Bader1996-02-151-21/+45
| | | | | | | | (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.
* (main): Deal with the shell args reasonably.Miles Bader1996-02-151-5/+5
|
* Exec login.Miles Bader1996-02-131-1/+1
|
* (options, main): Add --timeout/-t option.Miles Bader1996-02-131-8/+24
| | | | | (main): Pass ARGP_IN_ORDER to argp_parse (it's no longer the default), and deal with the fallout.
* (main, args_doc, doc): Add repeat mode.Miles Bader1996-02-051-52/+122
| | | | (FVAL): New macro.
* (main):Miles Bader1996-02-051-17/+17
| | | | | | | Slightly decrease the space for numbers in the verbose output format. Twiddle the widths of the terse fields to make sure there's room for typical numbers. (fields, options): Make const.
* Don't save the parent ids.Miles Bader1996-02-031-1/+1
|
* (main):Miles Bader1996-02-031-17/+22
| | | | | | | | Don't ask for a password unecessarily. When the user is specified as the first argument, always add it as both effective, real, and saved ids, even if there are others already. Only chown the tty if NO_LOGIN isn't set. Avoid duplicating the old real id when keeping the old ids.
* (targets): Add vmstat.Miles Bader1996-02-031-4/+4
| | | | (SRCS): Add vmstat.c