Hi,
I'm writing a wrapper that tells me the free space and percentage on some file systems.
I need it to work on all UNIX and Linux platforms.
Currently I'm thinking about a good regular expression that covers all platforms by using "df -k", but I'm not sure it's the best. It's a lot of work and testing.
Do you have some idea? a better one?
Thanks in advance!
I'm writing a wrapper that tells me the free space and percentage on some file systems.
I need it to work on all UNIX and Linux platforms.
Currently I'm thinking about a good regular expression that covers all platforms by using "df -k", but I'm not sure it's the best. It's a lot of work and testing.
Do you have some idea? a better one?
Thanks in advance!