- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Memory Utilization?
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
11-26-2008 11:30 PM
11-26-2008 11:30 PM
Hi Friends,
How to find the memeory utilization in HP-UX.
Pls anyone help tome? it's very urgent....
Regards,
Unixguy.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-26-2008 11:36 PM
11-26-2008 11:36 PM
Re: Memory Utilization?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-26-2008 11:39 PM
11-26-2008 11:39 PM
Solution# glance
then press m for memory usgae to check
B3692A GlancePlus C.03.71.00 15:38:06 hudt02 9000/800 Current Avg High
--------------------------------------------------------------------------------
CPU Util SAU | 3% 3% 3%
Disk Util FVV | 5% 5% 5%
Mem Util S SU UB B | 92% 92% 92%
Swap Util U UR R | 50% 50% 50%
--------------------------------------------------------------------------------
MEMORY REPORT Users= 2
Event Current Cumulative Current Rate Cum Rate High Rate
--------------------------------------------------------------------------------
Page Faults 101 101 72.1 72.1 72.1
Page In 8 8 5.7 5.7 5.7
Page Out 0 0 0.0 0.0 0.0
KB Paged In 124kb 124kb 88.5 88.5 88.5
KB Paged Out 0kb 0kb 0.0 0.0 0.0
Reactivations 0 0 0.0 0.0 0.0
Deactivations 0 0 0.0 0.0 0.0
KB Deactivated 0kb 0kb 0.0 0.0 0.0
VM Reads 9 9 6.4 6.4 6.4
VM Writes 0 0 6.4 0.0 0.0
Total VM : 1.62gb Sys Mem : 363.5mb User Mem: 783.9mb Phys Mem: 1.50gb
Active VM: 1.30gb Buf Cache: 262.1mb Free Mem: 126.5mb Page 1 of 1
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-26-2008 11:40 PM
11-26-2008 11:40 PM
Re: Memory Utilization?
If you have glance installed . Please use the glance command.
Or Else use the below command
#export UNIX95=1
#ps -efo vsz,sz,pid,args |grep -v grep | sort -rnk 1 | more
Where vsz is the vitual memory and sz is the actual memory used by a process
Sagar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-26-2008 11:44 PM
11-26-2008 11:44 PM
Re: Memory Utilization?
What are you trying to find out?
>Sagar: #export UNIX95=1
#ps -efo vsz,sz,pid,args
It is very dangerous to export UNIX95, instead you should do:
UNIX95=EXTENDED_PS ps -efo vsz,sz,pid,args | sort -rn -k1
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-26-2008 11:47 PM
11-26-2008 11:47 PM
Re: Memory Utilization?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-26-2008 11:58 PM
11-26-2008 11:58 PM
Re: Memory Utilization?
Thanks friends for ur kindreplay.
But i am not able to use the Glance Command in our server.
I thing that tools is not installed in Server.
Am i right?
and i want to know the exact Physical Memory?
is there any command except the glance Command.
Thanks Johnson ur output is giving the exact details.
Iam Waiting for your reply.
Regards,
Unixguy.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-27-2008 12:04 AM
11-27-2008 12:04 AM
Re: Memory Utilization?
You use many commands to find the Memory size
1)echo phys_mem_pages/D |adb /stand/vmunix /dev/kmem
You Can cstm command
2) echo "selclass qualifier memory;sleep;info;infolog" | cstm
3) dmesg | grep Phys
Sagar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-27-2008 12:04 AM
11-27-2008 12:04 AM
Re: Memory Utilization?
cd /var/adm/syslog
grep Physical syslog.log
That will show available memory at startup.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-27-2008 12:06 AM
11-27-2008 12:06 AM
Re: Memory Utilization?
How do I undertand/resolve the different result about the memory usuage from "physmem", "swapinfo", "top", and "glance".
Physical Memory
Can use dmesg to report Physical memory (RAM) info. For example:
# dmesg | grep Phys
Physical: 212992 Kbytes, lockable: 152792 Kbytes, available: 178188 Kbytes
Note:
This system has 2GB physical memory.
Lockable memory is used for
Process images and overhead locked using the plock() system call (see HP-UX Reference entry plock(2)).
Shared memory segments locked with the SHM_LOC command of the shmctl() system call (see HP-UX Reference entry shmctl(2)).
Miscellaneous dynamic kernel data structures used by the shared memory system and some drivers
Can also report Physical memory (RAM) size with adb:
11.x # echo phys_mem_pages/D | adb /stand/vmunix /dev/kmem
physmem:
physmem: 524288
10.x # echo physmem/D |adb -k /stand/vmunix /dev/kmem
physmem:
physmem: 524288
[ TOP ]
--------------------------------------------------------------------------------
SWAP
# swapinfo -tam
Mb Mb Mb PCT START/ Mb
TYPE AVAIL USED FREE USED LIMIT RESERVE PRI NAME
dev 288 59 229 20% 0 - 1 /dev/vg00/lvol2
reserve - 146 -146
memory 102 45 57 44%
total 390 250 140 64% - 0 -
The "memory" line in the output of swapinfo is NOT physical memory, rather it is pseudoswap which is calculated to be 75% the size of RAM.
MORE...
[ TOP ]
--------------------------------------------------------------------------------
top
System: opie1 Sat Dec 18 22:10:07 2004
Load averages: 3.39, 4.42, 4.54
193 processes: 155 sleeping, 38 running
Cpu states:
LOAD USER NICE SYS IDLE BLOCK SWAIT INTR SSYS
3.39 0.0% 0.0% 0.0% 100.0% 0.0% 0.0% 0.0% 0.0%
Memory: 515216K (441660K) real, 1537516K (1434024K) virtual, 1365132K free
^ ^ ^ ^ ^
| | | | |
1 2 3 4 5
Memory is not all of physcial, memory, it is:
Total physical memory in the system DEDICATED to text, data or stack segments for all processes on the system.
Total physical memory for runnable processes, as opposed to sleeping processes.
Total memory dedicated to text, data or stack segments for all processes on the system. Some of this is paged out to disk (that is, not all of this is in current physical memory.)
Total memory for runnable processes, as opposed to sleeping or stopped processes.
Physical memory the system considers to be unused and available to new processes. When this value is low, swapping is likely to occur.
For more about top, see top(1) man page. For example:
TTY PID USERNAME PRI NI SIZE RES STATE TIME %WCPU %CPU COMMAND
? 2034 root 154 20 3936K 1084K sleep 1066:16 14.88 14.85 X
? 18768 root 154 30 312K 724K sleep 10:29 6.98 6.97 dtscreen
? 1818 root 152 20 3080K 1460K run 18:29 1.13 1.13 ns-admin
top(1) top(1)
CPU Processor number on which the process is
executing (only on multi-processor
systems).
TTY Terminal interface used by the process.
PID Process ID number.
USERNAME Name of the owner of the process. When the
-u option is specified, the user ID (uid)
is displayed instead of USERNAME.
PRI Current priority of the process.
NI Nice value ranging from -20 to +20.
SIZE Total size of the process in kilobytes.
This includes text, data, and stack.
RES Resident size of the process in kilobytes.
The resident size information is, at best,
an approximate value.
STATE Current state of the process. The various
states are sleep, wait, run, idl, zomb, or
stop.
TIME Number of system and CPU seconds the
process has consumed.
%WCPU Weighted CPU (central processing unit)
percentage.
%CPU Raw CPU percentage. This field is used to
sort the top processes.
COMMAND Name of the command the process is
currently running.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-27-2008 12:06 AM
11-27-2008 12:06 AM
Re: Memory Utilization?
#print_manifest|more
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-27-2008 12:13 AM
11-27-2008 12:13 AM
Re: Memory Utilization?
You can use the advance search to find these threads:
http://forums.itrc.hp.com/service/forums/questionanswer.do?threadId=1096083
http://forums.itrc.hp.com/service/forums/questionanswer.do?threadId=1081838
http://forums.itrc.hp.com/service/forums/questionanswer.do?threadId=1258083
http://forums.itrc.hp.com/service/forums/questionanswer.do?threadId=1242952
http://forums.itrc.hp.com/service/forums/questionanswer.do?threadId=124347
http://forums.itrc.hp.com/service/forums/questionanswer.do?threadId=99503
http://forums.itrc.hp.com/service/forums/questionanswer.do?threadId=1179723
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-27-2008 12:22 AM
11-27-2008 12:22 AM
Re: Memory Utilization?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-27-2008 01:05 AM
11-27-2008 01:05 AM
Re: Memory Utilization?
Thanks Mr.Johnson,dennis,sagar,ahsan,wilm,Yulinato
for giving the wounderful support.
it's resolved.
Regards,
Unixguy.