CLASS {Hardware|_utilities} , UNTESTED, NATIVE, BITWISE, ABSTRACT:
------------------------------------------------------------------- 'Disks'
FUN Get_system_drive ==> STR
FUN Get_drives|_list_as_letters_string ==> STR , DEPRECATED('Platform dependent') , NATIVE
ENUMERATION {drive_type} :
'UNKNOWN|_TYPE' ,
'NOT_EXIST' ,
'REMOVABLE' ,
'FIXED|_DRIVE' ,
'REMOTE|_NETWORK' ,
'CD_DVD|_ROM' ,
'RAM_DISK' .
FUN Get_drive_type ( STR Letter|_disk ) ==> {drive_type} , DEPRECATED('Platform dependent') , NATIVE
FUN Eject_drive ( STR Letter|_disk ) ==> BOOL , DEPRECATED('Platform dependent') , NATIVE
FUN Get_drive_volume_label ( STR Letter|_disk ) ==> STR , DEPRECATED('Platform dependent') , NATIVE
FUN Get_drive_total_size ( STR Letter|_disk ) ==> REAL
FUN Get_drive_free_space || Get_disk_free_space ( STR Letter|_disk ) ==> REAL
------------------------------------------------------------------ 'Memory'
STRUCTURE {memory|_status}
REAL Memory_load|_percents_in_use
REAL Total_phys|ical_memory_bytes
REAL Free_phys|ical_memory_bytes
REAL Page_file|_total_size_bytes
REAL Free_page|_file_size_bytes
REAL Total_virt|ual_memory_bytes
REAL Free_virt|ual_memory_bytes .
FUNCTION Memory_status ==> {memory} , DEPRECATED('Platform dependent')
-------------------------------------------------------------- 'Processors'
FUNCTION Processor_load|_percents ==> REAL , DEPRECATED('Platform dependent') , NATIVE
FUN Processors_count|_logical ==> INT , NATIVE
--------------------------------------------------------- 'Power / Battery'
ENUMERATION {power_AC_line} :
'UNKNOWN_AC|_STATUS' ,
'OFFLINE|_AC_WORK_FROM_BATTERY' ,
'ONLINE|_AC' .
ENUMERATION {power_battery|_flags} :
'UNKNOWN_BATTERY|_STATUS' ,
'HIGH|_POWER_LEVEL' ,
'LOW|_POWER_LEVEL' ,
'CRITICAL|_POWER_LEVEL' ,
'CHARGING|_BATTERY' ,
'NO_BATTERY' ,
'UNKNOWN_LIFE_PERCENT' ,
'UNKNOWN_LIFE_TIME' ,
'UNKNOWN_FULL_LIFE_TIME' .
STRUCTURE {power_status}
{power_AC_line} AC|_line_status
BOOL Battery|_flags[{power_battery}]
REAL Life_percent|_0_TO_100
REAL Life_time|_seconds
REAL Life_full|_life_time_seconds .
FUNCTION Power_status ==> {power_status} , DEPRECATED('Platform dependent')