Linux view the shutdown process

  • process: ps static list (Process status)

    

    - PID : Process ID, each process a unique identifier (closed process requires the use of)

    - TTY: terminal belongs, indicating that the process produces a terminal in which, for the use of multi-user Linux servers have to distinguish between user functionality

    - TIME: How long process runs

    - CMD: the process from which program

    All processes list all users all sub-ah terminal: ps -ef -

    - ps -efH: by tree-like list all processes, some process is the child process in certain process

    - ps -u Username: lists a specific user processes running

  • Process: top dynamic list

     

  • kill: End Process

    - kill PID: gently close the process ID for the process PID

    - kill PID1 PID2 PID3: gently close the process ID for the process PID1, PID2, PID3 of

    - the kill -9 PID: forced violently shut down process ID PID of the process

    - killall name of the program: shutdown process more of the specified program name

      - killall lighttpd: lighttpd Close all programs

Guess you like

Origin www.cnblogs.com/VCplus/p/11489449.html