Skip to content

gauravcodepro/awk-plotter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 

Repository files navigation

awk-plotter

A awk based sort index way to plot the files or the directories across the dockers and intergrate this in your ~/.bashrc or the ~./zshrc or a cron job for managing the disk space across dockers. An easy way to manage the docker image sizes across the containers and to estimate the file sizes according to the file bins. For windows, you can follow this code git_repo which i saw and then wrote this code to make an easier version for dockers and containers and also for the filesystem.

if you are using the system on the docker or containers then simply you can pass
 for i in $(tree -L 1); do echo du -sh $i; done
and can pipe for the plot. 

visual1

if you dont have the docker containers file system listed, no need to think a simply shell utility to profile the docker containers files with the following code and plot as barplots.

Gaurav
Academic Staff Member
Bioinformatics
Institute for Biochemistry and Biology
University of Potsdam
Potsdam,Germany