Jump to content

Assign priority to a process


Rama Murthy
 Share

Recommended Posts

Hii.. Thanks for the "nice" suggestion..

But say I am running Amarok, firefox and thunderbird on my machine.. where does it list all these processes?

nice says

[root@localhosta Desktop]# man nice
[root@localhost Desktop]# nice
0
[root@localhost Desktop]# 
[code]

I have gone thru manual pages of nice.. it doest give me any way to list out processes running on my system.. so that i can assign priority to them...
and i tried this..
[code]
[root@localhost Desktop]# nice firefox
[root@localhost Desktop]#

it opens another firefox window for me.. !!?

 

How do i list out processes running on my system?

 

Thanks for your help on this..

Link to comment
Share on other sites

Try 'pgrep'. With this you look up details of processes meeting certain criteria, say:

 

pgrep -lf -u rama

 

would list all processes started by user rama, including command line and other details how thee were started. See man pgrep for details. Both gnome (gnome-system-monitor) and KDE (don't know) have graphical version of this.

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...