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-16-2002 05:00 AM
10-16-2002 05:00 AM
memory
Can anybody let me know how to check the memory of Hp ux machine using command line.
thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-16-2002 05:04 AM
10-16-2002 05:04 AM
Re: memory
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-16-2002 05:16 AM
10-16-2002 05:16 AM
Re: memory
Multiply the resultant by 4096to get the value.
Also can use
#cat /var/adm/syslog/syslog.log|grep Phy
to get the amount of memory
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-16-2002 05:20 AM
10-16-2002 05:20 AM
Re: memory
The command
# dmesg
will show you some memory information.
Typically look for:
Memory Information:
Physical: 262144 Kbytes, lockable: 179996 Kbytes, available: 211716 Kbytes
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-16-2002 05:21 AM
10-16-2002 05:21 AM
Re: memory
Do you mean checking size or checking fro errors ? Pete gave you a good script for size.
Here is an access to error log from diags :
A - get your memory HW path from ioscan -k (something like 8 memory Memory)
B - create an input file (X is your memory HW path) containing :
sel path X
il
done
exit
C - run "cstm < file"
Output will be something like :
-- Information Tool Log for MEMORY on path 8 --
Log creation time: Wed Oct 16 15:16:39 2002
Hardware path: 8
Basic Memory Description
Module Type: MEMORY
Total Configured Memory : 512 MB
Page Size: 4096 Bytes
Memory interleaving is supported on this machine and is ON.
Memory Board Inventory
DIMM Slot Size (MB)
--------- ---------
0a 256
0b 256
--------- ---------
System Total (MB): 512
Memory Error Log Summary
The memory error log is empty.
Page Deallocation Table (PDT)
PDT Entries Used: 0
PDT Entries Free: 50
PDT Total Size: 50
-- Information Tool Log for MEMORY on path 8 --
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-16-2002 06:24 AM
10-16-2002 06:24 AM
Re: memory
>mem
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-16-2002 06:53 AM
10-16-2002 06:53 AM
Re: memory
Couple of ways to do it :
1. dmesg | grep Phy will give you the physcial memeory .
2. SAM--->Performance Monitors--->system properties .
3. Glance
4. print _manifest if you ahve ignite installed .
Manoj Srivastava
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-16-2002 06:56 AM
10-16-2002 06:56 AM
Re: memory
echo "selclass qualifier memory;info;wait;infolog"|cstm
Tom