- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- which command is used to find the original physica...
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
06-03-2009 06:18 AM
06-03-2009 06:18 AM
I am using HP-UX 11.00.
1)Swapinfo report:
root@ad121991.emdna.emdiesels.com:/root > swapinfo
Kb Kb Kb PCT START/ Kb
TYPE AVAIL USED FREE USED LIMIT RESERVE PRI NAME
dev 8388608 144184 8244424 2% 0 - 1 /dev/vg00/lvol2
reserve - 932556 -932556
memory 3160504 2943308 217196 93%
Total = 3160504K (almost 3GB)
2)Print_manifest report:
root@ad121991.emdna.emdiesels.com:/root > print_manifest | grep -i memory
Main Memory: 4094 MB
Total = 4192256K (almost 4GB)
3)top report:
Memory: 314760K (174924K) real, 1266496K (507568K) virtual, 497968K free Page#
1/25
Total = 2079224k (almost 2GB).
Which one is correct.
Pls explain the difference between three commands.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-03-2009 06:22 AM
06-03-2009 06:22 AM
SolutionHPUX=/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
06-03-2009 06:24 AM
06-03-2009 06:24 AM
Re: which command is used to find the original physical that "swapinfo" or "print_manifest" or "top"
2) This is the total available physical RAM in your system.
3) Check the man page. I've never quite understood how top interprets information.
>>Which one is correct.
Well, which is correct for what? They are all "correct" in that they report different things.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-03-2009 06:31 AM
06-03-2009 06:31 AM
Re: which command is used to find the original physical that "swapinfo" or "print_manifest" or "top"
Pls explain me each report in detail.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-03-2009 06:36 AM
06-03-2009 06:36 AM
Re: which command is used to find the original physical that "swapinfo" or "print_manifest" or "top"
# man swapinfo
# man print_manifest
# man top
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-03-2009 06:46 AM
06-03-2009 06:46 AM
Re: which command is used to find the original physical that "swapinfo" or "print_manifest" or "top"
The print_manifest and glance commands are perfect to find the original memory
Regards
Sunny
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-03-2009 07:33 AM
06-03-2009 07:33 AM
Re: which command is used to find the original physical that "swapinfo" or "print_manifest" or "top"
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-04-2009 09:05 AM
06-04-2009 09:05 AM
Re: which command is used to find the original physical that "swapinfo" or "print_manifest" or "top"
This are 3 different utility's ..
I already put the same question to my self !! ..
The answer is that any utility have they one purpose.
To check the realm memory you can use print_manifest | grep -i memory or glance.
To tuning memory, the best tools are kminfo, swpinfo and glance
If you have any doubt please reply !!
Best regards
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-04-2009 08:55 PM
06-04-2009 08:55 PM
Re: which command is used to find the original physical that "swapinfo" or "print_manifest" or "top"
amongst your above commands, print_manifest is the most exact output.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-04-2009 09:51 PM
06-04-2009 09:51 PM
Re: which command is used to find the original physical that "swapinfo" or "print_manifest" or "top"
All 3 are correct
swapinfo :- is useful to see the swap memory
print_manifest :- is showing your physical memory
and top :- is showing your virtual memory, free memory etc.
See this belo thread
http://forums11.itrc.hp.com/service/forums/questionanswer.do?threadId=1087669
for more information on these
see the man pages of them
Suraj