Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 2001-02-25 Roland McGrath <roland@frob.com> | Roland McGrath | 2001-02-26 | 1 | -1/+2 |
| | | | | | * storecat.c: Include <stdlib.h> for decls. * w.c: Include <time.h> for decls. | ||||
* | 1999-09-19 Roland McGrath <roland@baalperazim.frob.com> | Roland McGrath | 1999-09-21 | 1 | -3/+17 |
| | | | | | * w.c (add_utmp_procs): Ignore entries whose ut_type is not LOGIN_PROCESS or USER_PROCESS, or whose ut_line is empty. | ||||
* | 1999-05-29 Roland McGrath <roland@baalperazim.frob.com> | Roland McGrath | 1999-05-29 | 1 | -10/+45 |
| | | | | | | * w.c (fetch_boot_time): New function. Use libps to get task_basic_info for PID 1 (init); its creation_time is "boot time". (uptime): Use it, instead of stat'ing /var/run/uptime. | ||||
* | Add braces to silence gcc warnings. | Roland McGrath | 1998-10-20 | 1 | -22/+24 |
| | |||||
* | 1998-07-20 Roland McGrath <roland@baalperazim.frob.com> | Roland McGrath | 1998-07-20 | 1 | -5/+5 |
| | | | | | | | | | | | | * 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. * w.c (main): Avoid warning from `while (a = b)'. | ||||
* | (main): | Miles Bader | 1997-09-29 | 1 | -1/+0 |
| | | | | Remove DEFAULT_OUTPUT variable. | ||||
* | (main): | Miles Bader | 1997-03-02 | 1 | -1/+31 |
| | | | | | | Support USER... args. (add_utmp_procs): Ignore unused utmp entries. | ||||
* | (argp_program_version): Make const. | Miles Bader | 1997-02-20 | 1 | -1/+1 |
| | |||||
* | (w_get_host): | Miles Bader | 1997-02-06 | 1 | -2/+2 |
| | | | | Don't use strlen on it if *HOST is 0. | ||||
* | (main): | Miles Bader | 1996-11-16 | 1 | -29/+8 |
| | | | | | | Use utmp.h functions for reading utmp. (read_utmp_procs): Function removed. | ||||
* | (main): | Miles Bader | 1996-10-17 | 1 | -1/+1 |
| | | | | Supply new TOP arg to psout. | ||||
* | (w_fetch): Use tty st_atime for idle time. | Miles Bader | 1996-10-09 | 1 | -1/+1 |
| | |||||
* | (ps_cmp_unames, ps_nominal_string): | Miles Bader | 1996-10-09 | 1 | -4/+5 |
| | | | | | | | | | New declarations. (DEFAULT_FMT_STRING): Add %pid. (_w_specs): Use ps_cmp_unames for `Name'. Use ps_nominal_string for `Name' and `From'. | ||||
* | (w_deps): | Miles Bader | 1996-10-08 | 1 | -15/+32 |
| | | | | | | | | | | | New function. (main): Initialize dependencies field of USER_HOOKS to w_deps. (_w_specs): Add PS_FMT_FIELD_COLON_MOD to Idle's flags. (w_fetch): Set HAVE bits even if the values are `nominal'. Correctly propagate PS->inapp bits. | ||||
* | *** empty log message *** | Thomas Bushnell | 1996-09-05 | 1 | -1/+2 |
| | |||||
* | (doc): Add program description. | Miles Bader | 1996-08-27 | 1 | -1/+1 |
| | |||||
* | (options, main): Change --fmt to --format/-F and --sort to --sort/-s. | Miles Bader | 1996-08-01 | 1 | -8/+4 |
| | | | | (OPT_FMT, OPT_SORT): Macros removed. | ||||
* | (main): Correctly parse the -w/--width option. | Miles Bader | 1996-07-29 | 1 | -0/+1 |
| | |||||
* | (argp_program_version): New variable. | Miles Bader | 1996-07-06 | 1 | -0/+2 |
| | |||||
* | (_w_specs): | Miles Bader | 1996-07-01 | 1 | -4/+4 |
| | | | | Don't use utmp buffer sizes for field widths, as they can be very large. | ||||
* | (parse_opt): Use ARGP_ERR_UNKNOWN instead of EINVAL. | Miles Bader | 1996-05-11 | 1 | -1/+2 |
| | |||||
* | (uptime): Cast arg to localtime appropriately. | Michael I. Bushnell | 1996-05-09 | 1 | -1/+2 |
| | |||||
* | (w_get_uname): Renamed from w_get_user. | Miles Bader | 1996-05-07 | 1 | -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. | ||||
* | (_w_specs): Use ps_emit_past_time to show login times. | Miles Bader | 1996-05-01 | 1 | -2/+2 |
| | |||||
* | (uptime): Correctly calculate uptime. | Miles Bader | 1996-03-29 | 1 | -19/+19 |
| | | | | (...various...): Use real types instead of old ps typedefs. | ||||
* | (uptime): Add a temporary hack to pretend to show uptime. | Miles Bader | 1996-03-23 | 1 | -5/+10 |
| | |||||
* | (main): Pass new arg to argp_parse. | Miles Bader | 1996-03-19 | 1 | -1/+1 |
| | |||||
* | (uptime): Use %.2f format for load average numbers. | Roland McGrath | 1996-02-21 | 1 | -8/+8 |
| | |||||
* | Initial revision | Miles Bader | 1996-02-18 | 1 | -0/+420 |