Operating System - HP-UX
1833964 Members
2074 Online
110063 Solutions
New Discussion

Re: cmd to find process limits

 
Mark Schafer_2
Advisor

cmd to find process limits

Without using kctune how does a user determine the limits of a 64-bit process? The shell limit and ulimit commands only return 32-bit limits.
2 REPLIES 2
Jeff Schussele
Honored Contributor

Re: cmd to find process limits

Hi Mark,

That's a good question.
I suppose IF I said use
kmtune -q max?siz_64bit
that would be cheating?
It's not kctune ;~))

Seriously though I don't know how to answer that. Since ulimit is a shell internal & /sbin/sh is a 32-bit binary, I don't see how one can do this w/o some coding.
You may need to use the ulimit() function - specifically the UL_GETMAXBRK cmd of ulimit()
man 2 ulimt for details

Rgds,
Jeff
PERSEVERANCE -- Remember, whatever does not kill you only makes you stronger!
Mark Schafer_2
Advisor

Re: cmd to find process limits

I accept that there is no user command to do this.