E-learning module "Linux Basics"
Process Management
In Linux, every command launches a process. Shells are processes, too.
$ top → Tool for a structured display of processes.
$ top -u user1 → Display the processes of user user1.
$ htop → An interactive and enhanced version of top.
$ ps → Show the current process state. Has a lot of parameters.
$ ps -elf → every process, long format, full listing.
$ kill → Send a signal to a process, e.g. the kill signal to terminate the process.
$ lsof → list open files; Shows the relation between open files and processes.
The content of this e-learning module is licensed under the Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Germany license (CC BY-NC-SA 3.0 DE). |
