How to stop the process in Solaris?

Answers were Sorted based on User's Feedback



How to stop the process in Solaris?..

Answer / lochan

pstop pname or proc_id

Is This Answer Correct ?    17 Yes 3 No

How to stop the process in Solaris?..

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

How to stop the process in Solaris?..

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

How to stop the process in Solaris?..

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

How to stop the process in Solaris?..

Answer / vasu

stop the process #pstop pid
start the process #prun pid (or) #pstart pid

Is This Answer Correct ?    7 Yes 1 No

How to stop the process in Solaris?..

Answer / c.p.bansal

kill -9 pid(process id) or
pkill processname

Is This Answer Correct ?    5 Yes 1 No

How to stop the process in Solaris?..

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

How to stop the process in Solaris?..

Answer / lochan

How to suspend the process in solaris?

Is This Answer Correct ?    9 Yes 7 No

How to stop the process in Solaris?..

Answer / sai

find process id by using #prstat
then #kill -9 pid

Is This Answer Correct ?    2 Yes 2 No

Post New Answer

More Solaris Commands Interview Questions

How to check the no of the processor available

4 Answers  


Hi We have upgraded our sun machine from solaris 9 to solaris 10. Before upgradation the date command output(Solaris 9) Wed Oct 13 09:45:21 IST 2010 But after upgradation the output for date is as below(solaris 10). Wednesday, October 13, 2010 9:46:14 AM IST Looks like I need to change LC_TIME=C. can you please help me how to change it for permanently

0 Answers   IBM, Wipro,


how to set ip address for a solaris machine

7 Answers   IBM,


How to create swap file

1 Answers  


What are the protocols in VCS

3 Answers  






How to start one node cluster.

5 Answers  


Hi I wanted to know what command can I use to perform a rescan in Solaris10 u4/u5 64 bit machine. I know once the disks are added we can perform a rescan using the following commands drvconfig-->disks--> cfgadm OR devfsadm But they will detect the disks and once the disks are remove the entries are still shown unless the disks are removed. So is there another command or a script that could help me find that disks were removed from my solaris machine.

2 Answers  


What is the command to identify master node on vcs

1 Answers   Atos Origin,


How to lock the user id in solaris?

4 Answers  


What are the options available in Solaris Security setting.?

1 Answers   Accenture,


how to view how many samba user in solaris

4 Answers   3i Infotech,


What is different between crontab and at command?

1 Answers  


Categories
  • Solaris Commands Interview Questions Solaris Commands (360)
  • Solaris Threads Interview Questions Solaris Threads (9)
  • Solaris IPC Interview Questions Solaris IPC (30)
  • Solaris Socket Programming Interview Questions Solaris Socket Programming (3)
  • Solaris System Calls Interview Questions Solaris System Calls (25)
  • Solaris General Interview Questions Solaris General (170)
  • Solaris AllOther Interview Questions Solaris AllOther (297)