Usage
systunedump [-c,--config
configfile]
[-h,
--help]
[-p,
--path
dumppath]
[-v,
--verbose]
Overview
This program dumps elements of the /proc filesystem to standard output in a format which, if redirected to a file, can be used by the systune(8) utility.
Common usage:
systunedump > /etc/systune.conf
systunedump --config /etc/systune.kernel20.dump > /etc/systune.kernel20.conf
systunedump --config /dev/null --path /proc/sys/vm > /etc/systune.conf
Options
-
-c, --config configfile
-
Specify an alternative configuration file. The default is /etc/systune.dump
-
-h, --help
-
Print a short explanation of the command syntax.
-
-p, --path dumppath
-
Add the specified path to any items already listed in the configuration file. Items in the path must be separated by whitespace. All items in the path must begin /proc/sys/.
-
-v, --verbose
-
Verbose mode: allow non-existent items in the path and configuration file to produce errors to standard error. Without this option, erroneous paths are discarded silently.
Files
-
/etc/systune.dump
-
A file containing a list of paths to dump. Each pathname must begin with /proc/sys/. Comments, introduced by #, can be included; the whole line from the comment character onwards is discarded, together with any whitespace immediately preceding it.
The configuration file can be a file, such as /etc/systune.conf, that contains previously dumped data; the definition part of each line, after and including the colon, is discarded.
Thanks
Daniel Podlejski, Oliver Elphick.
Releases
Unchanged in 13 releases since Debian 2.2 (Potato).
-
2.2–13