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 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?
how to change boot disk
How to enable the crashdump?
solaris network daemon
If /etc/system file is corrupted how will you recover it , if we dont have a CDROM then what is the procedure?
2 Answers IBM, ITC Infotech, Tech Mahindra,
Why copied file permission is changed in destination. When i give all permission i.e 777 to file and copy that to other location in destination the permission is 755. But if give permission 555 in destination that file permission is 755 and if give permission 444 to file after copy in destination the file permission is 444. These all are happening in normal user. How the umask value is calculate here really i am not understand. Please every body and wite the proper answer. Thanks in Advance
How to find the hardware configuration
How to Freeze svcgroup, (disable onl. & offl.)
How can you search for commands at the boot prompt if you only know part of the command?
how to configure ethernet card.
what is the command to know about pkg information
What are the steps to be follow to add a disk in veritas & before add the disk what are the steps to be follow