System Performance

31 May

init q – reloads /etc/inittab
telinit 3 – go to runlevel 3
runleve – display current and previous runlevel
pgrep – grep for a PID by process name
lsof – list open files
fuser – find processes using a file or socket
fuser -m /var – list all processes with files open on /var
watch – runs the program every 2seconds

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: