Fifth jobs, view process information; plans to set up a one-time task; setting periodic scheduled tasks

1, two forms of options via the ps command to view process information

2, the top command to see the process through

3, see the pgrep command sshd service by process ID

4, view the system process tree

5, so dd if = / dev / zero of = / root / file bs = 1M count = 8190 command operations in the foreground

 

6, the fifth title command operations transferred to the background and pauses

Ctrl + z

7, so dd if = / dev / zero of = / root / file2 bs = 1M count = 1024 command operations run in the background

8, see the background of the task list

9, recovery dd if = / dev / zero of = / root / file bs = 1M count = 8190 allowed to continue in the background

10, the query dd if = / dev / zero of course = / root / file bs = 1M count = 8190 command and kill by kill

11, plans to set up a one-time task shut down the system at the time of 18:00, and view task information

 

12, plans to set up a recurring task as root

a packing 24 o'clock every night) compression / etc / passwd / etc / shadow / etc / group / etc / gshadow is file.tar.gz

 b) a list of every five minutes a week, disk usage

 c) daily at 8:30 and the Internet time synchronization time synchronization server pool.ntp.org

 

 

13, see the plan through the root crontab command tasks, lists the contents of the corresponding file under / var / spool / cron file viewing via Tools

 

Guess you like

Origin www.cnblogs.com/canflyfish/p/11323154.html