ulimit man page on HP-UX

Printed from http://www.polarhome.com/service/man/?qf=ulimit&af=0&tf=2&of=HP-UX

ulimit(2)							     ulimit(2)

NAME
       ulimit() - get and set user limits

SYNOPSIS
   Remarks
       The  ANSI  C "" construct denotes a variable length argument list whose
       optional [or required] members are given in the associated comment

DESCRIPTION
       provides 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.  Pro‐
       cesses owned by other users may have this privilege, depending on  sys‐
       tem configuration.  See privileges(5) for more information about privi‐
       leged access on systems that support fine-grained privileges.

RETURN VALUE
       Upon successful completion, a non-negative value is  returned.	Errors
       return a −1, with set to indicate the error.

ERRORS
       fails 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 ALSO
       brk(2), write(2), privileges(5).

STANDARDS CONFORMANCE
								     ulimit(2)
[top]

List of man pages available for HP-UX

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net