Web Hosting Forum - A Web Hosting community for Webmasters


Divi WordPress Theme

Author Topic: How to kill all processes in Windows and Linux  (Read 11949 times)

0 Members and 1 Guest are viewing this topic.

Offline Mike

  • New Member
  • *
  • Posts: 36
  • iTrader: +0/-0
    • View Profile
How to kill all processes in Windows and Linux
« on: August 01, 2008, 03:05:16 AM »
Hi,

How to kill all processes in Windows and Linux:

To kill particular process in Linux you acn use following command:

kill -9 PID

Replace PID with process ID.

To kill all similar processes in Linux, you can use following command:

killall -9 httpd


The above command will kill all the httpd processes on the server.

To kill the process in Windows you will need to use taskkill command:

Kill process from command line:

Taskkill /IM process

Replace process with actual process like php.exe, notepad.exe etc.

If you get message to kill process forcefully use the below command:

Taskkill /F /IM process


Regards,

Mike

VPS Hosting - AccuWebHosting

Offline Kevin

  • Junior Guru
  • **
  • Posts: 72
  • iTrader: +4/-0
    • View Profile
Re: How to kill all processes in Windows and Linux
« Reply #1 on: August 03, 2008, 10:51:54 AM »
Quote from: "Mike"
Hi,

How to kill all processes in Windows and Linux:

To kill particular process in Linux you acn use following command:

kill -9 PID

Replace PID with process ID.

To kill all similar processes in Linux, you can use following command:

killall -9 httpd


The above command will kill all the httpd processes on the server.

To kill the process in Windows you will need to use taskkill command:

Kill process from command line:

Taskkill /IM process

Replace process with actual process like php.exe, notepad.exe etc.

If you get message to kill process forcefully use the below command:

Taskkill /F /IM process


Regards,

Mike

Thanks for sharing it.

Kevin

Divi WordPress Theme
Tags:
 

Related Topics

  Subject / Started by Replies Last post
2 Replies
10389 Views
Last post April 02, 2014, 12:14:34 PM
by Rick
0 Replies
848 Views
Last post December 20, 2013, 06:14:07 PM
by blazenetworks
0 Replies
659 Views
Last post December 20, 2013, 06:18:01 PM
by blazenetworks
0 Replies
756 Views
Last post July 24, 2014, 06:20:38 PM
by hostsailor
0 Replies
529 Views
Last post September 19, 2014, 06:50:54 PM
by hostsailor