Skip to content

akash-cloudtech/Disk-Usages

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

Disk-Usages

This script is for checking file sizes in particular mount

#Usages

Clone complete repository at any desired location on linux machine.

Pre-Requistes Pyhton 2.7

Note: Both files should be in same directoty.

Execution:

python disk-run.py mount-directory-path

Eg.

python disk-run.py  /tmp

Output:

{     "files":     [       {"/tmp/foo", 1000},       {"/tmp/bar", 1000000},       {"/tmp/buzzz", 42},     ], } 

File disk-run.py file call a shell script disk-use.sh, which contains a single command of du and the result is shown in above format.

About

This script is for checking file sizes in particular mount

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors