Query: ulimit
OS: hpux
Section: 2
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
ulimit(2) System Calls Manual ulimit(2)NAMEulimit() - get and set user limitsSYNOPSISRemarks The ANSI C "" construct denotes a variable length argument list whose optional [or required] members are given in the associated commentDESCRIPTIONprovides for control over process limits. Available values for cmd are: Get the file size limit of the process. The limit is in units of 512-byte blocks and is inherited by child processes. Files of any size can be read. The optional second argument is not used. Set the file size limit of the process to the value of the optional second argument which is taken as a long. Any process can decrease this limit, but only a process with the privilege can increase the limit. Note that the limit must be specified in units of 512-byte blocks. Get the maximum possible break value (see brk(2)). Depending on system resources such as swap space, this maximum might not be attainable at a given time. The optional second argument is not used. Security Restrictions Some or all of the actions associated with this system call require the privilege. Processes owned by the superuser have this privilege. Processes owned by other users may have this privilege, depending on system configuration. See privileges(5) for more information about privileged access on systems that support fine-grained privileges.RETURN VALUEUpon successful completion, a non-negative value is returned. Errors return a -1, with set to indicate the error.ERRORSfails if one or more of the following conditions is true. cmd is not in the correct range. fails and the limit is unchanged if a process without the privilege attempts to increase its file size limit.SEE ALSObrk(2), write(2), privileges(5).STANDARDS CONFORMANCEulimit(2)
Related Man Pages |
---|
ulimit(2) - opensolaris |
getrlimit(2) - hpux |
munlockall(2) - hpux |
nice(2) - hpux |
ulimit(3p) - suse |
Similar Topics in the Unix Linux Community |
---|
chfs increase /var limit at 512mb? |
FTP huge file transfer |
[Solved] History cmd |
[Solved] Increase the file system size |
Increase maxuproc value |