Changeset 91

Show
Ignore:
Timestamp:
07/03/05 04:53:11 (4 years ago)
Author:
jtv
Message:

Documented some missing options

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • doc/swapspace.8

    r72 r91  
    11.\" 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" 
    33.SH NAME 
    44swapspace \- dynamically manage swap space 
     
    2222behaviour in the face of varying memory requirements. 
    2323.TP 
     24\fB\-B\fR \fIp\fR, \fB\-\-buffer_meekness\fR=\fIp\fR 
     25Consider \fIp\fR% of system-allocated I/O buffers to be available for other use. 
     26.TP 
    2427\fB\-c\fR \fIfile\fR, \fB\-\-configfile\fR=\fIfile\fR 
    2528Read \fIfile\fR instead of the default configuration file. 
     29.TP 
     30\fB\-C\fR \fIp\fR, \fB\-\-cache_meekness\fR=\fIp\fR 
     31Consider \fIp\fR% of filesystem cache to be available for other use. 
    2632.TP 
    2733\fB\-d\fR, \fB\-\-daemon\fR 
     
    5763Create swapfiles in directory \fIdir\fR instead of default location 
    5864\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 \fUserious 
    60 security breach\fR. 
     65allowing anyone else to write to this directory or even read swapped data would 
     66be a \fUserious security breach\fR. 
    6167.TP 
    6268\fB\-u\fR \fIp\fR, \fB\-\-upper_freelimit\fR=\fIp\fR 
    6369Avoid having more than \fIp\fR% of combined memory and swap space free; if this 
    6470percentage is exceeded, try to deallocate swap space. 
     71.TP 
     72\fB\-v\fR, \fB\-\-verbose\fR 
     73Log debug information to system log and/or standard output, as appropriate. 
     74.TP 
     75\fB\-V\fR, \fB\-\-version\fR 
     76Print program version information and exit. 
    6577.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. 
     78Numbers may be suffixed with \fIk\fR, \fIm\fR, \fIg\fR or \fIt\fR to indicate 
     79kilobytes, megabytes, gigabytes or terabytes respectively: \fI1k\fR means 1024 
     80bytes, \fI1m\fR means 1024 kilobytes, \fI4g\fR means 4096 megabytes and so on. 
    7081.PP 
    7182Timings are measured in \fIiterations\fR, which should typically last about one 
    7283second each.  No pretense of accurate timing is made; this is not the kind of 
    7384program you would run on a hard-realtime system. 
     85.PP 
     86Any messages are sent to the system daemon log; it is also printed to the 
     87standard output/error streams (as appropriate based on the urgency of each 
     88individual message) if available.  Additional state information can be evoked by 
     89sending the program the \fBSIGUSR1\fR signal (user-defined signal 1).  See 
     90.BR signal (7) 
     91for the appropriate number on your system. 
    7492.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/ 
    7697.SH AUTHOR 
    7798Written by Jeroen Vermeulen for Software Industry Promotion Agency of Thailand. 
     
    85106.SH "SEE ALSO" 
    86107.BR mkswap (8), 
     108.BR signal (7), 
    87109.BR swapon (2), 
    88110.BR swapoff (2),