How to find the memory in HP-Unix?


 
Thread Tools Search this Thread
Operating Systems HP-UX How to find the memory in HP-Unix?
# 1  
Old 07-31-2008
How to find the memory in HP-Unix?

Hi,

I have a HP-Unix server, version B.11.23. Can someone tell me how to find out the physical memory & virtual memory (swap) in my server? & what is Page fault? & is there any limitation for page fault?

Thank you. Your help is appreciated.
# 2  
Old 07-31-2008
its eaiser on older HP-UX but here is what I came up with on 11.23

This gets you the Physical Memory.

Code:
#!/usr/bin/perl

$cmd = "print_manifest | grep -i memory";
$q = `$cmd`;

$q =~ m/\s+Main Memory:\s+(\d+)\s+\S+/;
$mem = $1 * 1000;
print "physmem=$mem";

# 3  
Old 07-31-2008
Also look at:

swapinfo -t
# 4  
Old 07-31-2008
Thank you. However, can you give me any command for it? I have tried vmstat, swapinfo & glance.
# 5  
Old 07-31-2008
For physical memory:
Code:
print_manifest | grep -i memory

# 6  
Old 08-02-2008
#dmesg | grep -i physical
#machinfo | grep -i memory
#swapinfo -tam
# 7  
Old 08-03-2008
Quote:
Originally Posted by pradeepm
#dmesg | grep -i physical
#machinfo | grep -i memory
#swapinfo -tam
be careful with dmesg, the buffer is sometime not large enough and gets cut off.
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. HP-UX

How to find the used memory in HP-UX?

Hi all, Can any please provide how to calculate the cpu and memory usage of HP-UX server. Thanks in advance. (6 Replies)
Discussion started by: ssk250
6 Replies

2. AIX

How to find AIX Free Memory?

All, AIX: 6.1 64 bits How to find out Free memory available on AIX 6.1 64 bits When I used : svmon -G size inuse free pin virtual mmode memory 1048576 612109 191151 215969 549824 Ded-E pg space 4325376 ... (1 Reply)
Discussion started by: a1_win
1 Replies

3. Red Hat

how to find out free memory?

hi, I have done the below, but am confused as to how much memory is "free" please help thanks $ free total used free shared buffers cached Mem: 132033488 48827536 83205952 0 1007696 45404632 -/+ buffers/cache: 2415208 ... (7 Replies)
Discussion started by: JamesByars
7 Replies

4. Solaris

Unable to find 8 gb of memory

I 've one box with 16gb of RAM and top, vmstat showing 8712M free , i 'm unable to find which process is eating up rest of the memory , the system is not running anything at the moment. (14 Replies)
Discussion started by: fugitive
14 Replies

5. Shell Programming and Scripting

Unix Script to find and kill a process with high memory utilization

Hi Unix Gurus i am somewhat new to unix scripting so need your help to create a script as below. # This script would find the process consuming memory beyond a certain #limit. if the meemory consumption is more than 100% for a period of 1 # minute for the specific process. the script would... (0 Replies)
Discussion started by: robinforlinux
0 Replies

6. Solaris

How to find Total and Free Physical Memory and Logical Memory in SOLARIS 9

Hi, Im working on Solaris 9 on SPARC-32 bit running on an Ultra-80, and I have to find out the following:- 1. Total Physical Memory in the system(total RAM). 2. Available Physical Memory(i.e. RAM Usage) 3. Total (Logical) Memory in the system 4. Available (Logical) Memory. I know... (4 Replies)
Discussion started by: 0ktalmagik
4 Replies

7. UNIX for Advanced & Expert Users

How to find memory and other resources in AIX

Hi, Im trying to find memory and other resources in IBM AIX. Please let me know how to do this. (3 Replies)
Discussion started by: R00tSc0rpi0n
3 Replies

8. Filesystems, Disks and Memory

how to find memory capacity.

Hi, In Sun solaris o/s how can i find the memory space available,Swap space. By giving df command i can get the disc space. I want RAM space & swap space. If anybody assist me.that is great. Thanks (2 Replies)
Discussion started by: Mar1006
2 Replies

9. HP-UX

How to find memory used by a process

Hi, Can anyone help me out in writing the shell scrip which monitors a process which is running and gives me the output of the memory being used by the process, I have the requirement of monitorig the memory usage of the process when it is running. Please help me out (3 Replies)
Discussion started by: vijayagiri
3 Replies

10. UNIX for Dummies Questions & Answers

To find processor speed & memory in HP Unix 10.2

I have a D series HP server with HP UNIX 10.20 as the OS. How will I obtain the processor speed and memory of the machine. I have 'root' privileges. (4 Replies)
Discussion started by: augustinep
4 Replies
Login or Register to Ask a Question