Tools.SystemStats (etl_core v0.2.0)

Module to retrieve system memory usage and disk usage information in a human-readable format.

Summary

Functions

Gets the system's disk usage in a human-readable format.

Gets the system's memory usage in a human-readable format (KB, MB, GB).

Functions

Link to this function

get_disk_info()

Gets the system's disk usage in a human-readable format.

Returns:

- Map containing `:used` and `:free` disk space in human-readable format.
Link to this function

get_memory_info()

Gets the system's memory usage in a human-readable format (KB, MB, GB).

Returns:

- Map with `:used` and `:free` keys containing the memory usage in a human-readable format.