IEEE-VIT / termiboard

A smart CLI Dashboard to fetch cpu, memory and network stats!
MIT License
35 stars 16 forks source link

Implemented GetDiskUsage() function #11

Closed S-Maciejewski closed 4 years ago

S-Maciejewski commented 4 years ago

This pull request relates to the issue #1

The GetDiskUsage() method in memory.go was implemented using gopsutil library's disk.Usage function. The result is displayed by ResultPrinter function as a percentage of disk usage as well as the disk space available, consistent with GetRamUsage().