1.) Checking phyiscal memory in HP-UX using dmesg :
You can check memory in HP-UX using dmesg output. In HP-UX dmesg print HP-UX server messages and hardware information available to system during the boot time.Here is the command to check physical memory in HP-UX using dmesg output :
hp-uxdev# dmesg |grep Physical Physical: 8388608 Kbytes, lockable: 5614168 Kbytes, available: 6461644 Kbytes |
In dmesg output memory is listed as 8388608 Kbytes or 8 GB.Note: in grep use P(upper) case in word physical to get memory information or “grep –i physical”
2.) Checking HP-UX memory using print_manifest :
HP-UX provides very useful command called print_manifest,i am going to use print_manifest to check how much memory is available :
hp-uxdev# print_manifest |grep –i memory Main Memory: 8192 MB |
Print_manifest is very handy command I don’t even have to
Check on your HP-UX server if you have cstm installed by running which cstm .If you have CSTM install on your HP-UX server , you can check Physical memory by running following command :
hp-uxdev# which cstm hp-uxdev# /usr/sbin/cstm hp-uxdev# print_manifest |grep -i memory Basic Memory Description Module Type: MEMORY Total Configured Memory : 8192 MB Page Size: 4096 Bytes Memory interleaving is supported on this machine and is ON. Memory Board Inventory Extender Slot Num Configured and Slot label for each DIMM (MB) -------- -------------------------------------------- 0a 2a 1a 3a 3b 1b 2b 0b ---- ---- ---- ---- ---- ---- ---- ---- EXT 0 1024 1024 1024 1024 1024 1024 1024 1024 ------------------------------------------------------ System Total (MB): 8192 Memory Error Log Summary The memory error log is empty. Page Deallocation Table (PDT) PDT Entries Used: 0 PDT Entries Free: 256 PDT Total Size: 256 -- Information Tool Log for MEMORY on path 192 -- |
Cstm gives detailed memory information and is useful if you experiencing memory errors
How to check memory size in Linux
searches: total physical memory hp_ux
3 comments:
[...]resource[...]
Any chance for a method which doesn't require root?
To determine physical memory and swap space use below commands.
# /usr/contrib/bin/machinfo | grep -i Memory
# /usr/sbin/swapinfo –a
Post a Comment