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 |
How will you comment error line in /etc/system file
How will you grow a disk space whitout disturbs
Default path for patches
Write the steps involved in creating and executing a program to implement the “case” command.
How to mirror a root dg? With eg
in solaris performance tuning what fields we check with IOSTAT, VMSTAT and NETSTAT?
How can we check the status of CPU at firmware
how to find NIC card type. is there any command to display the card type when it not plumbed.
How to bring the Disk into diskgroup on veritas.
What are the steps to be follow to add a disk in veritas & before add the disk what are the steps to be follow
How to check and analyze the logs in /var/adm/messages?
In a E6800 server,how can you loginto domain shell and system Console?