<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">&lt;<a href="mailto:deritchie@gmail.com" target="_blank">deritchie@gmail.com</a>&gt;</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 &lt;mountpoint&gt;;  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 &lt;<a href="mailto:jim.kinney@gmail.com">jim.kinney@gmail.com</a>&gt; wrote:<br>
<br>
</div><div><div class="h5">&gt; Yep. sounds like a cron job with &#39;du&#39; iterated over many, many directories<br>
&gt; and data stored in a rrdb project.<br>
&gt; you can set directory depth and even show mtime.<br>
&gt;<br>
&gt;<br>
&gt; On Thu, Aug 14, 2014 at 1:01 PM, Lightner, Jeff &lt;<a href="mailto:JLightner@dsservices.com">JLightner@dsservices.com</a>&gt;<br>
&gt; wrote:<br>
&gt;<br>
&gt; &gt; It isn&#39;t likely to give you what you need anyway.   While you could get<br>
&gt; &gt; the current size of any file changed in the last 5 days it is quite<br>
&gt; likely<br>
&gt; &gt; that many of the files (especially logs) simply grew in that period.<br>
&gt; That<br>
&gt; &gt; is to say the space they&#39;re currently using may be more than they began<br>
&gt; &gt; using in the last 5 days unless they were also created in that time.<br>
&gt; &gt; Similarly if you did ctime instead of mtime it would show you the ones<br>
&gt; &gt; created in that period but would leave out any growth in existing files.<br>
&gt; &gt;<br>
&gt; &gt; To get &quot;growth&quot; you&#39;d have to have a baseline (e.g. total sizes today)<br>
&gt; &gt; then compare to that at some future point (e.g. 5 days from now).   You<br>
&gt; &gt; could create a cron job to store the information each day.<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt; -----Original Message-----<br>
&gt; &gt; 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>
&gt; &gt; Sent: Thursday, August 14, 2014 11:19 AM<br>
&gt; &gt; To: Atlanta Linux Enthusiasts<br>
&gt; &gt; Subject: Re: [ale] Disk Space used in the past 5 days<br>
&gt; &gt;<br>
&gt; &gt; On 08/14/2014 10:48 AM, Chuck Payne wrote:<br>
&gt; &gt; &gt; find . -mtime +5 -exec du -sh {} \;<br>
&gt; &gt;<br>
&gt; &gt; It seems to be asking for files OVER 5 days old. You want less than 5<br>
&gt; &gt; days, right?<br>
&gt; &gt;<br>
&gt; &gt; find . -mtime -5 -exec du -sh {} \;<br>
&gt; &gt;<br>
&gt; &gt; Also - directory changes will be included, so limiting it to files might<br>
&gt; &gt; be a good idea.<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt; find . -mtime -5 -type f -exec du -sh {} \;<br>
&gt; &gt;<br>
&gt; &gt; I&#39;m not getting the &quot;summary&quot; -<br>
&gt; &gt;<br>
&gt; &gt; find . -mtime -5 -type f  -print0 |  du -hc --files0-from=-<br>
&gt; &gt;<br>
&gt; &gt; Is closer.<br>
&gt; &gt; _______________________________________________<br>
&gt; &gt; Ale mailing list<br>
&gt; &gt; <a href="mailto:Ale@ale.org">Ale@ale.org</a><br>
&gt; &gt; <a href="http://mail.ale.org/mailman/listinfo/ale" target="_blank">http://mail.ale.org/mailman/listinfo/ale</a><br>
&gt; &gt; See JOBS, ANNOUNCE and SCHOOLS lists at<br>
&gt; &gt; <a href="http://mail.ale.org/mailman/listinfo" target="_blank">http://mail.ale.org/mailman/listinfo</a><br>
&gt; &gt;<br>
&gt; &gt; Athena(r), Created for the Cause(tm)<br>
&gt; &gt; Making a Difference in the Fight Against Breast Cancer<br>
&gt; &gt;<br>
&gt; &gt; __________________________________________________________<br>
&gt; &gt; CONFIDENTIALITY NOTICE: This e-mail may contain privileged<br>
&gt; &gt;<br>
&gt; &gt; or confidential information and is for the sole use of the intended<br>
&gt; &gt;<br>
&gt; &gt; recipient(s). If you are not the intended recipient, any disclosure,<br>
&gt; &gt;<br>
&gt; &gt; copying, distribution, or use of the contents of this information<br>
&gt; &gt;<br>
&gt; &gt; is prohibited and may be unlawful. If you have received this electronic<br>
&gt; &gt;<br>
&gt; &gt; transmission in error, please reply immediately to the sender that<br>
&gt; &gt;<br>
&gt; &gt; you have received the message in error, and delete it. Thank you<br>
&gt; &gt;<br>
&gt; &gt; _______________________________________________<br>
&gt; &gt; Ale mailing list<br>
&gt; &gt; <a href="mailto:Ale@ale.org">Ale@ale.org</a><br>
&gt; &gt; <a href="http://mail.ale.org/mailman/listinfo/ale" target="_blank">http://mail.ale.org/mailman/listinfo/ale</a><br>
&gt; &gt; See JOBS, ANNOUNCE and SCHOOLS lists at<br>
&gt; &gt; <a href="http://mail.ale.org/mailman/listinfo" target="_blank">http://mail.ale.org/mailman/listinfo</a><br>
&gt; &gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; --<br>
&gt; --<br>
&gt; James P. Kinney III<br>
&gt;<br>
&gt; Every time you stop a school, you will have to build a jail. What you gain<br>
&gt; at one end you lose at the other. It&#39;s like feeding a dog on his own tail.<br>
&gt; It won&#39;t fatten the dog.<br>
&gt; - Speech 11/23/1900 Mark Twain<br>
&gt;<br>
&gt;<br>
&gt; *<a href="http://heretothereideas.blogspot.com/" target="_blank">http://heretothereideas.blogspot.com/</a><br>
&gt; &lt;<a href="http://heretothereideas.blogspot.com/" target="_blank">http://heretothereideas.blogspot.com/</a>&gt;*<br>
&gt; -------------- next part --------------<br>
&gt; An HTML attachment was scrubbed...<br>
&gt; URL: &lt;<br>
&gt; <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>
&gt; &gt;<br>
&gt; _______________________________________________<br>
&gt; Ale mailing list<br>
&gt; <a href="mailto:Ale@ale.org">Ale@ale.org</a><br>
&gt; <a href="http://mail.ale.org/mailman/listinfo/ale" target="_blank">http://mail.ale.org/mailman/listinfo/ale</a><br>
&gt; See JOBS, ANNOUNCE and SCHOOLS lists at<br>
&gt; <a href="http://mail.ale.org/mailman/listinfo" target="_blank">http://mail.ale.org/mailman/listinfo</a><br>
&gt;<br>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
</div></div>URL: &lt;<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>&gt;<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 &quot;PUP&quot; 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>