Script to remove files older than 30 days?
Walter Dnes
waltdnes-SLHPyeZ9y/tg9hUCZPvPmw at public.gmane.org
Sun Jun 18 01:55:55 UTC 2006
On Thu, Jun 15, 2006 at 02:03:01PM -0400, Jason Spiro wrote
> On 6/14/06, Walter Dnes <waltdnes-SLHPyeZ9y/tg9hUCZPvPmw at public.gmane.org> wrote:
> [snip]
> >Next, I did an "emerge --sync" on the secondary machine which uses the
> >main machine as a mirror. I followed that with a --fetchonly emerge.
> >All the files appeared to come from the "first mirror", i.e.
> >http://192.168.123.252:1024 and they came through at approx 11.15 mega-
> >*BYTES* per second!!!
>
> mega*bytes*? I am curious, what kind of network are you on?
GVC 4-port ADSL modem + router combo (10/100 megabits). The newer
machine has a 100/1000 megabit nic, and the older one has 10/100.
> Also, could something be distorting the count? IIRC it used to be that
> when you downloaded a file in IE on Windows, it started downloading
> while you were in the Save As... dialog box, but it did not count the
> time you spent there, so the download speed counter often started at
> 500 Kb/s or more and then slowly settled down to the actual speed.
emerge (the Gentoo fetch and install command) uses wget. The process
is automated. I believe the numbers. The Firefox tarball, 35 megabytes
worth, came down in approx 3 seconds. I don't think the older machine's
hard drive can keep up that pace. It seems to max out at around 3.5
megabytes. However, 35 megs could queue up in ram, waiting to be written
to disc. There's also a second or so of handshaking between files. It
helps that the older machine (128 megs of ram) was only running sshd at
the time. If the file was multi-gigabytes, it would easily fill up all
buffer space, and slow down to a more realistic speed.
--
Walter Dnes <waltdnes-SLHPyeZ9y/tg9hUCZPvPmw at public.gmane.org> In linux /sbin/init is Job #1
My musings on technology and security at http://tech_sec.blog.ca
--
The Toronto Linux Users Group. Meetings: http://tlug.ss.org
TLUG requests: Linux topics, No HTML, wrap text below 80 columns
How to UNSUBSCRIBE: http://tlug.ss.org/subscribe.shtml
More information about the Legacy
mailing list