Red Squirrel
No Lifer
I noticed that top shows a different value for cpu use % as opposed to using ps. Has anyone ever noticed this, or am I maybe reading it wrong?
I wrote a simple php script that uses ps to display the resource usage of my VMs but then when I run top the results don't match at all. Thinking maybe my script was parsing wrong I typed ps and sure enough the results are different.
I wrote a simple php script that uses ps to display the resource usage of my VMs but then when I run top the results don't match at all. Thinking maybe my script was parsing wrong I typed ps and sure enough the results are different.