how to kill the process

Answers were Sorted based on User's Feedback



how to kill the process..

Answer / madhu

run the following command :

ps -ef | grep -i 'process name'

see the pid of the process and kill with the following
command

kill -9 process id

Is This Answer Correct ?    13 Yes 0 No

how to kill the process..

Answer / solarisian...

if you directly use kill -9... its like you r murdering the
process.

first try
#kill <processid>
or
#pkill <processname>
verify using ps -ef | grep -i <process-id/name>

Is This Answer Correct ?    6 Yes 0 No

how to kill the process..

Answer / velu

we can use #kill 9 "Process ID" or #pkill 9 "process name"

Is This Answer Correct ?    6 Yes 0 No

how to kill the process..

Answer / baban

first you can use
kill -15 process_id or
pkill -15 process_id

if it does not terminate in a proper way then issue
kill -9 process_id or
pkill -9 process_id

Is This Answer Correct ?    5 Yes 0 No

how to kill the process..

Answer / sai

Hi,
first u take pid using ps,prstat command

kill -9 pid ---> -9 for unconditional kill

pkill process_name

Is This Answer Correct ?    3 Yes 1 No

how to kill the process..

Answer / koti

ps -ep |grep - i process name ---here u can get out put of
process id

then using that id u can kill the particular process

#pkill -9 process id --- this is command for kill the process

Is This Answer Correct ?    1 Yes 0 No

Post New Answer

More Solaris AllOther Interview Questions

what is the use of NIS how can u configure

1 Answers   IBM,


what is the major problem u faced in u r carrier or in u r present company

1 Answers   IBM,


Hi All, Q. I have one log file that log file contains application message but the application message in log file not append any date value. so after 1 to 2 date that file is big size , I want to delete contents only that was appended before 4 days ago from that single file and rest of the file contents would be remains same.

2 Answers   HP,


which is best os in UNIX flavors Solaris or HP-UX or IBM –AIX or Linux

8 Answers   IBM,


If you try to send an e-mail to someone and the following message appear "Message Undeliverable", what could be wrong?

3 Answers   Wipro,






in samba server if we share a file like a.txt from unix(solaris) to windows how it displays at windows.wheather like a.txt (or)A.txt.any case sensitive.why?

1 Answers   Wipro,


how to check packets transmission statistcs b/w servers..?

3 Answers  


software distribution in solaris

4 Answers   IBM,


What is critical filesystem in solaris

6 Answers  


How do you get system diagnostics information?

5 Answers  


in RAID 5 and RAID 0+1 which u will preffer (Veritas)

1 Answers   IBM,


How to merge solaris partition

2 Answers   TCS,


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)