Operating System - HP-UX
1831207 Members
3265 Online
110021 Solutions
New Discussion

Re: How to find max peak mem usage?

 
jayachandran.g
Regular Advisor

How to find max peak mem usage?

Hi All

How i can find the maximum peak memory usage used by my server for all this time.

(i want to know all instance my server used its for a maximum level.

Thank You
4 REPLIES 4
Rajesh SB
Esteemed Contributor

Re: How to find max peak mem usage?

Hi,

The best way for capturing the memory usage and system resouce usage using HP Measureware/Perfview tool.

OR,

Just run the glance and capture to the file

# glance -f

This session exits after certain interval, again you have to capture in other file.

Also you can use utility like sar, vmstat..


Regard,
Rajesh
jayachandran.g
Regular Advisor

Re: How to find max peak mem usage?

Hi Rajesh

I want to see for the past also, say for for last 30 days when was my memory usage was more.. may tell peak
Muthukumar_5
Honored Contributor

Re: How to find max peak mem usage?

You can try with script as,

#!/bin/ksh
while [ 1 ]
do
> top.log
top -h -d1 -n1 -f top.log
grep -E 'System|Memory' top.log >> /var/system_mem.log
sleep 300
done

hth.

Easy to suggest when don't know about the problem!
Rajesh SB
Esteemed Contributor

Re: How to find max peak mem usage?

Hi,

As I know,there is no such way by default in thep HPUX to capture the history for Memory Usage, unless you have tools like Measureware agent installed and running.

Regards,
Rajesh