Operating System - HP-UX
1834222 Members
2527 Online
110066 Solutions
New Discussion

Amount of Memory on the System

 
SOLVED
Go to solution
Peter Maitland
Occasional Advisor

Amount of Memory on the System

How can I found out how much memory I have on my server? Obviously I am very new to this! Can anybody help?

Peter
6 REPLIES 6
Rob Smith
Respected Contributor
Solution

Re: Amount of Memory on the System

Hi, try dmesg | grep -i physical then take the value next to Physical: say it is 524288 and divide it by 1024. 524288 / 1024 would give you 512 which is 512 MB. Hope this helps.

Rob
Learn the rules so you can break them properly.
paul courry
Honored Contributor

Re: Amount of Memory on the System

Somehow I think you must have an HP9000 rather than an HP3000, but if your machine *were* an HP3000 the syntax would be:

:SYSDIAG
DUI>SYSMAP
ENTER MAP>MEMMAP

The number at the bottom of the screen is what you want.
MANOJ SRIVASTAVA
Honored Contributor

Re: Amount of Memory on the System

Two of the easier ways :

1. dmesg | grep Phy , divide by 1024 to get answer in MB.

2. SAM --> performance monitor--->system properties . click on memory / CPU etc to know what you are looking for

Manoj
Vincenzo Restuccia
Honored Contributor

Re: Amount of Memory on the System

If you have STM:echo "selclass qualifier memory;info;wait;infolog"|cstm
Robert O'Brien
Occasional Contributor

Re: Amount of Memory on the System

is there any way for a mere mortal (non-root) user can find out memory size? Sys admin is hiding somewhere ;)
hpdub01> dmesg

Apr 25 16:19
Can't read kernel memory

And nothing in /var/adm/messages
thanks
-rob-
ask a question and look stupid for 5 minutes. Don't and remain stupid for life.
Vincenzo Restuccia
Honored Contributor

Re: Amount of Memory on the System

Edit a script C with execution of dmesg,chmod 4501.