I want to see something for Linux similar to the Perfmon program under Windows. Does such a thing exist that is terminal friendly and not a gui program? Thanks.
|
feedback
|
|
iostat is what you're looking for:
Calling it like such will get you KB/s every 2 seconds:
| |||
|
feedback
|
|
Use | |||
|
feedback
|
|
You might need per-process statistics : | |||
|
feedback
|
|
Also look at | |||
|
feedback
|
|
If you want more than just I/O can also use SAR:
sar files contains information on processor, memory, disk, network. These files are generated daily based on system and retained for some number of days based on system configuration. If you run sar -A you will get all the counters, and there are lots, for the current day. You can also run sar -A -f /var/log/sa[DD] where DD is the day of the month such as sa01 or sa14. If you want information specific to I/O I suggest trying the following switches and looking at the man pages for further detail:
This is a very useful tool for diagnosing historical issues and performance concerns. | |||
|
feedback
|