- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Command to find the memory
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
07-28-2005 10:12 AM
07-28-2005 10:12 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-28-2005 10:15 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-28-2005 10:34 AM
07-28-2005 10:34 AM
Re: Command to find the memory
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-28-2005 10:36 AM
07-28-2005 10:36 AM
Re: Command to find the memory
here is a small script courtesy Stephan Farrely
-----------------------------------
#!/bin/ksh
# Find total memory claimed by system.
# With help of Stefan Farrely
count=0
for input in `UNIX95= ps -e -o vsz=Kbytes -o ruser -o pid,args=Command-Line | sort -rnk1 | grep -v Kbytes | awk '{print $1}'`
do
count=`expr $count + $input`
done
print "Total memory claimed : $count Kbytes \n"
----------------------
thanks
DP
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-28-2005 10:47 AM
07-28-2005 10:47 AM
Re: Command to find the memory
Depends on the OS version you are using.
For 10.x use:
# echo physmem/D | adb /stand/vmunix /dev/kmem
For 32-bit 11.x use:
# echo phys_mem_pages/D | adb /stand/vmunix /dev/kmem
For 64-bit 11.x multiply the output below with 4096 for total memory in bytes:
# echo phys_mem_pages/D | adb /stand/vmunix /dev/kmem
with SAM...
SAM -> Performance Monitors -> System Properties -> Memory
cheers!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-28-2005 10:50 AM
07-28-2005 10:50 AM
Re: Command to find the memory
hope it helps!!!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-28-2005 12:02 PM
07-28-2005 12:02 PM
Re: Command to find the memory
To get the total physical memory on a system
grep -i physical grep -i physical /var/adm/syslog/OLDsyslog.log
or
Memory:
echo 'phys_mem_pages/D' |adb -k /stand/vmunix /dev/kmem
Multiply the above with 4 to get it in KB.
IA
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-28-2005 01:43 PM
07-28-2005 01:43 PM
Re: Command to find the memory
aside from pulling out the top of yr server ....
try this:
# dmesg|grep Physical
for total physical memory
if u r running make_tape_recovery, run print_manifest command for other hardware, software and kernel info.
or use sam -> Performance Monitor -> System Properties -> Memory tab
regards.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-28-2005 05:13 PM
07-28-2005 05:13 PM
Re: Command to find the memory
1> sam -> performance monitor -> system properties -> memory tab
2> dmesg | grep 'Phy'
3> If ignite-ux installed,
print_manifest
4> If o/s version is 11.23 then,
machinfo
hth.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-28-2005 09:24 PM
07-28-2005 09:24 PM
Re: Command to find the memory
You can use dmesg or glance plus or stm all will give you system memory.
Cheers!!!
eknath
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-30-2005 06:26 PM
07-30-2005 06:26 PM
Re: Command to find the memory
easiest would be to fire up glance
or
dmesg | grep -i physical
and the like
DP
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-30-2005 07:31 PM
07-30-2005 07:31 PM
Re: Command to find the memory
The most common procedure for the same are following three.
#dmesg |grep Physical
to know total memory installed in the ststem.
For detaled information regarding various physical modules installed in the system try.
echo "selclass qualifier memory;info;wait;infolog"|cstm
HTH,
Devender
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-30-2005 07:45 PM
07-30-2005 07:45 PM
Re: Command to find the memory
1. #dmesg |grep physical is one of way of knowing physical memory in system
2. #top can also give you an idea on system memory
Regards
Mahesh