Finding Unwanted Process
Hi
1 . I want to verify the unwanted running process? is there any other
command other than ps -ef ?
2. Can anybody tell me the difference for kill & pkill?
3. Suppose if i'm kill a process using kill command whether that
particular process can be restarted or not ?
4. Suppose if i'm kill a process using pkill command whether that
particular process can be restarted or not ?
Any help
Thanks in advance
[474 byte] By [
bsnl-nib] at [2007-11-26 10:21:03]

# 1
1 . I want to verify the unwanted running process? is there any other
command other than ps -ef ?
top (open source)
prstsat
lsof
2. Can anybody tell me the difference for kill & pkill?
pkill uses grep
3. Suppose if i'm kill a process using kill command whether that
particular process can be restarted or not ?
why not? yes
4. Suppose if i'm kill a process using pkill command whether that
particular process can be restarted or not ?
why not? yes
alan
# 5
Also, just a little hint if you're coming from Linux...
Don't... For the love of God... Use the "killall" command.
Really... Do not...
On Solaris this works -completely- different from the Linux "killall" command. On Solaris it literally does that: it kills -all- processes, including Init.
So... Just so you know... Don't
:)