aksakalli / gtop

System monitoring dashboard for terminal
MIT License
9.72k stars 324 forks source link

Disk usage is different than what is reported by Storage Management on macOS Catalina #99

Open mahdi opened 4 years ago

mahdi commented 4 years ago

Environment

Description

Disk usage is different than what is reported by Storage Management on Catalina.

sangshuduo commented 2 years ago

same here with big sur 11.6.1

aksakalli commented 2 years ago

Hey @mahdi & @sangshuduo, thanks for reporting that. have you tried again with gtop v1.1.2

sangshuduo commented 2 years ago

Hey @mahdi & @sangshuduo, thanks for reporting that. have you tried again with gtop v1.1.2

What I'm using is v1.1.2.


npm info gtop  ✔  10567  16:58:38

gtop@1.1.2 | MIT | deps: 3 | versions: 14 graphic top https://github.com/aksakalli/gtop#readme

keywords: system, monitoring, top, chart, monitor, dashboard, os

bin: gtop

dist .tarball: https://registry.npmjs.org/gtop/-/gtop-1.1.2.tgz .shasum: d041ebf0ebea83a288a891430b3072fbab0d4576 .integrity: sha512-IebcEL7sb+QBmXfAlsljGjAyMNDCa5Dt9Xx7HQvQUI1XuwSFZzivvMzS0dWIFL2TKKuF77ticbBi+Imip4vx2g== .unpackedSize: 12.9 kB

dependencies: blessed-contrib: ^4.10.1 blessed: ^0.1.81 systeminformation: ^5.9.11

maintainers:

dist-tags: latest: 1.1.2

aksakalli commented 2 years ago

Do you have multiple mounts? gtop is showing the first mounted disk from fsSize of systeminformation

sangshuduo commented 2 years ago

Yes.. but macOS use multiple mounts by default. Seems gtop needs extra logic on the macOS system to get an accurate number.

qodesmith commented 10 months ago

Same issue here - using gtop v1.1.5. MacOS Sonoma. Incorrect disk usage reported.