ptrxyzP
Denoβ€’3y agoβ€’
8 replies
ptrxyz

Getting free disk space without using child_process.

Hello everyone!
I would like to create a small CLI tool using Typescript and Deno. I would like to monitor the free disk space on several disks.

How can I get the free disk space on a Linux machine without forking a separate process (like exec --> df and the like)?
In addition, I would like to deno compile my little program later, so I am not sure if Node's gyp is an option then.
Was this page helpful?