how to stop the process using process name
Answers were Sorted based on User's Feedback
Answer / syed
if you know the process id than kill -9 <PID> works fine.
if you know the name of process in that case pkill <Process
Name> works fine.
kill for (numeric PID)
pkill for (process name)
Is This Answer Correct ? | 11 Yes | 3 No |
#pstop pid : for stop the process
#pstart pid
or #prun pid : for start the process
Is This Answer Correct ? | 0 Yes | 1 No |
Answer / chandhu
#pstop <proceesid> stop the process
#pstart <processid> start the process
(or)
kill the perticular process using proceess id
#ps -ef show all the process list,hen find the unwanted
process,kill it
#kill <processid>
#pkill -9 <processid>
Is This Answer Correct ? | 0 Yes | 1 No |
Answer / bharathi
1) First of all find the process as follows:
#prstat | grep <process-name>
(or)
#ps -ef |grep <process-name>
2) After findinf the process-id of that process u want to
stop,do the following:
#kill -9 <process-id>
(or)
#pkill -9 <process-name>
(or)
#pkill -9 <process-id>
Is This Answer Correct ? | 3 Yes | 5 No |
What is difference between Hard and Soft mount?
Have you done the patching, the patching is done by you only or some one will assign to you?
Which file maintain the kernel
How to check the patch level in solaris
what are the common errors you find in Solaris Volume manager?
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
how to recover root passwd ?
Where do you get Alarm prompt?
What is meant by persistant binding?
How will you grow a disk space whitout disturbs
How to rename the old root disk. In this example, rootdisk is being renamed as rootold.
How to check and analyze the logs in /var/adm/messages?