Skip to content

fincore command

Masatake YAMATO util-linux 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 7 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4fincore: new command for counting pages of file contents in coreconfigure.ac misc-utils/Makemodule.am misc-utils/fincore.c +1 more+453 -00 replies
2/4man: add a page for fincore commandmisc-utils/Makemodule.am misc-utils/fincore.1+77 -00 replies
3/4tests: add cases for testing fincore commandtests/commands.sh tests/expected/fincore/count tests/ts/fincore/count+257 -00 replies
4/4bash-completion: add a function for fincore commandbash-completion/Makemodule.am bash-completion/fincore+28 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/4] fincore command

This patch set proposes adding fincore command to util-linux distribution. The command counts pages of file contents being resident in memory(in core), and reports the numbers.

It helps system administrators understand how their systems use physical memory, especially about page caches when they have to do trouble shooting and/or performance tuning.

This is just my case. A person in other role may also get benefits from this command.

Masatake YAMATO (4):
fincore: new command for counting pages of file contents in core
man: add a page for fincore command
tests: add cases for testing fincore command
bash-completion: add a function for fincore command

 bash-completion/Makemodule.am |   3 +
 bash-completion/fincore       |  25 +++++
 configure.ac                  |   4 +
 misc-utils/Makemodule.am      |   6 ++
 misc-utils/fincore.1          |  76 ++++++++++++++
 misc-utils/fincore.c          | 209 +++++++++++++++++++++++++++++++++++++
 misc-utils/fincore_orig.c     | 235 ++++++++++++++++++++++++++++++++++++++++++
 tests/commands.sh             |   1 +
 tests/expected/fincore/count  |  62 +++++++++++
 tests/ts/fincore/count        | 194 ++++++++++++++++++++++++++++++++++
 10 files changed, 815 insertions(+)
 create mode 100644 bash-completion/fincore
 create mode 100644 misc-utils/fincore.1
 create mode 100644 misc-utils/fincore.c
 create mode 100644 misc-utils/fincore_orig.c
 create mode 100644 tests/expected/fincore/count
 create mode 100755 tests/ts/fincore/count
Signature · 1 line
2.9.3