# Default configuration file for diskcheck # Copyright (c) 2001 Red Hat, Inc. all rights reserved.
# Disks fuller than 90% will be reported defaultCutoff = 90 #磁碟空間使用超過 90% 就寄信回報
# Specify per-disk cut-off amounts to override the default value # listed above. You may specify either mount points or partitions. #cutoff['/dev/hda3'] = 50 #cutoff['/home'] = 50 #設定不同的分割區使用不同的使用比例,例如我們想要讓 /home 使用超過 50% 就回報,就可以在這裡設定(這裡的設定會蓋過上面的預設值)
# List one or more partitions to exclude from the check (space seperated). exclude = "/dev/fd*" # 設定要排除在外,不檢查的分割區
# List one or more filesystem types to ignore. # List filesystems in the format -x # tmpfs, iso9660 (CD-ROM), and 'none' filesystems are automatically ignored. ignore = "-x nfs" #設定要排除在外,不檢查的檔案系統
# Who to send the report to. mailTo = "root@localhost" #設定要寄信給誰,預設是寄給 root ,我們可以給成自己常用的信箱
# Who to identify the mail as coming from. mailFrom = "Disk Usage Monitor - diskcheck" #信件的標題,可自取