- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Free Memory Leakage Tool for HP-UX Platfrom
Categories
Company
Local Language
Forums
Discussions
Knowledge Base
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Knowledge Base
Forums
Discussions
- Cloud Mentoring and Education
- Software - General
- HPE OneView
- HPE Ezmeral Software platform
- HPE OpsRamp
Knowledge Base
Discussions
Forums
Discussions
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
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
01-17-2002 10:19 PM
01-17-2002 10:19 PM
Free Memory Leakage Tool for HP-UX Platfrom
Still I am not able to find any tool which is free and runs fine for Memory leakage on HP platfrom.If any one has idea about it please reply ASAP.
TIA
/vipin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-17-2002 10:48 PM
01-17-2002 10:48 PM
Re: Free Memory Leakage Tool for HP-UX Platfrom
For your reference.
http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0x6b0d72106351d5118fef0090279cd0f9,00.html
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-18-2002 12:57 AM
01-18-2002 12:57 AM
Re: Free Memory Leakage Tool for HP-UX Platfrom
There is no decent tool Ive ever come across on HP-UX for spotting memory leaks. The link in an earlier reply to glance and the old basic ps command are handy, but not the complete solution.
There is only one way to catch a memory leak and that is to test for it in a controller manner. ie. Only allow a single user on to the system. Watch memory usage very closely using vmstat (free count) and when the users process starts then stops, check vmstat free count again, did all the memory come back ? Then you need to test is again, again and again. Preferrably after a clean reboot each time so again evetything is tested the same and can be controlled.
If youre worried about a web based application and java then almost for sure you have a memory leak! these 2 applications are notorious for causing them. Simply poorly written code.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-18-2002 02:17 AM
01-18-2002 02:17 AM
Re: Free Memory Leakage Tool for HP-UX Platfrom
Try sarcheck. I have tried it once quite a long time back, pretty impressive, reports on processes having memory leaks.
http://www.sarcheck.com/schp.htm
Hope this helps. Regards.
Steven Sim Kok Leong
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-18-2002 07:10 AM
01-18-2002 07:10 AM
Re: Free Memory Leakage Tool for HP-UX Platfrom
use "crontab" to execute something like:
UNIX95= ps -C YOUR-PROGRAM'S-CODEFILE -o "user,vsz,pid,ppid,args" >> /tmp/memleak.log
over a period of thime (while the usual suspects are running) and check for the one having its regions growing...
Just my $0.0,2
Wodisch
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-18-2002 08:16 PM
01-18-2002 08:16 PM
Re: Free Memory Leakage Tool for HP-UX Platfrom
$ UNIX95= ps -e -o "vsz,pid,ruser,args" | sort -rn | more
This sorts all the processes by memory size, largest first. Be sure you patch snmp if it shows up at the top of the list.
Bill Hassell, sysadmin