Linux gitps command
Linux Command大全
The Linux gitps command is used to report program status.
gitps (gnu interactive tools process status) is used to report and manage program execution commands. Essentially, it reports and manages programs through the ps command, and can also interrupt and delete unnecessary programs at any time through the gitps command. Because the gitps command executes the ps command, its parameters are quite similar to those of the ps command.
Syntax
gitps [acefgjlnrsSTuvwxX][p <program identification code>][t <terminal number>][U <account name>]
Parameter Description:
- a Display all programs under the current terminal, including programs of other users.
- c List program status, displaying the actual command name of each program without including the path, parameters, or resident service indicators.
- e List program status, displaying each program's used environment variables.
- f Display a tree structure using ASCII characters to express the interrelationship between programs.
- g Display all programs under the current terminal, including those of group leaders.
- j Display program status in a format of job control.
- l Display program status in a thin format.
- n Represent the 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 in the current terminal.
- s Display program status in a format of program signals.
- 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 that terminal.
- T Display all programs under the current terminal.
- u Display program status in a user-centered format.
- U<account name> List the status of programs belonging to the specified user.
- v Display program status in a virtual memory format.
- w Display program status in a wide format.
- x Display all programs, not distinguishing by terminal.
- X Adopt the old trial Linux i386Log in to display the status of the program.
Online Examples
Display specified user information
# gitps hnlinux
Linux Command大全