This page was moved from the Toolserver wiki.
Toolserver has been replaced by Toolforge. As such, the instructions here may no longer work, but may still be of historical interest.
Please help by updating examples, links, template links, etc. If a page is still relevant, move it to a normal title and leave a redirect.
There are a few ways you can see what processes are running.
top will show you the top processes on the system in a pseudo-live table. By default, this is in terms of CPU - see
man top to change that. By default
top includes processes from all users:
To see only your processes, use
% top -u $LOGNAME
Nice levels are the column "NI".
On Solaris, you can also use the similar program
prstat. To see your processes with a summary of CPU and memory use:
% prstat -a -U $LOGNAME
ps shows a static list of processes - useful when killing processes for example. By default, the list is unsorted and includes all processes with the same effective user ID (EUID) as the current user (you) and associated with the same terminal as the invoker (the terminal you're using right now) and which have a TTY:
If you have processes running which are not associated with the same terminal you're using now (for example from cron), they will not be shown. To see them, lift the requirement that the processes have a TTY using:
To make a search over the processes, use grep.
ps x|grep "bot"
gives you all processes which has the sequence "bot" in the command (please note that grep is case-sensive by default; you can change that with -i).
To view nice levels, use (possibly in combination with other parameters):