16.12.2012 Views

z/OS V1R9.0 UNIX System Services Command ... - Christian Grothoff

z/OS V1R9.0 UNIX System Services Command ... - Christian Grothoff

z/OS V1R9.0 UNIX System Services Command ... - Christian Grothoff

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

|<br />

ulimit<br />

Usage notes<br />

Localization<br />

dump of memory (in 512–byte blocks) allowed for the process. A value of 0<br />

(zero) prevents file creation. Dump file creation will stop at this limit.<br />

–d Set or display the data size limit. The data size limit is the maximum size of<br />

the break value for the process, in units of 1024 bytes. This resource<br />

always has unlimited hard and soft limits.<br />

–f Set or display the file size limit. The file size limit is the maximum file size<br />

(in 512–byte blocks) allowed for the process. A value of 0 (zero) prevents<br />

file creation. If the size is exceeded, a SIGXFSZ signal is sent to the<br />

process. If the process is blocking, catching, or ignoring SIGXFSZ,<br />

continued attempts to increase the size of a file beyond the limit will fail.<br />

–M Set or display the amount of storage above the 2 gigabyte bar that a<br />

process is allowed to have allocated and unhidden, in megabyte<br />

increments. An attempt to set the storage size limit lower than the current<br />

usage or to set the soft limit higher than the existing hard limit will fail.<br />

Tip: The amount of storage that ulimit -M displays does not necessarily<br />

reflect the MEMLIMIT setting found in the user’s RACF OMVS segment.<br />

The value displayed will depend on how the user entered the OMVS shell<br />

and whether a change of identity was performed.<br />

–n Set or display the file descriptors limit. The file descriptors limit is the<br />

maximum number of open file descriptors allowed for the process. This<br />

number is one greater than the maximum value that may be assigned to a<br />

newly created descriptor. Any function that attempts to create a new file<br />

descriptor beyond the limit will fail. An attempt to set the open file<br />

descriptors limit lower than that already used will fail.<br />

–s Set or display the stack size limit. The stack size limit is the maximum size<br />

of the stack for a process, in units of 1024 bytes. The stack is a per-thread<br />

resource that has unlimited hard and soft limits.<br />

–t Set or display the cpu time limit. The cpu time limit is the maximum amount<br />

of CPU time (in seconds) allowed for the process. If the limit is exceeded, a<br />

SIGXCPU signal is sent to the process and the process is granted a small<br />

CPU time extension to allow for signal generation and delivery. If the<br />

extension is used up, the process is terminated with a SIGKILL signal. An<br />

attempt to set the CPU limit lower than that already used will fail.<br />

num The new limit. num can be specified as “unlimited”.<br />

1. ulimit is a built-in shell command. It cannot be used with the tcsh shell.<br />

2. If the command fails because of an attempt to set a resource limit lower than<br />

the current amount in use or higher than the existing hard limit, the resulting<br />

error message may indicate an invalid argument.<br />

ulimit uses the following localization environment variables:<br />

v LANG<br />

v LC_ALL<br />

v LC_MESSAGES<br />

v NLSPATH<br />

See Appendix F for more information.<br />

720 z/<strong>OS</strong> <strong>V1R9.0</strong> <strong>UNIX</strong> <strong>System</strong> <strong>Services</strong> <strong>Command</strong> Reference

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!