Tiến trình trên Linux ở không gian kernel (kernel space) gọi là kernel thread.
Tiến trình trên Linux ở không gian người dùng (user space) gọi là process hoặc light weight process (LWP).
Quản lí tiến trình trên Linux có những lệnh sau
free (1) - Display amount of free and used memory in the system
pgrep (1) - look up, signal, or wait for processes based on name and other attributes
pidof (1) - find the process ID of a running program
pidwait (1) - look up, signal, or wait for processes based on name and other attributes
pkill (1) - look up, signal, or wait for processes based on name and other attributes
pmap (1) - report memory map of a process
ps (1) - report a snapshot of the current processes.
pwdx (1) - report current working directory of a process
skill (1) - send a signal or report process status
slabtop (1) - display kernel slab cache information in real time
snice (1) - send a signal or report process status
tload (1) - graphic representation of system load average
top (1) - display Linux processes
uptime (1) - Tell how long the system has been running.
vmstat (8) - Report virtual memory statistics
w (1) - Show who is logged on and what they are doing.
watch (1) - execute a program periodically, showing output fullscreen
sysctl (8) - configure kernel parameters at runtime
killall (1) - kill processes by name
peekfd (1) - peek at file descriptors of running processes
prtstat (1) - print statistics of a process
pslog (1) - report current logs path of a process
pstree (1) - display a tree of processes
fuser (1) - identify processes using files or sockets
/usr/bin/pstree.x11: nothing appropriate.
# cat /etc/os-release
NAME="Rocky Linux"
VERSION="9.3 (Blue Onyx)"
ID="rocky"
ID_LIKE="rhel centos fedora"
VERSION_ID="9.3"
PLATFORM_ID="platform:el9"
PRETTY_NAME="Rocky Linux 9.3 (Blue Onyx)"
ANSI_COLOR="0;32"
LOGO="fedora-logo-icon"
CPE_NAME="cpe:/o:rocky:rocky:9::baseos"
HOME_URL="https://rockylinux.org/"
BUG_REPORT_URL="https://bugs.rockylinux.org/"
SUPPORT_END="2032-05-31"
ROCKY_SUPPORT_PRODUCT="Rocky-Linux-9"
ROCKY_SUPPORT_PRODUCT_VERSION="9.3"
REDHAT_SUPPORT_PRODUCT="Rocky Linux"
REDHAT_SUPPORT_PRODUCT_VERSION="9.3"