- 论坛徽章:
- 1
|
一下是man iostat 的内容\r\nEXAMPLES\r\n Example 1: Using the iostat command\r\n\r\n example% iostat -xtc 5 2\r\n\r\n extended device statistics tty cpu\r\n device r/s w/s kr/s kw/s wait actv svc_t %w %b tin tout us sy wt id\r\n sd0 0.4 0.3 10.4 8.0 0.0 0.0 36.9 0 1 0 10 0 0 1 99\r\n sd1 0.0 0.0 0.3 0.4 0.0 0.0 35.0 0 0\r\n sd6 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0 0\r\n nfs1 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0 0\r\n nfs2 0.0 0.0 0.0 0.1 0.0 0.0 35.6 0 0\r\n extended device statistics tty cpu\r\n device r/s w/s kr/s kw/s wait actv svc_t %w %b tin tout us sy wt id\r\n sd0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0 0 0 155 0 0 0 100\r\n sd1 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0 0\r\n sd6 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0 0\r\n nfs1 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0 0\r\n nfs2 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0 0\r\n\r\nSunOS 5.9 Last change: 28 Oct 2001 3\r\n\r\nSystem Administration Commands iostat(1M)\r\n\r\n device\r\n name of the disk\r\n\r\n r/s reads per second\r\n\r\n w/s writes per second\r\n\r\n Kr/s kilobytes read per second\r\n\r\n Kw/s kilobytes written per second\r\nwait average number of transactions waiting for service\r\n (queue length)\r\n\r\n actv average number of transactions actively being serviced\r\n (removed from the queue but not yet completed)\r\n\r\n svc_t average service time, in milliseconds\r\n\r\n %w percent of time there are transactions waiting for\r\n service (queue non-empty)\r\n\r\n %b percent of time the disk is busy (transactions in pro-\r\n gress)\r\n\r\n Example 2: Using the iostat command\r\n\r\n example% iostat -xnp\r\n\r\n extended device statistics\r\n r/s w/s kr/s kw/s wait actv wsvc_t asvc_t %w %b device\r\n 0.4 0.3 10.4 7.9 0.0 0.0 0.0 36.9 0 1 c0t0d0\r\n 0.3 0.3 9.0 7.3 0.0 0.0 0.0 37.2 0 1 c0t0d0s0\r\n 0.0 0.0 0.1 0.5 0.0 0.0 0.0 34.0 0 0 c0t0d0s1\r\n 0.0 0.0 0.0 0.1 0.0 0.0 0.6 35.0 0 0 expositor:/export/home3/user3\r\n\r\n The fields have the same meanings as in the previous exam-\r\n ple, with the following additions:\r\n\r\n wsvc_t\r\n average service time in wait queue, in milliseconds\r\n\r\n asvc_t\r\n average service time active transactions, in mil-\r\n liseconds |
|