- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: How to initiate a dump upon a process on HPUX?
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
01-11-2010 11:19 PM
01-11-2010 11:19 PM
I'm working on a customer's site.
Their system is HPUX.
I want to write a script when the memory consumption of a specific process reached 2M, a memory dump of the process is initiated.
I know livedump, but it seems to be OS level. But, I just want to get the information about the process not the OS.
Any advice is highly appreciated.
Regards,
Tony
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-12-2010 01:13 AM
01-12-2010 01:13 AM
Re: How to initiate a dump upon a process on HPUX?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-12-2010 01:43 AM
01-12-2010 01:43 AM
Re: How to initiate a dump upon a process on HPUX?
http://forums11.itrc.hp.com/service/forums/questionanswer.do?threadId=945279
I only underline that for any system, kill -l would list all values of signame supported.
Best regards,
Horia.
Horia.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-12-2010 02:01 AM
01-12-2010 02:01 AM
Re: How to initiate a dump upon a process on HPUX?
But I just don't want to kill the process because it may be still running. It's maybe hanging...
I just want to get the memory detail when it's hanging, I want to know why it's using 2G memory?
Is there some way to dump without killing the process?
Thanks again for your help.
Regards,
Tony
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-12-2010 02:39 AM
01-12-2010 02:39 AM
Re: How to initiate a dump upon a process on HPUX?
You should check your process manual.
Best regards,
Horia.
Horia.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-12-2010 03:48 AM
01-12-2010 03:48 AM
Re: How to initiate a dump upon a process on HPUX?
2 Mb is pretty small, 2 Gb? To get 2 Gb, are you compiling with +DD64?
What do you plan to do with the dump?
>Is there some way to dump without killing the process?
wdb has a gcore command.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-12-2010 04:25 AM
01-12-2010 04:25 AM
Re: How to initiate a dump upon a process on HPUX?
The customer is using BusinessObjects solution and they want to monitor a process which may hang up without any notification...
So we want to monitor this process without killing it (because it maybe not dead) when its memory consumption is more than 2G and trigger writing memory information into dump file for further debug.
I have checked "gcore" command document, it seems to meet my requirement...
Thank you very much for your advice.
And I'll have a try.
Regards,
Tony
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-12-2010 04:29 AM
01-12-2010 04:29 AM
SolutionIt writes all of memory to the core file.
Or if you are looking for leaks, you can use wdb's heap checking commands.
>Thank you very much for your advice.
If you are happy with the answers you got, please read the following on how to assign points:
http://forums.itrc.hp.com/service/forums/helptips.do?#33