Linux gitps-Befehl
Linux Command大全
Der Linux-Befehl gitps berichtet über den Zustand der Programme.
gitps(gnu interactive tools process status) wird verwendet, um die Ausführung von Programmen zu berichten und zu verwalten. Grundsätzlich berichtet und verwaltet es durch das ps-Kommando, kann aber jederzeit durch das gitps-Kommando unterbrochen und unnotwendige Programme gelöscht werden. Da gitps-Kommando das ps-Kommando ausführt, sind die Parameter dem ps-Kommando sehr ähnlich.
语法
gitps [acefgjlnrsSTuvwxX][p <程序识别码>][t <终端机编号>][U <帐号名称>]
Parameter Description:
- a Display all programs under the current terminal, including programs of other users.
- c List the real command name of each program when listing programs, not including the path, parameters, or resident service markers.
- e Display environment variables used by each program when listing programs.
- f Display tree structure using ASCII characters to express the interrelation between programs.
- g Display all programs under the current terminal, including the programs of group leaders.
- j Display program status using job control format.
- l Display program status using a thin format.
- n Represent USER and WCHAN columns with numbers.
- p<program ID> Specify the program ID and list the status of the program.
- r List only the programs currently being executed on the current terminal.
- s Display program status using the program signal format.
- S List program status, including information about terminated child processes.
- t<terminal number> Specify the terminal number and list the status of programs belonging to the terminal.
- T Display all programs under the current terminal.
- u Display program status in a user-centric format.
- U<account name> List the status of programs belonging to the specified user.
- v Display program status using virtual memory format.
- w Display program status using a wide format.
- x Display all programs, not distinguishing by terminal.
- X Adopt the old test Linux i386Log in to display program status.
Online Examples
Display specified user information
# gitps hnlinux
Linux Command大全