Age | Commit message (Collapse) | Author |
|
Look for NOBODY in ARGS_DEFS too, and use a last ditch default if we can't
find it anywhere.
|
|
|
|
Don't use strlen on it if *HOST is 0.
|
|
Implement --bottom/--tail/-b.
(options):
Update doc for --top.
Add --head and --bottom/--tail/-b options.
|
|
|
|
Use last N processes if TOP is negative.
|
|
* psout.c (psout): Delete var REMOVE.
|
|
|
|
Use utmp.h functions for reading utmp.
(read_utmp_procs):
Function removed.
|
|
|
|
|
|
Remove header for run-time supplied fields.
(main):
And add it back here as a child header.
Replace PARENTS with CHILDREN, which uses the new argp_child structure.
|
|
|
|
Add --top/-h option.
|
|
Supply new TOP arg to psout.
|
|
Add TOP parameter.
|
|
|
|
|
|
|
|
|
|
New declarations.
(DEFAULT_FMT_STRING):
Add %pid.
(_w_specs):
Use ps_cmp_unames for `Name'.
Use ps_nominal_string for `Name' and `From'.
|
|
|
|
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.
|
|
|
|
Change --runs/-r to --block-list/-l.
(main):
Use STORE_INACTIVE flag to store_create.
(print_store):
Correctly print unknown flags.
Don't ever print STORE_INACTIVE flag.
Print runs in grub block-list format.
|
|
|
|
New function.
(name_to_option):
Correct test for malloc failure.
(main):
Calculate verbose output widths differently.
(main: FWIDTH):
New macro.
(fields):
Rename `cache *' fields to `memobj *', and reword doc strings.
Add `max' field.
(get_memobj_hit_ratio):
Renamed from get_cache_hit_ratio.
(VAL_MAX_MEM, VAL_MAX_SWAP, K, M, G): New macros.
|
|
|
|
Remove desc field, add doc field.
(fields):
Initialize doc field, and not desc.
(name_to_option):
New function.
(main):
Rearrange use of name, doc, and desc fields in struct field.
|
|
|
|
|
|
Renamed from W_KIND; all uses changed.
(doc):
Updated.
(options, main):
Change --kind/-k to --type/-t.
Add --flags/-f option.
(print_store):
Print flags separately from type.
(W_FLAGS):
New macro.
|
|
|
|
Rule removed.
|
|
|
|
Only declare reference to crypt weak if HAVE_CRYPT isn't defined.
|
|
|
|
|
|
Add copyright notice.
|
|
|
|
|
|
|
|
Add $(LIBCRYPT).
|
|
|
|
|
|
|
|
|
|
(main): Call argp_parse with just a doc string.
<argp.h>: New include.
|
|
|
|
(SRCS): Add vminfo.c.
(INSTALL-vminfo-ops): New variable.
|