Nineth Day Process Management & Task Scheduler

Source: Internet
Author: User

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.