Linux pstree命令將所有行程以樹(shù)狀圖顯示,樹(shù)狀圖將會(huì)以 pid (如果有指定) 或是以 init 這個(gè)基本行程為根 (root),如果有指定使用者 id,則樹(shù)狀圖會(huì)只顯示該使用者所擁有的行程。 使用權(quán)限:所有使用者。 語(yǔ)法 pstree [-a] [-c] [-h|-Hpid] [-l] [-n] [-p] [-u] [-G|-U] [pid|user] ...
edu.jb51.net/linux/linux-comm-pstr... 2025-5-30