i want to implement a node.js program to checkup the filesystems(such as ext3..)status. However, the fs module only provide the operations of file. Must i use something else third part module?
i want to implement a node.js program to checkup the filesystems(such as ext3..)status. However,
Share
One option would be to capture the output of the ‘df’ command and parse it.
You can run commands using child processes.
http://nodejs.org/docs/latest/api/child_processes.html#child_process.exec