Working With Processes:

List all running processes:
ps -e

find out if process named target is running
ps -e | grep target

Standard system monitor showing a more extensive view of all processes and system resources:
top

Like top, but with a better, cleaner interface:
htop

Stop a process from using all system resources and lagging computer:
renice process_name

Kill misbehaving process (use sparingly, last resort, try ‘renice’ command first):
pkill process name

Start a process in the background
command &

Start a process in the background and have it keep running after you log off
nohup command &

View what processes are using what files:
lsof

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: