Skip to content

Handy UNIX Commands – An Ongoing Collection

September 18, 2009

Mostly solaris, probably similar on other *nix sytems….

Disk Stats

$ iostat -xnct 5
tty         cpu
tin tout  us sy wt id
3   42  45  1  0 54
extended device statistics
r/s    w/s   kr/s   kw/s wait actv wsvc_t asvc_t  %w  %b device
0.4    3.8   11.6   23.5  0.0  0.0    2.1    1.1   0   0 c1d0
0.0    0.0    0.0    0.0  0.0  0.0    0.0    0.0   0   0 c0t0d0
tty         cpu
tin tout  us sy wt id
187  180  54  4  0 43
extended device statistics
r/s    w/s   kr/s   kw/s wait actv wsvc_t asvc_t  %w  %b device
0.8    6.4    5.0   80.2  0.0  0.0    0.1    1.1   0   1 c1d0
0.0    0.0    0.0    0.0  0.0  0.0    0.0    0.0   0   0 c0t0d0

tty         cpu
tin tout  us sy wt id
14  277  50  1  0 49
extended device statistics
r/s    w/s   kr/s   kw/s wait actv wsvc_t asvc_t  %w  %b device
0.0    1.4    0.0   12.8  0.0  0.0    0.1    0.3   0   0 c1d0
0.0    0.0    0.0    0.0  0.0  0.0    0.0    0.0   0   0 c0t0d0

Advertisements
No comments yet

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: