jlimit(1) jlimit(1) NAME jlimit - displays and sets resource limits SYNOPSIS jlimit [-j job_id] [-h] [limit_name [value]] DESCRIPTION The jlimit command displays and changes limits on resource usage for a job. The current and maximum (hard) limits are set when a job starts from values that are contained in the user limits database (ULDB) information for the user. You can raise and lower your current limits within the range not to exceed your maximum limit. You can irrevocably lower your maximum limit. You must have the CAP_PROC_MGT capability to raise your maximum limit. Limit enforcement always occurs at the current limit regardless of your maximum limit value. See the capabilities(4) man page for more information on the capability mechanism that provides fine grained control over the privileges of a process. The jlimit command accepts the following options: -j job_id Specifies a particular job ID for a job where limits are going to be changed. You must have the CAP_MAC_WRITE and CAP_PROC_MGT capabilities to change job limits for jobs that belong to other users. The job ID is printed out in hexadecimal. When the job ID is specified, the "0x" prefix is optional. -h Specifies that the maximum limit values for a job are displayed or modified. If you do not specify the -h option, the jlimit command displays or modifies current limit values. limit_name value Displays or sets the value for the specified limit. + If no limit name is specified, jlimit displays the values for all limits. + If the limit name is specified without a value, jlimit displays the value for the limit. + If both a limit name and a value are specified, jlimit sets the appropriate value for the limit. If the -j option with a job_id argument is specified, the jlimit command will print out the following information: % jlimit -j 0x14 cputime: unlimited datasize: unlimited files: 400 vmemory: unlimited ressetsize: unlimited threads: 2048 processes: 1024 physmem: unlimited The display information is described below: + cputime - Default is in seconds + datasize - Default shown in bytes + files - Number of files limit + vmemory - Virtual memory limit, default in bytes + ressetsize - Resident set size, default in bytes + threads - Number of threads limit + processes - Number of processes limit + physical memory - Physical memory limit, default in bytes (same value as resident set size) By default, the jlimit command will print out the current limit information. If the -h option is specified, the jlimit command will print out the maximum limit values for the job. % jlimit -j 0x14 -h cputime: unlimited datasize: unlimited files: unlimited vmemory: unlimited ressetsize: unlimited threads: 65535 processes: 65535 physmem: unlimited If a limit name is specified, by default, the jlimit command will print out the current value of that limit. % jlimit cputime cputime: unlimited NOTES The jlimit command is installed as part of the eoe.sw.jlimits package. SEE ALSO csh(1), jstat(1), sh(1), showlimits(1), capabilities(4). Page 3