• Welcome to Web Hosting Community Forum for Webmasters - Web hosting Forum.
 

Recommended Providers

Fully Managed WordPress Hosting
lc_banner_leadgen_3
Fully Managed WordPress Hosting

WordPress Theme

Divi WordPress Theme
WPZOOM

Forum Membership

Forum Membership

Linux taskkill: How to kill all processes in Windows and Linux

Started by Mike, August 01, 2008, 03:05:16 AM

Mike

Hi,

How to kill all processes in Windows and Linux:

To kill particular process in Linux you can 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

Kevin

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