To monitor the status of disk partitions on a Macintosh machine, use this script. It generates a custom table with rows for each disk partition, allowing for easy disk usage monitoring.
Each row includes the following information:
- ID: The name of the disk partition
- Usage: Percentage of disk space used
- Free Space: Amount of free disk space available
- Size: Total disk space available
The script has been validated and tested on MacOS version 14.5, and the SSH protocol is used to execute commands on MacOS.
You can find the script in our library.