Brew info redislaunchctl unload ~ /Library/launchagents/homebrew. mxcl. redis. plistps aux | grep redis kill-9 78053./deploy/SH/redis_server.sh start
There are 5 processes in Linux: 1. running (running or waiting in the running Queue) 2. interruption (sleep, blocked, waiting for the formation of a condition or receiving a signal) 3. do not interrupt (do not wake up when receiving the signal or do not run, the process must wait until an interruption occurs) 4. dead (the process has been terminated, but the process descriptor exists until the parent process calls wait4 () released after the system call) 5. stop (the process stops running after receiving the sigstop, sigstp, sigtin, and sigtou signals) 1) pS a displays allProgramIncluding programs of other users. 2) PS-A shows all programs. 3) when listing programs in ps c, the real command name of each program is displayed without the path, parameter or resident service identifier. 4) the effect of this parameter is the same as that of the specified "A" parameter. 5) when listing programs, PS e displays the environment variables used by each program. 6) pS F uses ASCII characters to display the tree structure and express the relationship between programs. 7) the PS-H tree structure is displayed, indicating the relationship between programs. 8) PS-n shows all programs, except the programs under the ps command terminal. 9) pS displays the program status in the program signal format. 10) when listing programs in PS, it includes interrupted subroutines. 11) PS-T <terminal number> specifies the terminal number and lists the status of programs belonging to the terminal. 12) pS U displays the program status in user-based format. 13) pS X shows all programs, which are not distinguished by terminals. 14) the PS-l growth indicates the PID information.