12.07.2015 Views

download

download

download

SHOW MORE
SHOW LESS
  • No tags were found...

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

System Configuration—System ManagementWhile some statistics are updated every five seconds, running any of theutilities mentioned above, with a faster than five seconds ( -w5 ) update,will be ineffective.The iostat(8) specifically reports the I/O statistics in the sense of KB/t (Kilobytesper transfer), Tps (Transaction per second), and MB/s (Megabytes per second) asper the storage device. The iostat also shows tty statistics including "tin" and "tout"(which are characters read from or write to terminals, respectively).# iostat -w 5tty ad0 cputin tout KB/t tps MB/s us ni sy in id0 5 5.86 3 0.02 2 0 0 0 970 26 63.12 29 1.80 88 0 9 3 00 9 63.89 30 1.84 89 0 6 5 00 9 46.60 42 1.89 85 0 8 8 0The above examples show the statistics for ad0 (the only available physical disk onthe sample platform).The pstat(8) utility displays information about open files, swap utilization, andterminals status.To see the current swap utilization you may use -s argument:# pstat -sDevice 1K-blocks Used Avail Capacity/dev/ad0s1b.eli 1048576 0 1048576 0%The pstat command also displays the open files table status by using the -fargument:# pstat -f227/16424 open filesLOC TYPE FLG CNT MSG DATA OFFSETc4032dc8 inode RW 28 0 c4286600 1b6e2c4032dc8 inode RW 28 0 c4286600 1b6e2c4032dc8 inode RW 28 0 c4286600 1b6e2[…]In the above example, the system has 227 open files out of the maximum 16424(maximum possible open files in this case).[ 70 ]

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!