cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - When posting, your subject should be specific and summarize your question. Here are some additional tips on asking a great question. X

How can I get the disk space info (used / free)?

ptc-914827
5-Regular Member

How can I get the disk space info (used / free)?

I want to create a gadget that shows the disk space on the server.

How can I get the disk space info (used / free)?

1 REPLY 1
tcoufal
12-Amethyst
(To:ptc-914827)

I am not sure, but I think there is no simple way how to do that. Try to find something like "how to spawn a df command in Rhino". If it were me, I would create a separate PHP script (because I am PHP junky ) which would run df command via exec() or system() or any other function. and return its output as a JSON or XML upon GET request (simple REST API). Simpler way might by using Java Extension SDK though to create a widget which would invoke system command. I would prefer to use JAVA, but I am not that far.

Tomas

Top Tags