diff options
author | Eric Wong <normalperson@yhbt.net> | 2010-04-05 23:14:16 -0700 |
---|---|---|
committer | Eric Wong <normalperson@yhbt.net> | 2010-04-05 23:17:47 -0700 |
commit | 2b5903dea28b6f8181e69429d45b80433dc72522 (patch) | |
tree | cf97d320f0562040d605b62de251ab720112bea9 /pcu-mincore.1.txt | |
parent | d791dcdbc49667257af79ca9329ba83d1b934b88 (diff) | |
download | pcu-2b5903dea28b6f8181e69429d45b80433dc72522.tar.gz |
mincore: add '-s' summary option
This displays the percentage of the file mmap'ed.
Diffstat (limited to 'pcu-mincore.1.txt')
-rw-r--r-- | pcu-mincore.1.txt | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/pcu-mincore.1.txt b/pcu-mincore.1.txt index a3a8300..e0d9075 100644 --- a/pcu-mincore.1.txt +++ b/pcu-mincore.1.txt @@ -6,7 +6,7 @@ pcu-mincore - shows cache status for given files # SYNOPSIS -pcu-mincore [-o OFFSET] [-l LENGTH] FILE... +pcu-mincore [-o OFFSET] [-l LENGTH] [-s] FILE... # DESCRIPTION A command-line interface to the mincore(2) syscall to inspect @@ -24,7 +24,14 @@ resident memory. This length is rounded up next page offset. The default is to scan the entire file. +-s +: Display the summary output as a floating point number between + 0.0 and 1.0 representing the percentage of the file in core. + # OUTPUT +The following output is displayed unless "-s" summary format +is chosen. + One line for every page scanned in the following format: \<filename\>: \<offset\> \<incore\> |