Erm, excuse me, but you're not very clear to me.

I started out with stat(), but got "odd" results, so switched to ls using the -u and -c switches.

What are "odd" results? Did they not give the same results as the "ls" command?

On three servers, no files show up in my report as being untouched for more than six months. On another, only one file "failed" the test.

What consitutes a failed test?

For one thing, when I log onto a server and just do a vanilla "l" of a directory--say, /usr/local/...--I get file dates ranging back as far as 1997.

Which says nothing about access time.

I use JDNs to compare the dates. On the server with a 92% failure rate, nearly all files had the same access and modification dates. This led me to suspect cloning, but since that just creates a binary image, the dates should be those on the master drive, not the date of the cloning, or so I've been told.

What's JDNs? What's cloning? What's a "master drive"? Do you by any chance make backups? If so, how, and have you ever restored them?

Which OS and file system are you using?

Joost


In reply to Re: File Aging in UNIX system by Joost
in thread File Aging in UNIX system by Dismas

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.