Linux Process
什麼是Process 程序是一段指令的集合,被載入記憶體 使用 Numeric Process ID (PID) 識別程序 UID, GID and SELinux context 決定 filesystem 存取 Normally 繼承 from the 執行者 列出 Process View Process information with ps [lcc09@localhost ~]$ ps --help ********* simple selection ********* ********* selection by list ********* -A 所有的程序 -C by command name -N negate selection -G by real group ID (supports names) -a all w/ tty except session leaders -U by real user ID (supports names) -d all except session leaders -g by session OR by effective group name -e all processes -p by process ID T all processes on this terminal -s processes in the sessions given a all w/ tty, including other users -t by tty g OBSOLETE -- DO NOT USE -u by effective user ID (supports names) r only running processes U processes for specified users x 把包含不被ttys控制的程序都列出來 *********** output format ********** *********** long options *******...