Memory Utilization


 
Thread Tools Search this Thread
Top Forums Shell Programming and Scripting Memory Utilization
# 1  
Old 09-30-2009
Tools Memory Utilization

Hi,

Is it possible to obtain physical memory and swap memory available in HP-UX server.

I tried using "top" command but i'm not able to grep the memory part exclusively...

Thanks....
# 2  
Old 09-30-2009
Code:
ant:/home/vbe $ cat /var/adm/syslog/syslog.log|grep Physi
Apr 29 19:05:34 2A:ant vmunix:     Physical: 8388608 Kbytes, lockable: 6464976 Kbytes, available: 7426824 Kbytes
ant:/home/vbe $ swapinfo -tam
             Mb      Mb      Mb   PCT  START/      Mb
TYPE      AVAIL    USED    FREE  USED   LIMIT RESERVE  PRI  NAME
dev        4000       0    4000    0%       0       -    1  /dev/vg00/lvol2
dev        4096       0    4096    0%       0       -    1  /dev/vg00/swap3
dev        4096       0    4096    0%       0       -    0  /dev/esvg01/lvol2
reserve       -    1257   -1257
memory     6326    1376    4950   22%
total     18518    2633   15885   14%       -       0    -

# 3  
Old 09-30-2009
If you have "HP glance", there are command line options to find all this information and output to file.
# 4  
Old 10-01-2009
Thanks for the help.

Will it be posible to have the disk usage of individual directories also under a file system, ??
# 5  
Old 10-01-2009
An example of individual directory size of filesystem "/usr" sorted to reverse order of size in kilobytes.

Code:
find /usr/ -xdev -type d -exec du -kxs {} \;|sort -n -r |pg

The "-xdev" switch to "find" and the "-x" switch to "du" confine the figures to the current filesystem.

There is usually a slight discrepancy between the figures from "bdf" and "du".
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. AIX

Need help on memory utilization.

I have run the utility nmon in aix 6.1, and found memory utilization is 99.9% in physical. and pressed h key and then t , in that it is not showing single process which is consuming memory resources. please help me how to find out actual memory utilization. wheather 99% is real memory... (1 Reply)
Discussion started by: manoj.solaris
1 Replies

2. Red Hat

CPU Utilization and Memory Utilization of Services and Applications

Hi, i am new to linux/RHEL 6.0 and i have two questions. 1) How to get the CPU utilization and Memory Utilization of all Services running currently? 2) How to get the CPU utilization and Memory Utilization of all Applications running currently? Please help me to find the script. ... (2 Replies)
Discussion started by: nossam
2 Replies

3. Solaris

[DOUBT] Memory high in idle process on Solaris 10 (Memory Utilization > 90%)

Hi Experts, Our servers running Solaris 10 with SAP Application. The memory utilization always >90%, but the process on SAP is too less even nothing. Why memory utilization on solaris always looks high? I have statement about memory on solaris, is this true: Memory in solaris is used for... (4 Replies)
Discussion started by: edydsuranta
4 Replies

4. Solaris

i have conflict with memory utilization

dear all, kindly i want to check my server memory utilization i used alot of commands but i want to make sure that it is acurate let me explain i have a server which has 32GB RAM Total Memory = 33423360 kb Free Memory = 4172568 kb Utilized Memory = 29250792 kb Memory Utilization... (2 Replies)
Discussion started by: maxim42
2 Replies

5. HP-UX

memory utilization

command for checking memory utilization in HP -UX (2 Replies)
Discussion started by: tushar_spatil
2 Replies

6. AIX

Memory Utilization

Hi friends i have a query. we have two p-series machine(p550 & p570) with HACMP 5.3 and AIX 5.3 hosting SAP. Now i need to now is there a way or a command to check the memory utilization on these machines on daily basis. I have tried vmstat and iostat but still it's not clear. We have... (3 Replies)
Discussion started by: nathandrake13
3 Replies

7. UNIX for Dummies Questions & Answers

CPU/Memory utilization

hi guys I just want to know how to get the cpu/memory utilization of a running script? Well i know that I can use the sar command but it shows the whole system's statistics. Is it possible to get the stats of a single scirpt or a single running service? (6 Replies)
Discussion started by: khestoi
6 Replies

8. HP-UX

more memory utilization in ux Servers

Hi, Please let me know what are all the reasons in increase in the Memory utilisation of ux servers, and the solutions to face those issues caused by the memory utilisation (memeory Likage)? Thanks in Advance! regards, kishan (2 Replies)
Discussion started by: kishan
2 Replies

9. AIX

Utilization for memory and cpu

Hi all I need command to give me the utilization for memory and cpu,and how can I know if the utilization ok or no? for example in hp unix #top it is give me utilize for cpu and memory and also I can know if utilize ok or no. thanks (2 Replies)
Discussion started by: magasem
2 Replies

10. AIX

Memory Utilization

All, The (fre) coloumn of the (vmstat) command, does it report the size of the free list including the swap space or it only report on the RAM (physical memory). BR, (1 Reply)
Discussion started by: Negm
1 Replies
Login or Register to Ask a Question