Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

disksup(3erl) [linux man page]

disksup(3erl)						     Erlang Module Definition						     disksup(3erl)

NAME
disksup - A Disk Supervisor Process DESCRIPTION
disksup is a process which supervises the available disk space in the system. It is part of the OS_Mon application, see os_mon(7) . Avail- able for Unix and Windows. Periodically checks the disks. For each disk or partition which uses more than a certain amount of the available space, the alarm {{disk_almost_full, MountedOn}, []} is set. On Unix : All (locally) mounted disks are checked, including the swap disk if it is present. On WIN32 : All logical drives of type "FIXED_DISK" are checked. Alarms are reported to the SASL alarm handler, see alarm_handler(3erl) . To set an alarm, alarm_handler:set_alarm(Alarm) is called where Alarm is the alarm specified above. The alarms are cleared automatically when the alarm cause is no longer valid. CONFIGURATION
The following configuration parameters can be used to change the default values for time interval and threshold: disk_space_check_interval = int()>0 : The time interval, in minutes, for the periodic disk space check. The default is 30 minutes. disk_almost_full_threshold = float() : The threshold, as percentage of total disk space, for how much disk can be utilized before the disk_almost_full alarm is set. The default is 0.80 (80%). See config(5) for information about how to change the value of configuration parameters. EXPORTS
get_disk_data() -> [DiskData] Types DiskData = {Id, KByte, Capacity} Id = string() KByte = int() Capacity = int() Returns the result of the latest disk check. Id is a string that identifies the disk or partition. KByte is the total size of the disk or partition in kbytes. Capacity is the percentage of disk space used. The function is asynchronous in the sense that it does not invoke a disk check, but returns the latest available value. Returns [{"none",0,0}] if disksup is not available. get_check_interval() -> MS Types MS = int() Returns the time interval, in milliseconds, for the periodic disk space check. set_check_interval(Minutes) -> ok Types Minutes = int()>=1 Changes the time interval, given in minutes, for the periodic disk space check. The change will take effect after the next disk space check and is non-persist. That is, in case of a process restart, this value is forgotten and the default value will be used. See Configuration above. get_almost_full_threshold() -> Percent Types Percent = int() Returns the threshold, in percent, for disk space utilization. set_almost_full_threshold(Float) -> ok Types Float = float(), 0=<Float=<1 Changes the threshold, given as a float, for disk space utilization. The change will take effect during the next disk space check and is non-persist. That is, in case of a process restart, this value is forgotten and the default value will be used. See Configuration above. SEE ALSO
alarm_handler(3erl) , os_mon(3erl) Ericsson AB os_mon 2.2.5 disksup(3erl)

Check Out this Related Man Page

acctsuspend(5)							File Formats Manual						    acctsuspend(5)

NAME
acctsuspend, acctresume - suspend and resume accounting when available disk space reaches threshold VALUES
Failsafe Default. Default acctsuspend: acctresume: Allowed values acctresume: acctsuspend: Recommended values acctsuspend: acctresume: (But more than acctsuspend) DESCRIPTION
The and tunables control when accounting stops and resumes due to disk space constraints. When free disk space on the file system being used by accounting reaches the suspension threshold, which is the percentage relative to the percentage of disk space available only to the superuser, accounting is suspended until such time as the free disk space reaches the resumption threshold, which is the percentage rela- tive to the percentage of disk space available only to the superuser. Note: Since the and values are specified relative to the percentage of disk space available only to the superuser, negative values of these parameters can make sense. For example, if the superuser has reserved 10 percent of the disk space on the file system at file system creation time, and acctsuspend is -5 and acctresume is 0, the suspension threshold will be 5 percent of the total disk space and the resumption threshold will be 10 percent of the total disk space. Who Is Expected to Change This Tunable? Anyone using accounting. Restrictions on Changing Changes to this tunable take effect at the next reboot. When Should the Value of This Tunable Be Raised? Increasing either variable should be considered when it is necessary to maintain a higher percentage of free space on the accounting filesystem. What Are the Side Effects of Raising the Value of This Tunable? The higher either value is, the less accounting data may be captured. The further the values are separated, the greater the amount of potentially lost accounting data. When Should the Value of This Tunable Be Lowered? If additional disk space is needed for accounting data, and it cannot be obtained by moving files off of the filesystem, then the value of should be lowered. What Are the Side Effects of Lowering the Value of This Tunable? Filesystem performance (writing accounting records) decreases as the filesystem fills up. In turn, this will decrease the overall perfor- mance of accounting processes. What Other Tunables Should Be Changed at the Same Time? When changing either of these tunables, both should be considered. WARNINGS
All HP-UX kernel tunable parameters are release specific. This parameter may be removed or have its meaning changed in future releases of HP-UX. Installation of optional kernel software, from HP or other vendors, may cause changes to tunable parameter values. After installation, some tunable parameters may no longer be at the default or recommended values. For information about the effects of installation on tun- able values, consult the documentation for the kernel software being installed. For information about optional kernel software that was factory installed on your system, see at AUTHOR
and were developed by HP. SEE ALSO
accton(1M). Tunable Kernel Parameters acctsuspend(5)
Man Page