LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Generating script functioning similar to df command (https://www.linuxquestions.org/questions/linux-newbie-8/generating-script-functioning-similar-to-df-command-4175462056/)

rtmistler 05-17-2013 04:13 PM

Doesn't sound like you have to write a script, but instead a program where you can output this information graphically as you've said.

Here's one place where a general google found one copy of the source for the df command, but who knows if it is official or a modified one.

http://www.raspberryginger.com/jbail...8c-source.html

Apparently is it part of the coreutils, which you can get from the GNU Project.

http://ftp.gnu.org/gnu/coreutils/

So you may want to grab one of the tar.bz2 or other archive files and see if the source is there. My point is that you can attain what df does in program logic, and then find a way to make that visual via a graphical program like Qt.

Amit Kumar Gupta 05-20-2013 11:21 PM

Thanks a lot to drunna, chrism01 and rknichols for guiding me. Being new to linux, i have learnt a lot from this single thread. :)


All times are GMT -5. The time now is 06:29 PM.