![]() Specific parameters can refer to man PS or PS tool identifies 5 status codes for the process:ĭ non-interruptible uninterruptible sleep (usually IO) Stop (process received Sigstop, SIGSTP, Sigtin, Sigtou signal after stop running run) Zombie (The process has been terminated, but the process descriptor exists until the parent process calls WAIT4 () after the system call is released)ĥ. Non-interruptible (receive signal does not wake up and not run, process must wait until interrupt occurs)Ĥ. Interrupt (dormant, blocked, waiting for a condition to form or receive a signal)ģ. Running (running or waiting in the running queue)Ģ. There are 5 states of processes on Linux:ġ. The KILL command is used to kill the process. PS gives us a one-time view of the process, it provides a view of the results is not dynamic continuous, if you want to monitor the process, you should use the top tool. In short, most of the information can be obtained by executing the command. Use this command to determine which processes are running and running, whether the process is complete, if the process is zombie, which processes are consuming too many resources, and so on. ![]() To monitor and control the process, you must first understand the current process, that is, you need to see the current process, and the PS command is the most basic and very powerful process view command. The PS command lists the current snapshots of those processes, which are those that are executing the PS command at the moment, and if you want to display process information dynamically, you can use the top command. The PS command is used to list those processes that are currently running on the system. The PS command in Linux is the abbreviation for process status. The items shown are: UID, PID, PPID, C, Stime, TTY, Time, CMD Ps-ef is the process of displaying Java in a standard format The items shown are: USER, PID,%cpu,%MEM, VSZ, RSS, TTY, STAT, START, Time, COMMAND PS aux is the BSD format to display the Java process They are all used to display the currently running process, but:
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |