Operating System - HP-UX
1833723 Members
2637 Online
110063 Solutions
New Discussion

Re: Utility to read system resource usage.

 
shivakumara
Occasional Advisor

Utility to read system resource usage.

Hi,
I am getting error code 81 while executing ldapmodify command. As per this code, this is because of memory limitation.
I wanted to see how mutch memory is utilizing by each process. So please let me know How can I get Physical memory allocation details.
14 REPLIES 14
Steve Steel
Honored Contributor

Re: Utility to read system resource usage.

Hi

ftp://eh:spear9@hprc.external.hp.com/memory.htm


kmeminfo is very good


Steve Steel
If you want truly to understand something, try to change it. (Kurt Lewin)
Arunvijai_4
Honored Contributor

Re: Utility to read system resource usage.

You use # top command and Glance to monitor particluar process's memory utilization.

-Arun
"A ship in the harbor is safe, but that is not what ships are built for"
RAC_1
Honored Contributor

Re: Utility to read system resource usage.

glance -m
UNIX95= ps -ef -o vsz= -o pid= -o args=|sort -nrk1
will give top 16 memory consuming processes.
There is no substitute to HARDWORK
Muthukumar_5
Honored Contributor

Re: Utility to read system resource usage.

You can use top or ps command or get glance tool.

hth.
Easy to suggest when don't know about the problem!
Muthukumar_5
Honored Contributor

Re: Utility to read system resource usage.

Using UNIX95 variable,
# UNIX95= ps -ef -o sz,pid,comm,vsz

where,

sz The size in physical pages of the core image of
the process, including text, data, and stack
space.
vsz The size in kilobytes (1024 byte units) of the
core image of the process.

hth.
Easy to suggest when don't know about the problem!
morganelan
Trusted Contributor

Re: Utility to read system resource usage.

You can use ServerVantage tool to monitor top 10 applications that consume your memory.
See this link for detail:
http://www.compuware.com/products/vantage/servervantage.htm
Kamal Mirdad
Morcos
Super Advisor

Re: Utility to read system resource usage.

Use glance it's 60-day trial software on the application cd.

Ziad
Arunvijai_4
Honored Contributor

Re: Utility to read system resource usage.

You can assign points, its a good way of foruming :-)

-Arun
"A ship in the harbor is safe, but that is not what ships are built for"
shivakumara
Occasional Advisor

Re: Utility to read system resource usage.

Hi,
Is the vertual memory and swap memory is same. As part of my application I wanted to increase the virtual memory. Please let me know How I can do that.
Arunvijai_4
Honored Contributor

Re: Utility to read system resource usage.

You can increase the virtual memory by adding more swap space. You might also want to review the kernel parameters maxdsiz, maxssiz, maxtsiz.

http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=701723

-Arun
"A ship in the harbor is safe, but that is not what ships are built for"
Muthukumar_5
Honored Contributor

Re: Utility to read system resource usage.

Nope.

Virtual Memory - It includes memory used for code, stack and page swap.

Refer this: http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=962395

You can virtual memory information as,

# vmstat

swap memory information as,

# swapinfo

hth.
Easy to suggest when don't know about the problem!
Muthukumar_5
Honored Contributor

Re: Utility to read system resource usage.

Muthukumar_5
Honored Contributor

Re: Utility to read system resource usage.

Find out your physical memory size as,

sam -> performance monitor -> system properties -> Memory tab

Find out your swapinfo and try to allocated swap for that memory configuration. For 1GB RAM you may have to have 1.5 to 2GB swap.

http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=119644

You can tune kernel tuables like, maxssiz and mazdsiz.

http://docs.hp.com/en/B3921-90010/maxdsiz.5.html
http://docs.hp.com/en/B3921-90010/maxssiz.5.html

hth.
Easy to suggest when don't know about the problem!
shivakumara
Occasional Advisor

Re: Utility to read system resource usage.

Thanks for all your's help.

I am closing this thread