Toolserver:Viewing processes

There are a few ways you can see what processes are running.

top
will show you the top processes in a pseudo-live table. By default, this is in terms of CPU - see  to change that. Also by default there is no restriction on which users are included: top To see only your processes, use top -u Nice levels are the column "NI".

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: ps 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: ps x

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): ps l

killing processes

 * See Code snippets