X7ROOT File Manager
Current Path:
/opt/alt/ruby18/share/ri/1.8/system/Process
opt
/
alt
/
ruby18
/
share
/
ri
/
1.8
/
system
/
Process
/
ðŸ“
..
ðŸ“
GID
ðŸ“
Status
ðŸ“
Sys
ðŸ“
UID
📄
abort-c.yaml
(395 B)
📄
cdesc-Process.yaml
(3.85 KB)
📄
detach-c.yaml
(1.91 KB)
📄
egid%3d-c.yaml
(315 B)
📄
egid-c.yaml
(454 B)
📄
euid%3d-c.yaml
(302 B)
📄
euid-c.yaml
(424 B)
📄
exec-c.yaml
(1.22 KB)
📄
exit%21-c.yaml
(421 B)
📄
exit-c.yaml
(1.35 KB)
📄
fork-c.yaml
(1.04 KB)
📄
getpgid-c.yaml
(421 B)
📄
getpgrp-c.yaml
(433 B)
📄
getpriority-c.yaml
(863 B)
📄
getrlimit-c.yaml
(868 B)
📄
gid%3d-c.yaml
(269 B)
📄
gid-c.yaml
(416 B)
📄
groups%3d-c.yaml
(536 B)
📄
groups-c.yaml
(417 B)
📄
initgroups-c.yaml
(837 B)
📄
kill-c.yaml
(963 B)
📄
maxgroups%3d-c.yaml
(330 B)
📄
maxgroups-c.yaml
(399 B)
📄
pid-c.yaml
(368 B)
📄
ppid-c.yaml
(609 B)
📄
setpgid-c.yaml
(366 B)
📄
setpgrp-c.yaml
(299 B)
📄
setpriority-c.yaml
(605 B)
📄
setrlimit-c.yaml
(2.41 KB)
📄
setsid-c.yaml
(457 B)
📄
times-c.yaml
(473 B)
📄
uid%3d-c.yaml
(312 B)
📄
uid-c.yaml
(414 B)
📄
wait-c.yaml
(2.17 KB)
📄
wait2-c.yaml
(772 B)
📄
waitall-c.yaml
(878 B)
📄
waitpid-c.yaml
(2.18 KB)
📄
waitpid2-c.yaml
(778 B)
Editing: setrlimit-c.yaml
--- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Sets the resource limit of the process. <em>cur_limit</em> means current (soft) limit and <em>max_limit</em> means maximum (hard) limit. - !ruby/struct:SM::Flow::P body: If <em>max_limit</em> is not given, <em>cur_limit</em> is used. - !ruby/struct:SM::Flow::P body: <em>resource</em> indicates the kind of resource to limit. The list of resources are OS dependent. Ruby may support following resources. - !ruby/object:SM::Flow::LIST contents: - !ruby/struct:SM::Flow::LI label: Process::RLIMIT_CORE body: core size (bytes) (SUSv3) - !ruby/struct:SM::Flow::LI label: Process::RLIMIT_CPU body: CPU time (seconds) (SUSv3) - !ruby/struct:SM::Flow::LI label: Process::RLIMIT_DATA body: data segment (bytes) (SUSv3) - !ruby/struct:SM::Flow::LI label: Process::RLIMIT_FSIZE body: file size (bytes) (SUSv3) - !ruby/struct:SM::Flow::LI label: Process::RLIMIT_NOFILE body: file descriptors (number) (SUSv3) - !ruby/struct:SM::Flow::LI label: Process::RLIMIT_STACK body: stack size (bytes) (SUSv3) - !ruby/struct:SM::Flow::LI label: Process::RLIMIT_AS body: total available memory (bytes) (SUSv3, NetBSD, FreeBSD, OpenBSD but 4.4BSD-Lite) - !ruby/struct:SM::Flow::LI label: Process::RLIMIT_MEMLOCK body: total size for mlock(2) (bytes) (4.4BSD, GNU/Linux) - !ruby/struct:SM::Flow::LI label: Process::RLIMIT_NPROC body: number of processes for the user (number) (4.4BSD, GNU/Linux) - !ruby/struct:SM::Flow::LI label: Process::RLIMIT_RSS body: resident memory size (bytes) (4.2BSD, GNU/Linux) - !ruby/struct:SM::Flow::LI label: Process::RLIMIT_SBSIZE body: all socket buffers (bytes) (NetBSD, FreeBSD) type: :LABELED - !ruby/struct:SM::Flow::P body: Other <tt>Process::RLIMIT_???</tt> constants may be defined. - !ruby/struct:SM::Flow::P body: <em>cur_limit</em> and <em>max_limit</em> may be <tt>Process::RLIM_INFINITY</tt>, which means that the resource is not limited. They may be <tt>Process::RLIM_SAVED_MAX</tt> or <tt>Process::RLIM_SAVED_CUR</tt> too. See system setrlimit(2) manual for details. full_name: Process::setrlimit is_singleton: true name: setrlimit params: | Process.setrlimit(resource, cur_limit, max_limit) => nil Process.setrlimit(resource, cur_limit) => nil visibility: public
Upload File
Create Folder