- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- VM Monitoring
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-08-2008 01:27 AM
тАО04-08-2008 01:27 AM
VM Monitoring
I have a question according monitoring memory on hp ux systems. How do you monitoring your memory on servers: vmstat, glance ?
Best Regars,
Krzysztof
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-08-2008 01:57 AM
тАО04-08-2008 01:57 AM
Re: VM Monitoring
vmstat works.
glance works, costs money.
swapinfo -tam can help.
sar suite
http://www.hpux.ws/?p=6
Memory leak detector:
http://www.hpux.ws/?p=8
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-08-2008 02:22 AM
тАО04-08-2008 02:22 AM
Re: VM Monitoring
But I need to start command from user not root.
HP-UX:
grep Physical /var/adm/syslog/syslog.log
/usr/sbin/swapinfo -tam
Very nice link:
http://sysdigg.blogspot.com/2008/01/how-to-check-memory-usage-in-hp-ux.html
For example:
# kctune -q vps_pagesize
Tunable Value Expression
vps_pagesize 4 Default
pages are 4KB.
# vmstat 1 2
procs memory page faults cpu
r b w avm free re at pi po fr de sr in sy cs us sy id
1 0 0 916139 626050 252 55 15 0 0 0 0 4793 47483 4593 3 6 90
1 0 0 916139 626237 18 3 0 0 0 0 0 2025 40549 334 2 0 98
free pages on the system: 626237.
Free RAM: 626237 x 4KB = 2504948 KB, 2446 MB.
Glance Memory Reports says:
Total VM : 4.3gb Sys Mem : 1.6gb User Mem: 3.2gb Phys Mem: 7.9gb
Active VM: 4.0gb Buf Cache: 813mb Free Mem: 2.4gb
But Total VM is important to me and Active VM
Regards
Krzysztof
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-08-2008 02:32 AM
тАО04-08-2008 02:32 AM
Re: VM Monitoring
memory
it will give used memory total memory free memory etc.. u can easily understand from there it is in which logical volume
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-08-2008 03:09 AM
тАО04-08-2008 03:09 AM
Re: VM Monitoring
Firstly, you can run standard HP-UX tools
in HP VM guests and host itself without any problem. For example, there is nothing wrong
to run GlancePlus, vmstat, and so on in each
HP VM guest directly.
Typical software that can run on VM host includes system performance monitoring tools
(GlancePlus, Measureware, OpenView Operations Agent)...
In addition, here are some options.
a) Starting with version C.04.60.000 Glance
has a new option "-V" which allows to gather
some basic online performance data from HP VM host. These include configured and current
entitlements, logical and physical CPU usage
and guest uptime. Therefore:
# glance -V
b) Since each VM is manifested as a Unix
process running on the VM host, the physical
resources (including CPU, I/O, and so on)
consumed by a given VM can be identified by
monitoring the process associated with that
VM.
These processes have the executable name
hpvmapp and typically have the option "├в d"
whose argument name is the name of the VM. For example, the process with command
"hpvmapp ├в d myvm1" corresponds to the
virtual machine named "myvm1".
c) Simple tools such as ps(1) and top(1) can
be used on the VM host to monitor a virtual
machine by identifying the process ID for a
given VM. For example, the PID for some VM
can be identified from the output of:
# ps ├в fu root | grep hpvmapp
... and then used with top to identify the resources being consumed by that VM.
d) More elegant solutions can be achieved
with tools such as HP├в s GlancePlus.
Each VM may be defined as an OpenView
application by creating an application
definition in the OpenView parameter file
/var/opt/perf/parm. For example, inserting
the following application definitions for
the virtual machines named vm1, vm2, and vm3
in /var/opt/perf/parm enables GlancePlus to
identify them as applications:
application vm1
cmd = *hpvmapp -d*vm1
application vm2
cmd = *hpvmapp -d*vm2
application vm3
cmd = *hpvmapp -d*vm3
This makes it easy to track the resource
utilization of each VM through Glance├в s
Application List reporting functionality.
e) HP WTEC labs have an unsupported tool
called hpvmsar.
f) There is another lab tool called kmeminfo.
g) In each VM guest, to check dynamic memory
you can run:
# hpvmmgmt -V -l ram
or from the HP VM Host:
# hpvmstatus -V -P
h) If you are using Java in VM, there is
HPJmeter toolkit.
I am sure there are more possibilities :)
Cheers,
VK2COT
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-08-2008 03:17 AM
тАО04-08-2008 03:17 AM
Re: VM Monitoring
Krzysztof