core dump size in HP-UX (863 Views)
Reply
Regular Advisor
gab_in
Posts: 150
Registered: ‎05-28-2007
Message 1 of 6 (863 Views)

core dump size in HP-UX

Hi,

I want in set the core dump size to unlimited in my HP-UX 11.11 server. Please tell me how to do that.

Thanks in advance


Honored Contributor
Peter Godron
Posts: 4,470
Registered: ‎02-13-2002
Message 2 of 6 (863 Views)

Re: core dump size in HP-UX

Hi,
try
the ulimit -c command
see "man ulimit"

Please also read:
http://forums1.itrc.hp.com/service/forums/helptips.do?#33
on how to reward any useful answers given to your questions.

So far you have not awarded any points !
Acclaimed Contributor
Dennis Handly
Posts: 25,296
Registered: ‎03-06-2006
Message 3 of 6 (863 Views)

Re: core dump size in HP-UX

This should be the default. What does "ulimit -a" show?

I'm not sure what kernel parm sets this??
Mine seems set to coredump(blocks) 4194303, before I logon.
Exalted Contributor
Steven E. Protter
Posts: 33,806
Registered: ‎08-15-2002
Message 4 of 6 (863 Views)

Re: core dump size in HP-UX

Shalom Hu,

This ulimit is normaly set in /etc/profile or more normally the user .profile script.

As far as your plan goes its a great way to fill up a filesystem. Be careful.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Acclaimed Contributor
Dennis Handly
Posts: 25,296
Registered: ‎03-06-2006
Message 5 of 6 (863 Views)

Re: core dump size in HP-UX

>SEP: This ulimit is normally set in /etc/profile or more normally the user .profile script.

I see no evidence it is set there, for me but I'm limited.
Esteemed Contributor
Arturo Galbiati
Posts: 830
Registered: ‎02-10-2003
Message 6 of 6 (863 Views)

Re: core dump size in HP-UX

Hi,
man ksh
/ulimit

to set a resource to unlimited

ulimit [-HSacdfst] unlimited

HTH,
Art
The opinions expressed above are the personal opinions of the authors, not of HP. By using this site, you accept the Terms of Use and Rules of Participation.