Divi WordPress Theme

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

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: