in reply to File Aging in UNIX system

Show us, with code and output, why the results to stat are "odd" (e.g. "ls -l /server/file", and the mtime and atime results from stat for the same file).

FWIW, 'stat' is pretty basic stuff. If on the slim chance that stat is actually broken in your copy of perl, then you might as well not use perl until you get an unbroken version (i.e. don't try using other solutions -- figure out why stat is "odd" first).

bluto

Replies are listed 'Best First'.
Re^2: File Aging in UNIX system
by Dismas (Acolyte) on Aug 17, 2004 at 15:34 UTC
    Bluto,
    Perhaps I was inaccurate in calling stat() broken, it's just that it was the first pass at things (code/results no longer available). As I sit here in a funk, pondering such animules, it seems that I was probably getting the same results as the later incarnation using the ls commands. Sorry for the misleading.

    Thanks.