1761133 Members
3279 Online
108898 Solutions
New Discussion юеВ

Re: gcore for hpux?

 
SOLVED
Go to solution
Tim Killinger
Regular Advisor

gcore for hpux?

Does anyone know if and where "gcore" utility is available for HPUX? We have a serious problem with iplanet webserver performing poorly on a relative untaxed system, and need to do some iplanet core analysis.

Thanks for anything you can suggest!
12 REPLIES 12
Dave Olker
HPE Pro
Solution

Re: gcore for hpux?

Hi Tim,

I have access to some internal tools web page and one of the tools on that page is the HP-UX version of gcore. I'd be happy to provide it for you but I need to know which version of HP-UX you want it compiled for?

Regards,

Dave
I work for HPE

[Any personal opinions expressed are mine, and not official statements on behalf of Hewlett Packard Enterprise]
Accept or Kudo
Ermin Borovac
Honored Contributor

Re: gcore for hpux?

If you are looking for the program that will dump core image of the running process (without stopping it), HP's gdb (/opt/langtools/bin/gdb) from version 3.2 onwards has a command 'dumpcore' to achieve this.

# gdb
HP gdb 3.3 for PA-RISC 1.1 or 2.0 (narrow), HP-UX 11.00.
Copyright 1986 - 2001 Free Software Foundation, Inc.
Hewlett-Packard Wildebeest 3.3 (based on GDB) is covered by the
GNU General Public License. Type "show copying" to see the conditions to
change it and/or distribute copies. Type "show warranty" for warranty/support.

(gdb) attach 17028
Attaching to process 17028
No executable file name was specified
(gdb) dumpcore
Dumping core to the core file core.17028
(gdb) quit
The program is running. Quit anyway (and detach it)? (y or n) y
Detaching from program: , process 17028
Manish Srivastava
Trusted Contributor

Re: gcore for hpux?

Hi,

Which version do you want this utility for?
check the following site:
http://rpm-www.rose.hp.com/~chrisb/tools.html

manish
Tim Killinger
Regular Advisor

Re: gcore for hpux?

Dave and others,

HPUX 11.00 .... Thanks!
Dave Olker
HPE Pro

Re: gcore for hpux?

Hi Tim,

Attached is the HP-UX 11.0 version of gcore from our HP web site.

Regards,

Dave
I work for HPE

[Any personal opinions expressed are mine, and not official statements on behalf of Hewlett Packard Enterprise]
Accept or Kudo
Michael Murphy_2
Frequent Advisor

Re: gcore for hpux?

No need to get fancy with external packages/third party products to do this - kill -IOT will do the trick.

Mike
P V S  S Vikas
New Member

Re: gcore for hpux?

Hi Tim,

I've downloaded your shell script attachment which on executing gave gcore and fixcore executables.

but I'm facing issue with using it on HP-UX B.11.11, HP-UX B.11.23

Can you please help me in providing the appropriate binary.

It would be really helpful if you can briefly tell me about fixcore functionality.

Thanks,
-Vikas.
Dennis Handly
Acclaimed Contributor

Re: gcore for hpux?

>Vikas: Can you please help me in providing the appropriate binary.

You can simply invoke gdb on the process and use the gcore command there.
Dave Olker
HPE Pro

Re: gcore for hpux?

Hi Vikas,

I've located updated gcore binaries that should work on 11.23. There were two different binaries so I pulled them both. Hopefully one of them will work for you. I'll attach them in separate posts.

Regards,

Dave
I work for HPE

[Any personal opinions expressed are mine, and not official statements on behalf of Hewlett Packard Enterprise]
Accept or Kudo