1832345 Members
2470 Online
110041 Solutions
New Discussion

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
Neighborhood Moderator
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 at HPE
HPE Support Center offers support for your HPE services and products when and how you need it. Get started with HPE Support Center today.
[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
Neighborhood Moderator

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 at HPE
HPE Support Center offers support for your HPE services and products when and how you need it. Get started with HPE Support Center today.
[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
Neighborhood Moderator

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 at HPE
HPE Support Center offers support for your HPE services and products when and how you need it. Get started with HPE Support Center today.
[Any personal opinions expressed are mine, and not official statements on behalf of Hewlett Packard Enterprise]
Accept or Kudo
Dave Olker
Neighborhood Moderator

Re: gcore for hpux?

Here's the other binary in case the previous one doesn't work.

Dave


I work at HPE
HPE Support Center offers support for your HPE services and products when and how you need it. Get started with HPE Support Center today.
[Any personal opinions expressed are mine, and not official statements on behalf of Hewlett Packard Enterprise]
Accept or Kudo
Tariq Bahatheq
Established Member

Re: gcore for hpux?

you can download this patch which would fix your issue when you are system version 11.23
melvyn burnard
Honored Contributor

Re: gcore for hpux?

>> P.V.S. Vikas
In future, please open your own thread, and refer to an existing older thread in your post, rather than resurrect a 5 year old thread!
My house is the bank's, my money the wife's, But my opinions belong to me, not HP!