Re: HPUX: number of open files



On 11 Nov., 23:48, Dennis Handly <dhan...@xxxxxxxxxxxxx> wrote:
Bernd Eckenfels wrote:
but I want to do that from outside the application.

Do what?  Get the limit?  The limit is normally the same for everyone..
Get how many files currently open?  pstat_getfile2(2)

Yes, get the current soft limit and the list for a running process
(from externally). pstat_getfile2looks good, maybe pstat_getproc can
give me the limits (dont have access to the include file right now). I
would have preferred to have a command for that...

Greetings
Bernd
.



Relevant Pages

  • Setting up quota by command line or script
    ... I've been trying to search for a way to set up quota by command line. ... I mean I don't want to go into the editor mode where I edit Hard ... specify the user and the other options like hard limit, soft limit, ...
    (comp.sys.sun.admin)
  • Re: Hard and Soft limit
    ... A soft limit is something that the user can increase with the ulimit ... command, a hard limit is a limit he cannot increase unless he or she ... the values are preset to the soft limit. ...
    (comp.unix.aix)