Changeset 91
- Timestamp:
- 07/03/05 04:53:11 (4 years ago)
- Files:
-
- doc/swapspace.8 (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
doc/swapspace.8
r72 r91 1 1 .\" swapspace manpage 2 .TH SWAPSPACE 8 " May 2005" "swapspace 1.0" "Linux System Administration"2 .TH SWAPSPACE 8 "July 2005" "swapspace 1.5" "Linux System Administration" 3 3 .SH NAME 4 4 swapspace \- dynamically manage swap space … … 22 22 behaviour in the face of varying memory requirements. 23 23 .TP 24 \fB\-B\fR \fIp\fR, \fB\-\-buffer_meekness\fR=\fIp\fR 25 Consider \fIp\fR% of system-allocated I/O buffers to be available for other use. 26 .TP 24 27 \fB\-c\fR \fIfile\fR, \fB\-\-configfile\fR=\fIfile\fR 25 28 Read \fIfile\fR instead of the default configuration file. 29 .TP 30 \fB\-C\fR \fIp\fR, \fB\-\-cache_meekness\fR=\fIp\fR 31 Consider \fIp\fR% of filesystem cache to be available for other use. 26 32 .TP 27 33 \fB\-d\fR, \fB\-\-daemon\fR … … 57 63 Create swapfiles in directory \fIdir\fR instead of default location 58 64 \fI/var/lib/swapspace\fR. This location must be accessible to \fIroot\fR only; 59 allowing anyone else to write or even read swapped data would be a \fUserious60 security breach\fR.65 allowing anyone else to write to this directory or even read swapped data would 66 be a \fUserious security breach\fR. 61 67 .TP 62 68 \fB\-u\fR \fIp\fR, \fB\-\-upper_freelimit\fR=\fIp\fR 63 69 Avoid having more than \fIp\fR% of combined memory and swap space free; if this 64 70 percentage is exceeded, try to deallocate swap space. 71 .TP 72 \fB\-v\fR, \fB\-\-verbose\fR 73 Log debug information to system log and/or standard output, as appropriate. 74 .TP 75 \fB\-V\fR, \fB\-\-version\fR 76 Print program version information and exit. 65 77 .PP 66 Where sizes are given in bytes, numbers may be suffixed with \fIk\fR, \fIm\fR, 67 \fIg\fR or \fIt\fR to indicate kilobytes, megabytes, gigabytes or terabytes 68 respectively: \fI1k\fR means 1024 bytes, \fI1m\fR means 1024 kilobytes, \fI4g\fR 69 means 4096 megabytes and so on. 78 Numbers may be suffixed with \fIk\fR, \fIm\fR, \fIg\fR or \fIt\fR to indicate 79 kilobytes, megabytes, gigabytes or terabytes respectively: \fI1k\fR means 1024 80 bytes, \fI1m\fR means 1024 kilobytes, \fI4g\fR means 4096 megabytes and so on. 70 81 .PP 71 82 Timings are measured in \fIiterations\fR, which should typically last about one 72 83 second each. No pretense of accurate timing is made; this is not the kind of 73 84 program you would run on a hard-realtime system. 85 .PP 86 Any messages are sent to the system daemon log; it is also printed to the 87 standard output/error streams (as appropriate based on the urgency of each 88 individual message) if available. Additional state information can be evoked by 89 sending the program the \fBSIGUSR1\fR signal (user-defined signal 1). See 90 .BR signal (7) 91 for the appropriate number on your system. 74 92 .SH FILES 75 \& /etc/swapspace.conf Configuration file 93 \& /etc/init.d/swapspace 94 \& /etc/swapspace.conf 95 \& /usr/sbin/swapspace 96 \& /var/lib/swapspace/ 76 97 .SH AUTHOR 77 98 Written by Jeroen Vermeulen for Software Industry Promotion Agency of Thailand. … … 85 106 .SH "SEE ALSO" 86 107 .BR mkswap (8), 108 .BR signal (7), 87 109 .BR swapon (2), 88 110 .BR swapoff (2),
