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.
iostat is what you're looking for:
iostat - Report Central Processing Unit (CPU) statistics and input/output statistics for devices and partitions.
Calling it like such will get you KB/s every 2 seconds:
$ iostat -k 2 Device: tps kB_read/s kB_wrtn/s kB_read kB_wrtn sdb 0.89 2.39 1.72 189644 136436 sda 5.42 31.79 40.89 2519836 3240543
You might need per-process statistics :
iostat (though otherwise really good) doesn't know how to do that, but iotop can.
Also look at
nmon from IBM.
If you want more than just I/O can also use SAR:
The sar command writes to standard output the contents of selected cumulative activity counters in the operating system.
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:
-b Report I/O and transfer rate statistics.
-d Report activity for each block device (kernels 2.4 and newer only).
This is a very useful tool for diagnosing historical issues and performance concerns.