Age | Commit message (Collapse) | Author |
|
|
|
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.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
(OPT_FMT, OPT_SORT): Macros removed.
|
|
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.
|
|
|
|
(options):
Change --inherit-environ to --preserve-environment.
Change --no-environ to --no-environment-args.
Change --environ to --envvar and --environ-default to --envvar-default.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Add `PAGESZ'.
`SIZES' -> `SIZE'; all uses updated.
Remove BYTES, PAGES, and KBYTES.
(main):
Variable user_disp_type removed. Variable size_units added.
Add SIZE_UNITS macro, remove FDISPTYPE macro.
Calls to print_val now use new PVAL macro.
(get_vmstats_field):
Just test against a type of SIZE, instead of using val_display_type_is_size.
(fields): disp_type of "pagesize" and "swap-pagesize" changed to PAGESZ.
(val_display_type_is_size): Function removed.
(struct field): `disp_type' field -> `type'; all used updated.
(print_val): Add TYPE & SIZE_UNITS arguments; remove HOW & PSIZE.
|
|
|
|
|
|
|
|
(fields):
New struct members initialized.
`size', `cache-hit-ratio', `swap-size', `swap-active', `swap-free', and
`swap-pagesize' added.
(val_t, enum val_display_type, enum field_change_type): New types.
(val_display_type_is_size, print_val, vm_state_refresh,
vm_state_get_field, get_vmstats_field, get_size, ensure_def_pager_info,
get_swap_size, get_swap_free, get_swap_page_size, get_swap_active):
New functions.
(struct field):
CHANGE_TYPE, DISP_TYPE, STANDARD, and COMPUTE fields added.
CUM field removed.
(struct vm_state): New type.
(main):
Changed greatly to use vm_state type & functions, use print_val, and
support CONST display types nicely.
(argp_program_version): Version changed to 1.1.
|
|
|
|
(options): Minor fixes.
|
|
|