<div dir="ltr">David, <div><br></div><div>Try to see how much space I use in 5 days, so I can plug into a spread sheet to figure up the cost, they give different rates for how much we store. </div><div><br></div><div>Thanks I will try that. </div>
<div><br></div><div>By way, we need to do lunch. </div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, Aug 14, 2014 at 2:23 PM, David Ritchie <span dir="ltr"><<a href="mailto:deritchie@gmail.com" target="_blank">deritchie@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Are you trying to fix this (find out what is filling up the file system) or<br>
simply tracking usage?<br>
<br>
for finding big files, I use<br>
<br>
cd <mountpoint>; find . -xdev -size +1000000c -exec ls -l {} \; | sort<br>
-n -k 5<br>
<br>
Change the size to suit your own preferences and add -mtime to taste.<br>
<br>
-- David<br>
<div class=""><br>
<br>
On Thu, Aug 14, 2014 at 1:11 PM, Jim Kinney <<a href="mailto:jim.kinney@gmail.com">jim.kinney@gmail.com</a>> wrote:<br>
<br>
</div><div><div class="h5">> Yep. sounds like a cron job with 'du' iterated over many, many directories<br>
> and data stored in a rrdb project.<br>
> you can set directory depth and even show mtime.<br>
><br>
><br>
> On Thu, Aug 14, 2014 at 1:01 PM, Lightner, Jeff <<a href="mailto:JLightner@dsservices.com">JLightner@dsservices.com</a>><br>
> wrote:<br>
><br>
> > It isn't likely to give you what you need anyway. While you could get<br>
> > the current size of any file changed in the last 5 days it is quite<br>
> likely<br>
> > that many of the files (especially logs) simply grew in that period.<br>
> That<br>
> > is to say the space they're currently using may be more than they began<br>
> > using in the last 5 days unless they were also created in that time.<br>
> > Similarly if you did ctime instead of mtime it would show you the ones<br>
> > created in that period but would leave out any growth in existing files.<br>
> ><br>
> > To get "growth" you'd have to have a baseline (e.g. total sizes today)<br>
> > then compare to that at some future point (e.g. 5 days from now). You<br>
> > could create a cron job to store the information each day.<br>
> ><br>
> ><br>
> ><br>
> ><br>
> ><br>
> > -----Original Message-----<br>
> > From: <a href="mailto:ale-bounces@ale.org">ale-bounces@ale.org</a> [mailto:<a href="mailto:ale-bounces@ale.org">ale-bounces@ale.org</a>] On Behalf Of JD<br>
> > Sent: Thursday, August 14, 2014 11:19 AM<br>
> > To: Atlanta Linux Enthusiasts<br>
> > Subject: Re: [ale] Disk Space used in the past 5 days<br>
> ><br>
> > On 08/14/2014 10:48 AM, Chuck Payne wrote:<br>
> > > find . -mtime +5 -exec du -sh {} \;<br>
> ><br>
> > It seems to be asking for files OVER 5 days old. You want less than 5<br>
> > days, right?<br>
> ><br>
> > find . -mtime -5 -exec du -sh {} \;<br>
> ><br>
> > Also - directory changes will be included, so limiting it to files might<br>
> > be a good idea.<br>
> ><br>
> ><br>
> > find . -mtime -5 -type f -exec du -sh {} \;<br>
> ><br>
> > I'm not getting the "summary" -<br>
> ><br>
> > find . -mtime -5 -type f -print0 | du -hc --files0-from=-<br>
> ><br>
> > Is closer.<br>
> > _______________________________________________<br>
> > Ale mailing list<br>
> > <a href="mailto:Ale@ale.org">Ale@ale.org</a><br>
> > <a href="http://mail.ale.org/mailman/listinfo/ale" target="_blank">http://mail.ale.org/mailman/listinfo/ale</a><br>
> > See JOBS, ANNOUNCE and SCHOOLS lists at<br>
> > <a href="http://mail.ale.org/mailman/listinfo" target="_blank">http://mail.ale.org/mailman/listinfo</a><br>
> ><br>
> > Athena(r), Created for the Cause(tm)<br>
> > Making a Difference in the Fight Against Breast Cancer<br>
> ><br>
> > __________________________________________________________<br>
> > CONFIDENTIALITY NOTICE: This e-mail may contain privileged<br>
> ><br>
> > or confidential information and is for the sole use of the intended<br>
> ><br>
> > recipient(s). If you are not the intended recipient, any disclosure,<br>
> ><br>
> > copying, distribution, or use of the contents of this information<br>
> ><br>
> > is prohibited and may be unlawful. If you have received this electronic<br>
> ><br>
> > transmission in error, please reply immediately to the sender that<br>
> ><br>
> > you have received the message in error, and delete it. Thank you<br>
> ><br>
> > _______________________________________________<br>
> > Ale mailing list<br>
> > <a href="mailto:Ale@ale.org">Ale@ale.org</a><br>
> > <a href="http://mail.ale.org/mailman/listinfo/ale" target="_blank">http://mail.ale.org/mailman/listinfo/ale</a><br>
> > See JOBS, ANNOUNCE and SCHOOLS lists at<br>
> > <a href="http://mail.ale.org/mailman/listinfo" target="_blank">http://mail.ale.org/mailman/listinfo</a><br>
> ><br>
><br>
><br>
><br>
> --<br>
> --<br>
> James P. Kinney III<br>
><br>
> Every time you stop a school, you will have to build a jail. What you gain<br>
> at one end you lose at the other. It's like feeding a dog on his own tail.<br>
> It won't fatten the dog.<br>
> - Speech 11/23/1900 Mark Twain<br>
><br>
><br>
> *<a href="http://heretothereideas.blogspot.com/" target="_blank">http://heretothereideas.blogspot.com/</a><br>
> <<a href="http://heretothereideas.blogspot.com/" target="_blank">http://heretothereideas.blogspot.com/</a>>*<br>
> -------------- next part --------------<br>
> An HTML attachment was scrubbed...<br>
> URL: <<br>
> <a href="http://mail.ale.org/pipermail/ale/attachments/20140814/90f4acbd/attachment.html" target="_blank">http://mail.ale.org/pipermail/ale/attachments/20140814/90f4acbd/attachment.html</a><br>
> ><br>
> _______________________________________________<br>
> Ale mailing list<br>
> <a href="mailto:Ale@ale.org">Ale@ale.org</a><br>
> <a href="http://mail.ale.org/mailman/listinfo/ale" target="_blank">http://mail.ale.org/mailman/listinfo/ale</a><br>
> See JOBS, ANNOUNCE and SCHOOLS lists at<br>
> <a href="http://mail.ale.org/mailman/listinfo" target="_blank">http://mail.ale.org/mailman/listinfo</a><br>
><br>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
</div></div>URL: <<a href="http://mail.ale.org/pipermail/ale/attachments/20140814/dedd27f3/attachment.html" target="_blank">http://mail.ale.org/pipermail/ale/attachments/20140814/dedd27f3/attachment.html</a>><br>
<div class="HOEnZb"><div class="h5">_______________________________________________<br>
Ale mailing list<br>
<a href="mailto:Ale@ale.org">Ale@ale.org</a><br>
<a href="http://mail.ale.org/mailman/listinfo/ale" target="_blank">http://mail.ale.org/mailman/listinfo/ale</a><br>
See JOBS, ANNOUNCE and SCHOOLS lists at<br>
<a href="http://mail.ale.org/mailman/listinfo" target="_blank">http://mail.ale.org/mailman/listinfo</a><br>
</div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br><div dir="ltr">Terror PUP a.k.a<br>Chuck "PUP" Payne<br> <br>(678) 636-9678<br>-----------------------------------------<br>Discover it! Enjoy it! Share it! openSUSE Linux.<br>
-----------------------------------------<br>openSUSE -- Terrorpup<br>openSUSE Ambassador/openSUSE Member<br>Community Manager -- Southeast Linux Foundation (SELF)<br>skype,twiiter,identica,friendfeed -- terrorpup<br>freenode(irc) --terrorpup/lupinstein<br>
Register Linux Userid: 155363<br> <br>Have you tried SUSE Studio? Need to create a Live CD, an app you want to package and distribute , or create your own linux distro. Give SUSE Studio a try.<br>See you at Southeast Linux Fest, June 19-21, 2015 in Charlotte, NC. <br>
</div>
</div>