Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Advanced & Expert Users


UNIX for Advanced & Expert Users Expert-to-Expert. Learn advanced UNIX, UNIX commands, Linux, Operating Systems, System Administration, Programming, Shell, Shell Scripts, Solaris, Linux, HP-UX, AIX, OS X, BSD.

Reply    
 
Thread Tools Search this Thread Display Modes
    #1  
Old 12-03-2012
Registered User
 
Join Date: Feb 2009
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
Command for finding RAM size in HP-UX

I am trying to find RAM size in my HP-UNIX server. what command I should use for this?

I am using top command but not clear about below line from top o/p

Memory: 1517080K (471284K) real, 1877692K (751256K) virtual, 8078944K free Page# 1/6
Sponsored Links
    #2  
Old 12-03-2012
...@...
 
Join Date: Feb 2004
Location: NM
Posts: 9,646
Thanks: 164
Thanked 641 Times in 618 Posts
Try this:

Code:
echo "selclass qualifier memory;info;wait;infolog" | /usr/sbin/cstm

Sponsored Links
    #3  
Old 12-03-2012
Registered User
 
Join Date: Feb 2009
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
Jim,

Thanks a lot for your quick response.

It's showing Total Physical Memory: 32768 MB , Total Configured Memory: 32768 MB, that means 32 GB.

Is my interpretation correct?

Thanks,
Venkat
    #4  
Old 12-10-2012
botao's Avatar
Registered User
 
Join Date: Mar 2006
Location: brazil
Posts: 85
Thanks: 0
Thanked 3 Times in 3 Posts
Hammer & Screwdriver try `swapinfo' as well

- although it is meant for 'swap space' inquiry, it shows a line starting with the word "memory" - and this is the size of your physical memory.


Code:
$ swapinfo

HTH

good luck, and success !

_____________________
alexandre botao
("comets never dodge")
Sponsored Links
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Retrieve RAM memory size from "top" command output royalibrahim Shell Programming and Scripting 10 02-09-2011 05:41 AM
RAM Size Rupaa Red Hat 4 07-15-2010 11:41 AM
how to know RAM size palash2k UNIX for Dummies Questions & Answers 4 10-16-2008 04:20 AM
Finding Heap size Command--Urgent Anji Shell Programming and Scripting 2 05-16-2008 08:52 AM
getting RAM size arunkumar_mca Programming 6 05-30-2005 08:08 AM



All times are GMT -4. The time now is 06:33 AM.