To view system process commands:
1. Utility Command PS-EF View all background processes generally use the filtering process with grep
2.ps-fu root View all root processes
PID Process number PPID The parent process number TTY process related terminal
2.top command Continuous monitoring process
physical memory is not enough to see Swap: Swap space size
in the The Top command presses M or P to see the processes that consume the most memory and cups
Pstree View process relationship Pstree can also add a parent process number jobs View background jobs
kill process : Kill
General use Kill plus process number
Kill-l shows all kill methods -9 and so on .
Killall a process with the same name kills
Pkill-9-U Oracle kills all Oracle processes
BG will suspend a command in the background and change to continue execution
FG moves commands in the background to the foreground to continue running
Ctrl + z can put a command that is being executed in the foreground into the background and pause
Task Scheduler
Cron : The corresponding configuration file /etc/crontab is the maintenance work of the system background
Service cron start view
use the crontab command to implement a user's own task plan
Crontab-e Edit
Crontab-l to list content in user Crontab
Cat/var/log/cron
Nineth Day Process Management & Task Scheduler