SLABTOP(1) Linux User’s Manual SLABTOP(1)
名前
slabtop - リアルタイムにカーネル slab キャッシュ情報を表示する
書式
slabtop [ options ]
説明
slabtop(1) はリアルタイムに詳細なカーネル slab キャッシュ情報を表示する
。キャッシュ情報の上位を、ソート基準に挙げられている基準のいずれかで ソ
ー トして、リストで表示する。また slab レイヤ情報が書かれた統計情報ヘッ
ダも表示する。
オプション
通常は slabtop(1) の起動にオプションは必要ない。しかし以下のオプショ ン
を 1 つ以上指定することで、動作を微調整できる。
--delay=n, -d n
n 秒毎に表示を更新する。デフォルトでは slabtop(1) は 3 秒毎に表
示を更新する。プログラムを終了するには q を入力すること。
--sort=S, -s S
S でソートする。ここで S はいずれかのソート基準である。
--once, -o
出力を 1 回表示して終了する。
--version, -V
バージョン情報を表示して終了する。
--help 使用法の情報を表示して終了する。
ソート基準
以下は各 slab キャッシュのソートに使用できる有効なソート基準であり、 表
示 する「上位 (top)」の slab キャッシュがどれであるかを決定する。デフォ
ルトのソート基準はオブジェクト数によるソート ("o") である。
slabtop の実行中に対応する文字を押すことにより、ソート基準を変更する こ
とができる。
a: アクティブなオブジェクト数でソートする。
b: slab 毎のオブジェクト数でソートする。
c: キャッシュサイズでソートする。
l: slab 数でソートする。
v アクティブな slab 数でソートする。
n: 名前でソートする。
o: オブジェクト数でソートする。
p: slab 毎のページ数でソートする。
s: オブジェクトサイズでソートする。
u: キャッシュ利用率でソートする。
コマンド
slabtop(1) は実行中にユーザからのキーボードコマンドを受け付ける。以下の
コマンドがサポートされている。文字の場合は大文字・小文字ともに受け付 け
る。
有 効な各ソート文字も受け付け、ソートルーチンを変更する。「ソート基準」
のセクションを参照すること。
<スペースバー>
スクリーンを再描画する。
Q プログラムを終了する。
ファイル
/proc/slabinfo -- slab 情報
関連項目
free(1), ps(1), top(1), vmstat(8)
注意
現在のところ、 slabtop(1) は 2.4 以降のカーネル (特にバージョン 1.1 ま
た はそれ以降の /proc/slabinfo) が必要である。カーネル 2.2 は将来サポー
トされるだろう。
著者
Chris Rivera と Robert Love によって書かれた。
slabtop(1) は Martin Bligh の perl スクリプト vmtop に触発されて書か れ
た。
procps パ ッ ケ ー ジ は Robert Love によってメンテナンスされており、
Michael Johnson によって作られた。
バグ報告は
SLABTOP(1) Linux User’s Manual SLABTOP(1)
NAME
slabtop - display kernel slab cache information in real time
SYNOPSIS
slabtop [ options ]
DESCRIPTION
slabtop(1) 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.
OPTIONS
Normal invocation of slabtop(1) does not require any options. The
behavior, however, can be fine-tuned by specifying one or more of the
following flags:
--delay=n, -d n
Refresh the display every n seconds. By default, slabtop(1)
refreshes the display every three seconds. To exit the program,
hit q.
--sort=S, -s S
Sort by S, where S is one of the sort criteria.
--once, -o
Display the output once and then exit.
--version, -V
Display version information and exit.
--help Display usage information and exit.
SORT CRITERIA
The following are valid sort criteria used to sort the individual slab
caches and thereby determine what are the "top" slab caches to display.
The default sort criteria is to sort by the number of objects ("o").
The sort criteria can also be changed while slabtop is running by
pressing the associated character.
a: sort by number of active objects
b: sort by objects per slab
c: sort by cache size
l: sort by number of slabs
v sort by number of active slabs
n: sort by name
o: sort by number of objects
p: sort by pages per slab
s: sort by object size
u: sort by cache utilization
COMMANDS
slabtop(1) accepts keyboard commands from the user during use. The
following are supported. In the case of letters, both cases are
accepted.
Each of the valid sort characters are also accepted, to change the sort
routine. See the section SORT CRITERIA.
Copyright(C) linux-cmd.com All Rights Reserved. Author Takayuki Yukawa