Bird Brother Linux Private vegetable Note (c): System Management

Source: Internet
Author: User

Disk quotas

The real disk quota is read/etc/mtab, which needs to be restarted before it can be rewritten with/etc/fstab's new data.

Establishment of a routine order

Only once with the AT command: at [-m] time where-m when the job is completely notified to the user by mail. At [-m] time, the at prompt appears and the user can execute multiple commands.

/etc/at.allow and/etc/at.deny can be used to limit the use of at.

ATQ can query the current host at task, ATRM [Jobnumber] can cancel the task.

Routine commands with Crontab:crontab [-u username] [-l |-E |-r] where-u establishes, deletes crontab,

-e Edit crontab,-l View crontab,-r delete content from crontab.

Similarly, there are files/etc/cron.allow and/etc/cron.deny to restrict the use of at.

Crontab can use commands, and scripts can be used in/etc/crontab:

Chapter 17th procedure and resource management

Observe the current background job status: Jobs [-lrs] Where-l lists all,-R lists running (run),-s list paused (stop).

Take the background job to the foreground processing: FG%jobnumber where "%" is optional.

Let the job run in the background: BG

Kill-signal%jobnumber. KILL-L lists the available signal, where 1 re-reads the parameter's settings file (similar to reload),

-2 means that ctrl+c,-9 is forced to delete,-15 is terminated in the normal way.

Top [-d] [-BNP] where-D after the number of seconds, that is, update the number of seconds, the default is 5 seconds,

-B performs top,-n with-B in batch mode, specifies the output of several top commands, and-p specifies a PID for observation monitoring.

Basically, each PID is stored in the/proc in the directory type.

Bird Brother Linux Private vegetable Note (c): System Management

Related Article

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.