02-08-2009
5,
0
Join Date: Aug 2008
Last Activity: 27 January 2011, 11:02 AM EST
Posts: 5
Thanks Given: 0
Thanked 0 Times in 0 Posts
prtstat RSS value
Hi,
I new to solaris and I was assigned to make a script to check the memory usage of a particular server by checking the usage of some 400+ processes. Everything is fine except the RSS value of the prtstat command because some of the value are in megabytes and some are in kilobytes. I need them to be on the same because I want to get the average memory per day.
Now much question is is there are way/options that I can use to get a kB or MB output? Or do I need to convert them manually? Also any help whith getting the average is much welcome.
Any help is appreciated.
Thanks,
d