How to stop the process in Solaris?
Answers were Sorted based on User's Feedback
Answer / sanoopnarayan
#Get process Id using command 1 or 2:
1) ps -ef |grep <process_name>
2) pgrep <process_name>
#Then Kill the process using command 1 0r 2:
1) kill -9 <process_id>
2) pkill -P <Parent_process_id>
| Is This Answer Correct ? | 12 Yes | 2 No |
Answer / p.r.l.prasanna
kill -9 <process name>
9 means send request signal kill specific process id
or
pkil <process name>
or
pkill <process id>
| Is This Answer Correct ? | 13 Yes | 5 No |
Answer / kiran
If its a daemon we have to stop by going to cd /etc/init
stop the daemon.
where its unknown process its better to terminate the
process by using Pkill -9 process or pid
| Is This Answer Correct ? | 10 Yes | 4 No |
Answer / vasu
stop the process #pstop pid
start the process #prun pid (or) #pstart pid
| Is This Answer Correct ? | 7 Yes | 1 No |
Answer / c.p.bansal
kill -9 pid(process id) or
pkill processname
| Is This Answer Correct ? | 5 Yes | 1 No |
Answer / stratovarius
Determine if the process is runing #ps -ef |grep -i
<process_name>, then use on of the following:
1.#pkill signal process
2.#kill signal PID note:signal 15 sigterm is the default
and safe, sigkill(9) could leave zombie child processes.
3.#pstop <pid>
4.# /ect/init.d/process stop --> for under init
5.Via SMF or inetadm
| Is This Answer Correct ? | 5 Yes | 2 No |
What is the purpose of ha daemons in VCS servers?
What is the nature of VCS?
how to add a script, that execute at start time
How to check and analyze the logs in /var/adm/messages?
What is uadmin and what does it do?
How we configure the veritas cluster server for solaris? what r the proceure we have to take configuration
If you have multiple ethernet interfaces, how do you keep it from routing between them?
How would you truncate a log file that is growing too large if you don't have space to compress it or to move it somewhere else? How would you do it?
Write the steps involved in creating and executing a program to implement the “case” command.
what are the common errors you find in Solaris Volume manager?
How to change the default new user shell without mentioning -s /bin/sh in cmd useradd or usermod and which file we need to change? this is not for existing user
What is WWN on storage