2014-01-10 08:54 AM
I've been looking online for a method to check what is currently running on our FAS2240 controllers, but so far have come up blank.
I can get plenty of stats using commands like "sysstat -u 1" - which is what we use to get a general view of how "busy" the SAN is. But when the CPU gets a little high, for example, I'd like to be able to determine what's causing it. Usually I check things like sis, snapmirror, volume creation / deletion etc, but this doesn't always indicate where the high usage lies.
Anyone have any ideas on how to check what specific processes are running, and ideally how much resources each is using? I'm basically after a "ps -ef" type command.
Solved! SEE THE SOLUTION
2014-01-10 10:01 AM
ps is a command from the cli:
Typically I run something like ps -c 4
usage: ps [-l] <pid> ...
ps [-hlps] [-c cutoff]
-c cutoff limit output to threads above the cutoff point
-h equivalent to -c 5
-l long listing
-p skip threads which don't have profile information
-s use scheduling time instead of total time
-z clear the times/counts in the proc structure
Another handy command is:
sysstat -M 1
What you are probably seeing is the ANY cpu get up above 90% These three commands should help you zero in on the issue