Linux premium180.web-hosting.com 4.18.0-553.54.1.lve.el8.x86_64 #1 SMP Wed Jun 4 13:01:13 UTC 2025 x86_64
LiteSpeed
: 162.0.209.168 | : 216.73.216.187
Cant Read [ /etc/named.conf ]
8.3.30
nortrmdp
www.github.com/MadExploits
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
CREATE RDP
PHP Mailer
BACKCONNECT
UNLOCK SHELL
HASH IDENTIFIER
CPANEL RESET
CREATE WP USER
BLACK DEFEND!
README
+ Create Folder
+ Create File
/
opt /
alt /
ruby18 /
share /
ri /
1.8 /
system /
Process /
[ HOME SHELL ]
Name
Size
Permission
Action
GID
[ DIR ]
drwxr-xr-x
Status
[ DIR ]
drwxr-xr-x
Sys
[ DIR ]
drwxr-xr-x
UID
[ DIR ]
drwxr-xr-x
abort-c.yaml
395
B
-rw-r--r--
cdesc-Process.yaml
3.85
KB
-rw-r--r--
detach-c.yaml
1.91
KB
-rw-r--r--
egid%3d-c.yaml
315
B
-rw-r--r--
egid-c.yaml
454
B
-rw-r--r--
euid%3d-c.yaml
302
B
-rw-r--r--
euid-c.yaml
424
B
-rw-r--r--
exec-c.yaml
1.22
KB
-rw-r--r--
exit%21-c.yaml
421
B
-rw-r--r--
exit-c.yaml
1.35
KB
-rw-r--r--
fork-c.yaml
1.04
KB
-rw-r--r--
getpgid-c.yaml
421
B
-rw-r--r--
getpgrp-c.yaml
433
B
-rw-r--r--
getpriority-c.yaml
863
B
-rw-r--r--
getrlimit-c.yaml
868
B
-rw-r--r--
gid%3d-c.yaml
269
B
-rw-r--r--
gid-c.yaml
416
B
-rw-r--r--
groups%3d-c.yaml
536
B
-rw-r--r--
groups-c.yaml
417
B
-rw-r--r--
initgroups-c.yaml
837
B
-rw-r--r--
kill-c.yaml
963
B
-rw-r--r--
maxgroups%3d-c.yaml
330
B
-rw-r--r--
maxgroups-c.yaml
399
B
-rw-r--r--
pid-c.yaml
368
B
-rw-r--r--
ppid-c.yaml
609
B
-rw-r--r--
setpgid-c.yaml
366
B
-rw-r--r--
setpgrp-c.yaml
299
B
-rw-r--r--
setpriority-c.yaml
605
B
-rw-r--r--
setrlimit-c.yaml
2.41
KB
-rw-r--r--
setsid-c.yaml
457
B
-rw-r--r--
times-c.yaml
473
B
-rw-r--r--
uid%3d-c.yaml
312
B
-rw-r--r--
uid-c.yaml
414
B
-rw-r--r--
wait-c.yaml
2.17
KB
-rw-r--r--
wait2-c.yaml
772
B
-rw-r--r--
waitall-c.yaml
878
B
-rw-r--r--
waitpid-c.yaml
2.18
KB
-rw-r--r--
waitpid2-c.yaml
778
B
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : detach-c.yaml
--- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Some operating systems retain the status of terminated child processes until the parent collects that status (normally using some variant of <tt>wait()</tt>. If the parent never collects this status, the child stays around as a <em>zombie</em> process. <tt>Process::detach</tt> prevents this by setting up a separate Ruby thread whose sole job is to reap the status of the process <em>pid</em> when it terminates. Use <tt>detach</tt> only when you do not intent to explicitly wait for the child to terminate. <tt>detach</tt> only checks the status periodically (currently once each second). - !ruby/struct:SM::Flow::P body: The waiting thread returns the exit status of the detached process when it terminates, so you can use <tt>Thread#join</tt> to know the result. If specified <em>pid</em> is not a valid child process ID, the thread returns <tt>nil</tt> immediately. - !ruby/struct:SM::Flow::P body: In this first example, we don't reap the first child process, so it appears as a zombie in the process status display. - !ruby/struct:SM::Flow::VERB body: " p1 = fork { sleep 0.1 }\n p2 = fork { sleep 0.2 }\n Process.waitpid(p2)\n sleep 2\n system("ps -ho pid,state -p #{p1}")\n" - !ruby/struct:SM::Flow::P body: <em>produces:</em> - !ruby/struct:SM::Flow::VERB body: " 27389 Z\n" - !ruby/struct:SM::Flow::P body: In the next example, <tt>Process::detach</tt> is used to reap the child automatically. - !ruby/struct:SM::Flow::VERB body: " p1 = fork { sleep 0.1 }\n p2 = fork { sleep 0.2 }\n Process.detach(p1)\n Process.waitpid(p2)\n sleep 2\n system("ps -ho pid,state -p #{p1}")\n" - !ruby/struct:SM::Flow::P body: <em>(produces no output)</em> full_name: Process::detach is_singleton: true name: detach params: | Process.detach(pid) => thread visibility: public
Close