Displayed Information
pstat
can display the following information:
Type
|
Description
|
Example
|
Toggled by
|
Uptime
|
This line displays the time for which the system has been up, and three "load averages" for the system. The load averages are the average number of processes ready to run during the last 1, 5, and 15 minutes. This line is just like the output of uptime(1).
|
1:22am, up 1:31, 2 users, load average: 0.00, 0.06, 0.33
|
l
|
Containers and processes
|
Total number of virtual machines and Containers and processes running at the time of the last update. The output is also broken down into the number of tasks which are running, sleeping, uninterruptable, zombie, or stopped.
|
CTNum 102, procs 467: running 12, sleeping 455, unint 0, zombie 0, stopped 0
|
p
|
CPU states
|
Shows the percentage of CPU time used by all virtual machines and Containers and by the server (shown as
CT0
), the CPU time spent in the user mode, in the system mode, and being idle, and the maximal/average scheduling latency in ms. The scheduling latency is the time spent by the processes in the system awaiting for scheduling.
|
CPU [ OK ]: CTs 43%, CT0 12%, user 41%, sys 13%, idle 45%, lat(ms) 3/2
|
c
|
Mem
|
Statistics on the memory usage, including the total available memory, free memory, and maximal/average memory allocation latency. The free memory is displayed both for the low and high memory. The low memory is the sum of the DMA and Normal zones memory and the high memory is the High zone memory. Memory allocation latency is the time required to allocate memory inside the kernel in ms. An excessive allocation latency can be a sign of server's overload.
|
Mem [ OK ]: total 755MB, free 671MB/0MB (low/high), lat(ms) 10/7.
|
m, M
|
Memory zones information
|
Information on the memory zones state. This information includes: the total size of the memory zone in MB, the size of active and inactive lists, of the free memory and zone limits.
|
ZONE1 (Normal): size 752MB, act 29MB, inact 31MB, free 658MB (0/1/2)
|
m, M
|
Memory zones fragmentation
|
Information on the memory zones fragmentation. This information describes how much system memory is fragmented and which is the biggest block size possible to allocate atomically. The first number before * is a number of blocks and the second is a block size in pages.
|
fragm 2*1 3*2 15*4 22*8 25*16 12*32 4*64 0*128 1*256 326*512".
|
m, M
|
Memory allocation latency
|
Memory allocation latency is an average time spent in the kernel memory allocator for different memory type requests. Any memory type is coded as XY, where X is A for GFP_ATOMIC, K for GFP_KERNEL and U for GFP_USER, and Y denotes the allocation request order, i.e. Y=0 for order=0 and 1 for order=1.
|
Mem lat (ms): A0 0, K0 0, U0 1, K1 3, U1 2
|
m, M
|
Slab cache information
|
Slab cache information includes: the total slab cache size/real cache size divided into the inode cache size, dentry cache size, buffer heads cache size and page beancounters cache size. The real cache size is the size to which the cache can be shrunk, i.e. it is always less than the total cache size.
|
Slab pages: 13MB/13MB (ino 8MB, de 1MB, bh 1MB, pb 0MB)
|
m, M
|
Swap
|
Statistics on the used swap space, including the total swap space, the available swap space and the speed of swap-in/swap-out activity in MB/s.
|
Swap [ OK ]: tot 1004MB, free 1004MB, in 0.000MB/s, out 0.000MB/s
|
w, W
|
Swap latency
|
Swap operations latency. This includes the swap-in count, the swap-in maximal/average latency in ms, the swap-out count, the swap-out maximal/average latency in ms, and the maximal/average CPU time spent for the swap-out.
|
Swap lat: si 0, 0/0 ms, so 0, 0/0 ms, 0/0 cpu ms
|
w, W
|
Swap cache
|
Swap cache information includes the number of addition, deletion, and find operations respecting the swap cache.
|
Swap cache: add 0, del 0, find 0/0
|
w, W
|
Network information
|
Network statistics summary includes the total incoming traffic speed in MB/s and incoming packets/s, and outgoing traffic speed in MB/s and outgoing packets/s.
|
Net [ OK ]: tot in 1.020MB/s 267pkt/s, out 0.001MB/s 1pkt/s
|
n, N
|
Network interface information
|
Provides the network statistics summary for a particular Ethernet interface, including its total incoming traffic speed in MB/s and incoming packets/s, and outgoing traffic speed in MB/s and outgoing packets/s.
|
eth0: in 0.000MB/s 3pkt/s, out 0.001MB/s 1pkt/s
|
n, N
|
Disks statistics
|
Disks statistics summary including the writing and reading activity in MB/s.
|
Disks [ OK ]: in 0.000MB/s, out 0.000MB/s
|
d, D
|
Mounted disks statistics
|
Information on the mounted disks such as their mount point, free space, and free inodes left on the device.
|
root(/) free: 3489MB(46%), 511077ino(52%)
|
d, D
|
Disk I/O statistics
|
Shows disk input and output statistics for virtual machines and Containers. The following statistics is displayed:
-
IOUSED%
: the percentage of time the disks are used by the virtual machine or Container.
-
IOWAIT%
: the percentage of time when at least one I/O transaction in the virtual machine or Container is waiting for being served.
-
IO
: the current speed of disk I/O in the virtual machine or Container and the I/O limit set for this virtual machine or Container, if any. The value can be displayed in bytes, kilobytes, megabytes, or gigabytes per second, depending on the units you used to set the I/O limit.
-
IOPS
: the current speed of disk I/O in the virtual machine or Container and the I/O limit set for this virtual machine or Container, if any. The value is displayed in operations per second.
-
CPU_IOWAIT
: percentage of time that Container processes lost waiting for I/O.
-
CPU_IOWAIT_ACC
: percentage of time that Container processes lost waiting for I/O, accumulated since utility start.
-
SWAPIN
: I/O operations with the swap space. The value is measured in operations per second.
|
IOUSED%
5.00
IOWAIT%
0.00
IO
2/100MB/s
IOPS
315/--/s
CPU IOWAIT
25.0%
ACC IOWAIT
25.0%
SWAPIN
0.0/s
|
A
A
A
A
|
|