Jump to content

Query about console


Guest Vaibhav
 Share

Recommended Posts

Guest Vaibhav

The command ps gives you all the running processes in the konsole but what about the rest of process like mozilla or xmms running on mandrake. Why are these processes not shown in the output of ps command. What are the ways in which we can monitor all the processes running on mandrake and kill them from the konsole.

Link to comment
Share on other sites

pgrep is useful for getting a particular process,

 

eg

pgrep firefox

will return the PID's of any process with firefox in it's name.

 

Also useful is

killall firefox-bin

Will kill all processes by the name of 'firefox-bin'

 

And also good is:

killall -9 kopete

adding the -9 will remove those stubborn processes that don't want to go

 

If adding -9 doesnt work, the process has locked up in kernelspace, and often the only way to kill it is to reboot.

 

James

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...