Working with processes

From Oxxus Wiki

Jump to: navigation, search

To get the list of all running processes on the system you would type:

ps aux

You can see all processes there along with CPU/Memory percentage of use under your system. All processes contain their names and PIDs.

To kill process you can use kill command, kill [pid] would terminate the process.

Usually when process hangs, you would need to send to the kernel force kill signal -9, kill -9 [pid] would that way remove the running process by force and it's usually the fastest way to remove the running process.

There is also a killall command which would kill all the processes running under a specific name.

For example:

killall -9 java

would immediately terminate all java processes.

Contact About Us Support Network Servers Java Hosting Oxxus.net Order Now! Dedicated Servers VPS Hosting Tomcat Hosting Java Hosting Money Back Guarantee Privacy Policy Oxxus.net Terms of 
Service Contact About Us Servers Networks Support Domain Names SSL Certificates Java Wiki Tutorials E-learning 
Platforms