- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Physical Memory of HO-UX 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
Discussions
Discussions
Forums
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
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-13-2009 09:20 PM
тАО10-13-2009 09:20 PM
Physical Memory of HO-UX Machine
Can anyone help me to get a command to find out total physical memory installed in a hp-ux machine. I have HP - 9000 A ClASS A180 Server.
Thanks
Dheeraj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-13-2009 09:23 PM
тАО10-13-2009 09:23 PM
Re: Physical Memory of HO-UX Machine
# echo "selclass qualifier memory;info;wait;infolog" | /usr/sbin/cstm
Hope this helps!
Regards
Torsten.
__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.
__________________________________________________
No support by private messages. Please ask the forum!
If you feel this was helpful please click the KUDOS! thumb below!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-13-2009 09:25 PM
тАО10-13-2009 09:25 PM
Re: Physical Memory of HO-UX Machine
From Top command you can get the size of your physical memory or in the command prompt you can give this commands also.
#dmesg | grep -i phy
On Integrity use
#machinfo
on PA-RISC
#echo "selclass qualifier memory; info, wait; infolog" | cstm > /tmp/meminfo
or
#print_manifest|grep -i mem"
Suraj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-13-2009 09:30 PM
тАО10-13-2009 09:30 PM
Re: Physical Memory of HO-UX Machine
would also give u physical memory.
BR,
Kapil+
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-13-2009 10:25 PM
тАО10-13-2009 10:25 PM
Re: Physical Memory of HO-UX Machine
You can use cstm:
root> cstm
cstm>map
cstm>sel dev 30 <-- (30 is the dev num for my memory)
cstm>info
cstm>il
OR use sam:
SAM > Performance Monitors > System Properties > Memory
Regds..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-13-2009 11:14 PM
тАО10-13-2009 11:14 PM
Re: Physical Memory of HO-UX Machine
#!/bin/sh
HPUX=/stand/vmunix
MODEL=$(grep -i $(model | tr "/" " " \
| awk '{print $NF}') \
/usr/sam/lib/mo/sched.models \
| awk '{print $NF}')
MHZ=$(echo itick_per_tick/D \
| adb -k $HPUX /dev/kmem \
| tail -1 \
| awk '{print $2/10000}')
echo `hostname` has `ioscan -k |grep -n processor \
|wc -l` $MODEL $MHZ "Mhz processor(s)"
MEM=$(echo "phys_mem_pages/D" \
| adb -k /stand/vmunix /dev/kmem \
| awk -F: 'NR>1 {print $2/256}' )
echo `hostname` has $MEM MB MAin Memory
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-15-2009 01:01 AM
тАО10-15-2009 01:01 AM
Re: Physical Memory of HO-UX Machine
this should run: (sorry but I cannot test it now)
perl -e 'local($PSTAT,$PSTAT_STATIC,$mem_info,$PSTAT_STRUCT)=(239,2,"\0"x120,"LI4L");
syscall($PSTAT,$PSTAT_STATIC,$mem_info,length($mem_info),1,0);
print "RAM=".int((unpack($PSTAT_STRUCT,$mem_info))[4]*((unpack($PSTAT_STRUCT,$mem_info))[5])/(1024*1024))."\n";'
HTH,
Art
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-15-2009 01:21 AM
тАО10-15-2009 01:21 AM
Re: Physical Memory of HO-UX Machine
grep Physical /var/adm/syslog/syslog.log
gives you the Physical memory.
For Kapil: memory line in swapinfo has nothing to do with Physical memory, it's the pseudo-swap.
Best regards,
Fabio