Unix and Linux Discussions Tagged with hard |
|
Thread / Thread Starter |
Last Post |
Replies |
Views |
Forum |
|
|
|
11 |
21,725 |
AIX |
|
|
|
2 |
1,765 |
Shell Programming and Scripting |
|
|
|
1 |
5,817 |
Hardware |
|
|
|
1 |
6,774 |
UNIX for Advanced & Expert Users |
|
|
|
0 |
1,941 |
IT Security RSS |
|
|
|
0 |
2,144 |
Cartoons for Geeks |
|
|
|
0 |
2,029 |
Solaris BigAdmin RSS |
|
|
|
0 |
2,614 |
Cartoons for Geeks |
|
|
|
10 |
7,111 |
Programming |
|
|
|
2 |
2,430 |
UNIX for Advanced & Expert Users |
|
|
|
2 |
7,573 |
Linux |
|
|
|
0 |
1,936 |
UNIX and Linux RSS News |
|
|
|
0 |
1,345 |
UNIX and Linux RSS News |
|
|
|
0 |
1,298 |
UNIX and Linux RSS News |
|
|
|
3 |
6,659 |
Red Hat |
|
|
|
1 |
4,473 |
UNIX for Advanced & Expert Users |
|
|
|
3 |
2,320 |
Shell Programming and Scripting |
|
|
|
4 |
2,872 |
HP-UX |
|
|
|
6 |
4,338 |
Shell Programming and Scripting |
|
|
|
3 |
19,573 |
UNIX for Dummies Questions & Answers |
|
|
|
2 |
6,764 |
UNIX for Dummies Questions & Answers |
|
|
|
5 |
10,853 |
UNIX for Dummies Questions & Answers |
|
|
|
3 |
7,046 |
Filesystems, Disks and Memory |
|
|
|
5 |
5,107 |
UNIX for Dummies Questions & Answers |
|
|
|
10 |
9,522 |
UNIX for Dummies Questions & Answers |
|
|
|
0 |
5,404 |
Filesystems, Disks and Memory |
|
|
|
1 |
2,755 |
UNIX for Dummies Questions & Answers |
|
|
|
8 |
4,340 |
UNIX for Dummies Questions & Answers |
|
|
|
1 |
3,180 |
UNIX for Dummies Questions & Answers |
|
|
|
1 |
3,397 |
UNIX for Dummies Questions & Answers |
|
|
|
1 |
8,432 |
UNIX for Advanced & Expert Users |
|
|
|
3 |
2,782 |
UNIX for Dummies Questions & Answers |
|
|
|
1 |
3,638 |
IP Networking |
|
|
|
2 |
2,227 |
UNIX for Dummies Questions & Answers |
|
|
|
2 |
40,171 |
UNIX for Dummies Questions & Answers |
|
|
|
1 |
4,928 |
UNIX for Dummies Questions & Answers |
|
|
|
3 |
2,698 |
UNIX for Dummies Questions & Answers |
|
|
|
8 |
7,589 |
UNIX for Dummies Questions & Answers |
|
|
|
1 |
6,395 |
Programming |
|
|
|
4 |
5,261 |
UNIX for Advanced & Expert Users |
plimit(1) User Commands plimit(1)
NAME
plimit - get or set the resource limits of running processes
SYNOPSIS
plimit [-km] pid...
plimit {-cdfnstv} soft,hard... pid...
DESCRIPTION
If one or more of the cdfnstv options is specified, plimit sets the soft (current) limit and/or the hard (maximum) limit of the indicated
resource(s) in the processes identified by the process-ID list, pid. Otherwise plimit reports the resource limits of the processes identi-
fied by the process-ID list, pid.
Only the owner of a process or the super-user is permitted either to get or to set the resource limits of a process. Only the super-user
can increase the hard limit.
OPTIONS
The following options are supported:
-k On output, show file sizes in kilobytes (1024 bytes) rather than in 512-byte blocks.
-m On output, show file and memory sizes in megabytes (1024*1024 bytes).
The remainder of the options are used to change specified resource limits. They each accept an argument of the form:
soft,hard
where soft specifies the soft (current) limit and hard specifies the hard (maximum) limit. If the hard limit is not specified, the comma
may be omitted. If the soft limit is an empty string, only the hard limit is set. Each limit is either the literal string unlimited, or a
number, with an optional scaling factor, as follows:
nk n kilobytes
nm n megabytes (minutes for CPU time)
nh n hours (for CPU time only)
mm:ss minutes and seconds (for CPU time only)
The soft limit cannot exceed the hard limit.
-c soft,hard Set core file size limits (default unit is 512-byte blocks).
-d soft,hard Set data segment (heap) size limits (default unit is kilobytes).
-f soft,hard Set file size limits (default unit is 512-byte blocks).
-n soft,hard Set file descriptor limits (no default unit).
-s soft,hard Set stack segment size limits (default unit is kilobytes).
-t soft,hard Set CPU time limits (default unit is seconds).
-v soft,hard Set virtual memory size limits (default unit is kilobytes).
OPERANDS
The following operands are supported.
pid Process ID list.
EXIT STATUS
plimit returns the exit value zero on success, non-zero on failure (such as no such process, permission denied, or invalid option).
FILES
/proc/pid/* process information and control files
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Availability |SUNWesu |
+-----------------------------+-----------------------------+
SEE ALSO
ulimit(1), proc(1), getrlimit(2), setrlimit(2), proc(4), attributes(5),
SunOS 5.10 8 Jun 1998 plimit(1)