- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: TOP output
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
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
тАО04-27-2005 04:08 PM
тАО04-27-2005 04:08 PM
following is a part of top o/p. i am need of description of the following fields.
my system is having 12gb phy mem installed.
Memory: 3331596K (2131828K) real, 4408428K (2704892K) virtual, 285824K free Pag
e# 1/50.
Thanks.
yogesh
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-27-2005 04:12 PM
тАО04-27-2005 04:12 PM
SolutionAttached is a good document which will help you identify the relations between physical memory, real memory, virtual memory and free pages. It also describes about the differences between the output of various commands.
This is also available at
ftp://eh:spear9@hprc.external.hp.com/memory.htm
Regards,
Naveej
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-27-2005 11:22 PM
тАО04-27-2005 11:22 PM
Re: TOP output
# grep Physical /var/adm/syslog/syslog.log
Regards
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-28-2005 01:26 AM
тАО04-28-2005 01:26 AM
Re: TOP output
You can check the details from below as well
SAM -> Performance Monitors -> System Properties
According to SAM
Physical Memory:
Amount of physical memory (RAM) installed in the machine.
Real Memory:
Amount of real memory in the machine that is available to user processes and the virtual paging system (not held by the kernel: Active: Real memory currently being used. Total: Total real memory in the system.
To get more infor about physical memory and real memory , you can check
http://docs.hp.com/cgi-bin/fsearch/framedisplay?top=/hpux/onlinedocs/5965-4641/5965-4641_top.html&con=/hpux/onlinedocs/5965-4641/00/00/1-con.html&toc=/hpux/onlinedocs/5965-4641/00/00/1-toc.html&searchterms=management%7cmemory&queryid=20041201-024903
and about real memory :
http://docs.hp.com/cgi-bin/fsearch/framedisplay?top=/hpux/onlinedocs/B8844-90006/B8844-90006_top.html&con=/hpux/onlinedocs/B8844-90006/00/01/143-con.html&toc=/hpux/onlinedocs/B8844-90006/00/01/143-toc.html&searchterms=management%7cmemory&queryid=20041201-024903
Cheers,
Himanshu
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-28-2005 02:03 AM
тАО04-28-2005 02:03 AM
Re: TOP output
#!/bin/ksh
#
# Taken from the HP/UniGraphics FAQ
# You must be ROOT to execute this since it uses adb to
# examine the running kernel
#
GetKernelSymbol()
{
echo "$1/D" | \
adb -k $hpux /dev/kmem | \
tr "\012" " " | \
read junk junk2 kval
}
hpux=/hp-ux
rev=$(uname -r | cut -d. -f2)
if ((rev > 9)); then hpux=/stand/vmunix ;fi
/bin/uname -a
GetKernelSymbol "processor_count"
print CPU Count: $kval
GetKernelSymbol "itick_per_tick"
let speed=kval/10000
print CPU Speed: $speed MHz
if ((rev > 10)); then
print CPU HW Support: `getconf HW_CPU_SUPP_BITS`-bit
print Kernel Support: `getconf KERNEL_BITS`-bit
GetKernelSymbol "memory_installed_in_machine"
else
GetKernelSymbol "physmem"
fi
let mb=kval*4/1024 # convert pages to MB
print RAM Size: $mb MB
GetKernelSymbol "bufpages"
let mb=kval*4/1024 # convert pages to MB
print bufpages: $mb MB
GetKernelSymbol "maxuprc"
print maxuprc: $kval
GetKernelSymbol "maxvgs"
print maxvgs: $kval
GetKernelSymbol "maxfiles"
print maxfiles: $kval
GetKernelSymbol "max_thread_proc"
print max_thread_proc: $kval
GetKernelSymbol "nfile"
print nfile: $kval
GetKernelSymbol "nflocks"
print nflock: $kval
GetKernelSymbol "nproc"
print nproc: $kval
GetKernelSymbol "ninode"
print ninode: $kval
GetKernelSymbol "vfd_cw"
print shmmax: $kval
GetKernelSymbol "shmmni"
print shmmni: $kval
GetKernelSymbol "dbc_max_pct"
print dbc_max_pct: $kval
The other is a C program (attached) called memdetail (just compile it with built in HPUX cc):
# memdetail
Memory Stat total used avail %used
physical 10080.0 10030.0 50.0 100%
active virtual 13110.0 6226.4 6883.6 47%
active real 7825.5 3683.1 4142.4 47%
memory swap 7693.0 1552.7 6140.2 20%
device swap 26528.0 12287.0 14241.0 46%
Rgds...Geoff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-28-2005 03:53 PM
тАО04-28-2005 03:53 PM
Re: TOP output
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-28-2005 04:03 PM
тАО04-28-2005 04:03 PM
Re: TOP output
top will never show you the amount of physical memory avlbl on system. You will have to use other mechanism as described in other mails. However here is the description of top output.
Memory:
3331596K - Physcial memory in use
(2131828K) real - Active Physical memory i.e. accessed in last interval (of few seconds/cycles??? I am not sure)
4408428K - Virtual mem in use
(2704892K)- Active virtual mem
285824K free - phy mem avlbl
-Amit