- or download this
here i am forwarding process status to a file "process",
...
next if ($line eq "" );
print "$line";}}
}
- or download this
#ps -ef
...
root 1 0 0 2007 ? 00:00:02 init [3]
root 2 1 0 2007 ? 00:01:34 [gration/0]
root 3 1 0 2007 ? 00:00:01
- or download this
UID PID PPID C STIME TTY TIME CMD
root 1 0 0 2007 ? 00:00:02 init [3]
root 2 1 0 2007 ? 00:01:34 [gration/0]
root 3 1 0 2007 ? 00:00:01