linux-System Management Related commands--free;quota

Source: Internet
Author: User
Tags disk usage

Free
1. Role
The Free command is used to display memory usage, and the use of permissions is for all users.
2. Format
Free [-b|-k|-m] [-O] [-s delay] [-t] [-v]
3. Main parameters
-b-k-M: Displays memory usage in bytes (KB, MB), respectively.
-S delay: Displays the number of seconds per second to show memory usage.
-T: Displays the memory sum column.
-O: Do not display buffer throttling columns.
4. Application examples
The free command is the primary command used to view memory usage. Compared to the top command, it has the advantage of being simple to use and consuming very little system resources. With the-s parameter, you can use the free command to continuously monitor how much memory is in use, which can be used as a handy real-time monitor.
#free-b-s5
with this command, the terminal continuously reports memory usage (in bytes), updated every 5 seconds.

Quota
1. Role
The quota command is used to display disk usage and throttling conditions, using the privilege superuser.
2. Format
quota [-g][-u][-v][-p] User name Group name
3. Parameters
-G: Displays the disk usage limit for the group to which the user is located.
-u: Displays the user's disk usage limits.
-V: Shows the allocation of file systems with no allocated space.
-P: Displays simplified information.
4. Application examples
disk quotas are important in enterprise applications, and ordinary users learn to understand their disk usage. To query your own disk quotas, you can use the following command (the user account in the following example is CAOJH):
#quota Caojh
Disk quotas for user caojh (UID 502):
Filesystem Blocks Quota limit grace files quota limit Grace
/dev/hda3 200000 400000
The above display ID number 502 CAOJH account, the number of files set to 500~1000, the hard disk space limit is set to 200MB~400MB. Once the disk quota is exhausted, you need to delete some junk files or ask your system administrator for additional quotas.

This article is from the "--" blog, please be sure to keep this source http://57388.blog.51cto.com/47388/1544737

linux-System Management Related commands--free;quota

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.