on 06-28-2011 6:57 PM
Hi,
We have Solaris 9 and I am having an issue when I write the output of top command to a file.
top > top.log
It does write it but it misses the CPU line at the begening. This is because it takes time to refresh when you run it is foreground mode. Is there any way we can write this line to a file along with other data?
Your help will be greately appreciated.
Regards,
Sume
"top" is a external command, it's not included in Solaris and was compiled/downloaded from a source.
Try using "prstat" instead.
Markus
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thank you for the reply.
I am looking for CPU and Memory summary information as it is shown in "top".
Is it possible in prstat. I tried but no luck so far. I tried "prstat -a" also but not good. I see differences and I cannot make conclusion. The top almost matches the CPU and memory summary with ST06.
Please let me know if have any idea.
Regards,
SC
> Is it possible in prstat. I tried but no luck so far. I tried "prstat -a" also but not good. I see differences and I cannot make conclusion. The top almost matches the CPU and memory summary with ST06.
Get a new version of "top":
http://sourceforge.net/projects/unixtop/
Markus
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.