Skip to content

Commit

Permalink
Added --stats command-line parameter documentation.
Browse files Browse the repository at this point in the history
Closes #21. Closes #22.
  • Loading branch information
xvitaly committed Apr 16, 2020
1 parent 6fd0af6 commit e765852
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions docs/using-application.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ sudo systemctl stop zswap-cli.service
Supported command-line arguments:

* `--cli` - get options from [environment variables](environment-options.md);
* `--stats` - get statistics of ZSwap usage and current settings;
* `-e` or `--enabled` - enable (`Y`) or disable (`N`) ZSwap kernel module;
* `-s` or `--same_filled_pages_enabled` - enable (`Y`) or disable (`N`) memory pages deduplication;
* `-p` or `--max_pool_percent` - the maximum percentage of memory that the compressed pool can occupy (integer from `1` to `100`);
Expand Down
3 changes: 3 additions & 0 deletions packaging/assets/manpage.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,9 @@ ZSwap-cli is a simple command-line tool to control ZSwap Linux kernel module.
#### \-\-env
Get options from environment variables instead of cmdline.

#### \-\-stats
Get statistics of ZSwap usage and current settings.

#### -e, \-\-enabled
Enable or disable ZSwap kernel module.

Expand Down

0 comments on commit e765852

Please sign in to comment.