Using the shell to monitor disk activity - read/write rates
I'm requiring a script which grabs the current 'data read/sec' and 'data written/sec' as shown in Activity Monitor.
...but I can't recall /what the/if there is a/ command to do such a thing.
I have a previous script to monitor ethernet traffic averages over set periods of time, but the traffic I'm needing to monitor just now is running over Fibre Channel - and as such the most important line of my script is, to put it succinctly, useless. 😟
Thanks in advance 🙂
Xserve, Mac OS X (10.6.4), 32GB RAM, 8G ATTO FC, Infortrend RAIDs