Solaris process management and process management
View the dynamic and static information of the Process, foreground and background processes, and kill the process.
Three processes: interaction process, daemon process, and batch processing process (a process sequence independent of the Terminal)
Ps
View ssh-related processes: ps-ef | grep ssh grep is called a filter character.
Cmd command to generate a process. The start time of the Stime process, ppid, parent process id, and tree structure.
View dynamic processes prstat top interactive check and display valid processes on the System
Process start mode: Manual start and scheduling start.
Manual start: it can be divided into front-end and back-end (add one more at the end of the line, with space), process scheduling in front and back-end, jobs, fg, bg.
Jobs checks the fg job number of the background process and transfers the background process to the foreground. Ctrl Z: Move the foreground process to the background and stop it. If you want it to continue running, add the bg job number.
Crtl + C interrupts the command being executed.
Kill + pid to Kill the specified process.
Kill-l lists all processes.
Botnets: they do not run and occupy resources. Orphan process: running, occupying resources. The parent process died and was adopted by init 1.
Nohup is generally used together with and without hanging up the running process. In this way, the task will not be terminated because of the system's sudden shutdown.
Xargs-I command {}
Three methods of executing multiple commands: