tailieunhanh - Ubuntu The Complete Reference phần 8

Mô tả In Poster hạn ngạch nhóm cho nhóm của người dùng hiển thị mức hạn ngạch của người dùng trên hệ thống tập tin lưu trữ được phân bổ ở đâu Không IS In thông tin về hệ thống tập tin là trường hợp sử dụng trên hạn ngạch | 496 Part VII System Administration quota Option Description -g Prints group quotas for the user s group -u Prints the user s quota -v Displays quotas on file systems where no storage is allocated -q Prints information on file systems where usage is over quota Table 22-6 Options for quota The limit you set for a quota can be hard or soft. A hard limit will deny a user the ability to exceed his or her quota whereas a soft limit will just issue a warning. For the soft limit you can designate a grace period up to 48 hours during which time the user can reduce her disk space below the limit. If the disk space still exceeds the limit after the grace period expires the user can be denied access to her account. For example a soft limit is typically 75MB whereas the hard limit could be 100MB. The quota record begins with the hard disk device name and the blocks of memory and inodes in use. The limits segments have parameters for soft and hard limits. If these entries are 0 no limits are in place. You can set both hard and soft limits using the hard limit as a firm restriction. Blocks in Linux are currently about 1000 bytes. The inodes are used by files to hold information about the memory blocks making up a file. To set the time limit for a soft limit use the edquota command with the -t option. The following example displays the quota record for larisa Quotas for user larisa dev hda3 blocks in use 9000 limits soft 40000 hard 60000 inodes in use 321 limits soft 0 hard 0 repquota and quota As the system administrator you can use the repquota command to generate a summary of disk usage for a specified file system checking to see what users are approaching or exceeding quota limits. repquota takes as its argument the file system to check the -a option checks all file systems. Here s an example repquota dev hda1 Individual users can use the quota command to check memory use and determine how much disk space is left in their quota. Table 22-6 shows the options for the command. .

TỪ KHÓA LIÊN QUAN