sarコマンドの見方
分類 | 内容 | 項目 | 詳細 |
---|---|---|---|
CPU | CPU の利用状況 | CPU | CPU番号 ※-u ではALL(全CPUの平均値)のみ出現 |
%user | ユーザ・モード状態であった割合 | ||
%nice | 優先度が通常より低いユーザ・モード状態での使用割合 | ||
%system | システム・モード状態であった割合 | ||
%iowait | CPUが ディスクI/Oの待機によりアイドル状態であった割合 | ||
%idle | その他の場合のアイドル状態であった割合 | ||
QUEUE | CPU実行待ち行列状況 | runq-sz | 実行待ちプロセスキュー(待ち行列)の長さ |
plist-sz | Number of processes in the process list. | ||
ldavg-1 | 過去1分間のキュー長 | ||
ldavg-5 | 過去5分間のキュー長 | ||
ldavg-15 | 過去15分間のキュー長 | ||
DISK | ブロック・デバイス動作 | DEV | 論理デバイス名 |
tps | 1秒間あたりのデバイスに対するI/O数 | ||
rd_sec/s | 1秒間あたりのデバイスからの読込みセクタ数: 1セクタは512バイト | ||
wr_sec/s | 1秒間あたりのデバイスに対する書込みセクタ数: 1セクタは512バイト | ||
sect/s | 1秒間あたりのデバイスに対するI/Oセクタ数: 1セクタは512バイト | ||
DISK-old | ブロック・デバイス動作(旧) | tps | 1秒間あたりのデバイスに対するI/O数 |
rtps | 1秒間あたりのデバイスに対する読込み要求数 | ||
wtps | 1秒間あたりのデバイスに対する書込み要求数 | ||
bread/s | 1秒間あたりのデバイスからの読込みブロック数:ブロックサイズは512バイト(カーネル2.4以上の場合[古いカーネルは不定]) | ||
bwrtn/s | 1秒間あたりのデバイスに対する書込みブロック数 | ||
SWAP | スワップ動作 | pswpin/s | 1秒間あたりのスワップインしたページ数 |
pswpout/s | 1秒間あたりのスワップアウトしたページ数 | ||
SWITCH | スイッチ動作 | cswch/s | 1秒間あたりのコンテキストスイッチ回数 |
MEMORY and SWAP | メモリ/スワップ状況 | kbmemfree | 空きメモリサイズ:単位はKB |
kbmemused | 物理メモリ使用サイズ(カーネル使用分は除く):単位はKB | ||
%memused | メモリ使用率 | ||
kbmemshrd | 共有メモリとして使用されているメモリサイズ。カーネル2.4では常に0:単位はKB | ||
kbbuffers | カーネルがバッファとして使用しているメモリサイズ: 単位はKB | ||
kbcached | キャッシュとして使用されているメモリサイズ: 単位はKB | ||
kbswpfree | 空きスワップ領域サイズ:単位はKB | ||
kbswpused | スワップ領域使用サイズ:単位はKB | ||
%swpused | CPU番号 ※-u ではALL(全CPUの平均値)のみ出現 | ||
kbswpcad | スワップ領域使用サイズ:単位はKB | ||
MEMORY | メモリ割当て動作 | frmpg/s | 1秒間あたりのシステムによって解放されたメモリページ数: 負の値はシステムによる割当てを意味する。ページサイズは4KB or 8KB(アーキテクチャ依存) |
shmpg/s | Number of additionnal memory pages shared by the system per second. A negative value means fewer pages shared by the system. | ||
bufpg/s | Number of additional memory pages used as buffers by the system per second. A negative value means fewer pages used as buffers by the system. | ||
campg/s | Number of additional memory pages cached by the system per second. A negative value means fewer pages in the cache. | ||
PAGE | ページング動作 | pgpgin/s | 1秒間あたりのページインサイズ:単位はKB/s |
pgpgout/s | 1秒間あたりのページアウトサイズ:単位はKB/s | ||
fault/s | Number of page faults (major + minor) made by the system per second (post 2.5 kernels only). This is not a count of page faults that generate I/O. | ||
majflt/s | Number of major faults the system has made per second, those which have required loading a memory page from disk (post 2.5 kernels only). | ||
activepg | Number of active (recently touched) pages in memory. Note that a page has a size of 4 kB or 8 kB according to the machine architecture. | ||
inadtypg | Number of inactive dirty (modified or potentially modified) pages in memory. | ||
inaclnpg | Number of inactive clean (not modified) pages in memory. | ||
inatarpg | "Inactive target" number of pages. This field is a 1-minute floating average of the number of pages the system needs to "steal" every second in order to satisfy memory demand. | ||
NETWORK | ネットワーク状況 | IFACE | インタフェース名 |
rxpck/s | 1秒間あたりの受信パケット数 | ||
txpck/s | 1秒間あたりの送信パケット数 | ||
rxbyt/s | 1秒間あたりの受信バイト数 | ||
txbyt/s | 1秒間あたりの送信バイト数 | ||
rxcmp/s | Number of compressed packets received per second (for cslip etc.). | ||
txcmp/s | Number of compressed packets transmitted per second. | ||
rxmcst/s | Number of multicast packets received per second. | ||
NETWORK- ERROR | ネットワークエラー状況 | IFACE | インタフェース名 |
rxerr/s | 1秒間あたりの受信不良パケット数 | ||
txerr/s | 1秒間あたりの送信エラーパケット数 | ||
coll/s | 1秒間あたりの衝突パケット数 | ||
rxdrop/s | 1秒間あたりのバッファ溢れによる受信パケットドロップ数 | ||
txdrop/s | 1秒間あたりのバッファ溢れによる送信パケットドロップ数 | ||
txcarr/s | Number of carrier-errors that happened per second while transmitting packets. | ||
rxfram/s | Number of frame alignment errors that happened per second on received packets. | ||
rxfifo/s | Number of FIFO overrun errors that happened per second on received packets. | ||
txfifo/s | Number of FIFO overrun errors that happened per second on transmitted packets. | ||
SOCKET | ソケット状況 | totsck | 使用中ソケット数 |
tcpsck | 使用中TCPソケット数 | ||
udpsck | 使用中UDPソケット数 | ||
rawsck | 使用中RAWソケット数 | ||
ip-frag | IPフラグメント数 | ||
PROCESS | プロセス状況 | proc/s | 1秒間あたりのプロセス生成数 |
INODE and TABLES | 各種テーブル/Iノード状況 | dentunusd | Number of unused cache entries in the directory cache. |
file-sz | Number of used file handles. | ||
%file-sz | Percentage of used file handles with regard to the maximum number of file handles that the Linux kernel can allocate. | ||
inode-sz | Number of used inode handlers. | ||
super-sz | Number of super block handlers allocated by the kernel. | ||
%super-sz | Percentage of allocated super block handlers with regard to the maximum number of super block handlers that Linux can allocate. | ||
dquot-sz | Number of allocated disk quota entries. | ||
%dquot-sz | Percentage of allocated disk quota entries with regard to the maximum number of cached disk quota entries that can be allocated. | ||
rtsig-sz | Number of queued RT signals. | ||
%rtsig-sz | Percentage of queued RT signals with regard to the maximum number of RT signals that can be queued. | ||
INTERRUPT | 割込み状況 | INTR | interrupt number The SUM keyword indicates that the total number of interrupts |
proc/s | number of interrupts received per second is to be displayed | ||
TTY | TTYデバイス動作 | TTY | Serial line number |
rcvin/s | Number of receive interrupts per second for current serial line. | ||
xmtin/s | Number of transmit interrupts per second for current serial line. |