From 1900641c9966032ac791bfb53f045c5c298b6d32 Mon Sep 17 00:00:00 2001 From: http://ftp.de.debian.org/debian/pool/main/p/procps/procps_3.2.8-8.debian.tar.gz Date: Fri, 19 Mar 2010 21:58:45 +0100 Subject: [PATCH 08/70] slabtop_1 =================================================================== --- slabtop.1 | 35 ++++++++++++++++++++--------------- 1 files changed, 20 insertions(+), 15 deletions(-) diff --git a/slabtop.1 b/slabtop.1 index 11f277e..7e27980 100644 --- a/slabtop.1 +++ b/slabtop.1 @@ -7,36 +7,39 @@ slabtop \- display kernel slab cache information in real time .SH SYNOPSIS -.BI "slabtop [ " options " ] " +.B slabtop +.RI [ options ] .SH DESCRIPTION -.BR slabtop (1) +.B slabtop displays detailed kernel slab cache information in real time. It displays a listing of the top caches sorted by one of the listed sort criteria. It also displays a statistics header filled with slab layer information. .SH OPTIONS Normal invocation of -.BR slabtop (1) +.B slabtop does not require any options. The behavior, however, can be fine-tuned by specifying one or more of the following flags: .TP -.B \-\^\-delay=n, \-d n -Refresh the display every n seconds. By default, -.BR slabtop (1) +.B \-\-delay=\fIn\fR, \fB\-d \fIn +Refresh the display every +.I n +in seconds. By default, +.B slabtop refreshes the display every three seconds. To exit the program, hit .BR q. .TP -.B \-\^\-sort=S, \-s S -Sort by S, where S is one of the sort criteria. +.B \-\-sort=\fIS\fR, \fB\-s\fR \fIS +Sort by \fIS\fR, where \fIS\fR is one of the sort criteria. .TP -.B \-\^\-once, \-o +.B \-\-once\fR, \fB\-o Display the output once and then exit. .TP -.B \-\^\-version, \-V +.B \-\-version\fR, \fB\-V Display version information and exit. .TP -.B \-\^\-help +.B \-\-help Display usage information and exit. .SH SORT CRITERIA @@ -78,7 +81,7 @@ sort by object size sort by cache utilization .SH COMMANDS -.BR slabtop (1) +.B slabtop accepts keyboard commands from the user during use. The following are supported. In the case of letters, both cases are accepted. @@ -94,7 +97,9 @@ Refresh the screen. Quit the program. .SH FILES -.IR /proc/slabinfo " \-\- slab information" +.TP +.I /proc/slabinfo +slab information .SH "SEE ALSO" .BR free (1), @@ -104,7 +109,7 @@ Quit the program. .SH NOTES Currently, -.BR slabtop (1) +.B slabtop requires a 2.4 or later kernel (specifically, a version 1.1 or later .IR /proc/slabinfo ). Kernel 2.2 should be supported in the future. @@ -116,7 +121,7 @@ file is tracking information about used slab physical memory. .SH AUTHORS Written by Chris Rivera and Robert Love. -.BR slabtop (1) +.B slabtop was inspired by Martin Bligh's perl script, .BR vmtop . The procps package is maintained by Albert Cahalan . -- 1.7.0