- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Need Script to check memory Performance
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
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
тАО10-20-2009 01:37 AM
тАО10-20-2009 01:37 AM
Need Script to check memory Performance
Hi Guys,
Can someone please assist, I am looking for a simple script for our HP-UX (11.23) server, to simply check memory performance and to warn me if free memory goes below <2gb.
Thanks
Amreek
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-20-2009 01:57 AM
тАО10-20-2009 01:57 AM
Re: Need Script to check memory Performance
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-20-2009 02:06 AM
тАО10-20-2009 02:06 AM
Re: Need Script to check memory Performance
Thanks
Amreek
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-20-2009 02:58 AM
тАО10-20-2009 02:58 AM
Re: Need Script to check memory Performance
Which memory you need to check.
1.physical
2.swap
3.all
Suraj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-20-2009 03:16 AM
тАО10-20-2009 03:16 AM
Re: Need Script to check memory Performance
Hi Suraj,
I just need to check/monitor the physical memory. Not any others.
Thanks
Amreek
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-20-2009 04:05 AM
тАО10-20-2009 04:05 AM
Re: Need Script to check memory Performance
It is not simple.
You need to take the buffer cache settings and usage into account.
I would argue that the better way of testing 2GB free is to test whether the UBC if free memory + the difference of current UBC usage ( kmeminfo) and the UBC max is less than 2GB.
You see, the UBC is allowed to eat into free memory, but ready to give it back when needed for process memory.
Hein
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-20-2009 04:44 AM
тАО10-20-2009 04:44 AM
Re: Need Script to check memory Performance
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-20-2009 05:56 AM
тАО10-20-2009 05:56 AM
Re: Need Script to check memory Performance
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-20-2009 06:13 AM
тАО10-20-2009 06:13 AM
Re: Need Script to check memory Performance
You can run the kmeminfo utility in loop and grep the physical memory usage.
For kmeminfo : check out: http://forums11.itrc.hp.com/service/forums/questionanswer.do?threadId=1125085
- Put one 'if-then' condition with meminfo output: if free memory less than 2GB , then execute mailx to send alert.
Hth,
Raj.