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 |
After creating swap file update the same to /etc/vfstab what will be the fstype.
How will you restart the inetd process?
How to add a tape deck on Sun Solaris version 10
what is the diff between ufslog and vxfslog?
How to find the boot path in solaris
How will you take ufsdump and ufsrestore in a sing command line?
please post step by step installation of packages from the EIS cd..
How to find the kernel bit version or architecture
what is the difference between solaris8 and solaris9 and solaris10
What is the purpose of ha daemons in VCS servers?
Tell me some of the differences between Solaris and Sun OS?
How many fields in passwd, shadow and group files