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