- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- how to find the RAM size on HP machine
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-25-2004 04:15 PM
10-25-2004 04:15 PM
i am using pa-risc 11.11 HP machine i want to find the RAM size on the machine, I am putting this info in java program so i dont want any command that has | (PIPE) symbol.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-25-2004 04:18 PM
10-25-2004 04:18 PM
Re: how to find the RAM size on HP machine
#dmesg
will display the total physical memory
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-25-2004 04:23 PM
10-25-2004 04:23 PM
Re: how to find the RAM size on HP machine
In main menu going to information and select "me"
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-25-2004 04:30 PM
10-25-2004 04:30 PM
Re: how to find the RAM size on HP machine
u can use
#dmesg |more --- look for physcal memory
or
#more /var/adm/syslog/syslog.log
regards,
Govind.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-25-2004 05:31 PM
10-25-2004 05:31 PM
Re: how to find the RAM size on HP machine
I am looking at some command that will give me some details from which i can take the RAM size and the size info should be in fixed pattern so that i can parse. i am using the command in the java program. In the syslog or dmesg the location and contents will change dynamically.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-25-2004 05:43 PM
10-25-2004 05:43 PM
Re: how to find the RAM size on HP machine
sall
il
find the size of each RAM on slot correcponding!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-25-2004 05:48 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-25-2004 05:56 PM
10-25-2004 05:56 PM
Re: how to find the RAM size on HP machine
attached. file containing output from my L-classe.
regards
Yogeeraj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-25-2004 06:04 PM
10-25-2004 06:04 PM
Re: how to find the RAM size on HP machine
i am right now using the command
echo "selclass qualifier memory;info'wait;infolog" | cstm itself but this the pipe symbol is not taken by the java program. The API i am using is getRuntime.exec(
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-25-2004 06:36 PM
10-25-2004 06:36 PM
Re: how to find the RAM size on HP machine
See if this one works.
# dmesg | grep Physical
Regards,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-26-2004 01:20 AM
10-26-2004 01:20 AM
Re: how to find the RAM size on HP machine
sam --> Performance Monitors --> System Properties --> Memory
Physical Memory: ..... MB
HTH.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-26-2004 01:23 AM
10-26-2004 01:23 AM
Re: how to find the RAM size on HP machine
# hpmem
HP-UX svr003 B.11.11 U 9000/800 250123456 unlimited-user license
CPU Count: 6
CPU Speed: 750 MHz
CPU HW Support: 64-bit
Kernel Support: 64-bit
RAM Size: 10080 MB
bufpages: 806 MB
maxuprc: 800
maxvgs: 128
maxfiles: 2048
max_thread_proc: 256
nfile: 189100
nflock: 1200
nproc: 2560
ninode: 16384
shmmax: 1073741824
shmmni: 256
dbc_max_pct: 8
Rgds...Geoff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-26-2004 01:25 AM
10-26-2004 01:25 AM
Re: how to find the RAM size on HP machine
dmesg | awk '/Physical/ { print "RAM Size = "$2/1024" "MB }'
HTH.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-26-2004 01:26 AM
10-26-2004 01:26 AM
Re: how to find the RAM size on HP machine
HPUX=/stand/vmunix
MAJORREV=$(uname -r | cut -f2 -d .)
if [ $MAJORREV -ge "11.0" ]
then
MYSYMBOL="phys_mem_pages"
else
MYSYMBOL="physmem"
fi
MYMEM=$(echo "${MYSYMBOL}/D" \
| adb $HPUX /dev/kmem \
| grep "${MYSYMBOL}: *." \
| awk '{printf "%.0f MB\n",$2/256}')
echo $MYMEM
Pete
Pete