-4

How can I get hard disk capacity, usage, etc. using the /proc or /sys filesystems?

-1

Use df; it's in coreutils, so if your Linux system lets you read /proc, it will probably let you execute df. By the way, not all Linux systems have /proc and /sys.

| improve this answer | |

Not the answer you're looking for? Browse other questions tagged or ask your own question.