SUMMARY : mtime / ctime as timestamp

From: Korte, Michael (michael.korte@materna.de)
Date: Tue Jul 22 2003 - 11:47:39 EDT


Thx to :

Kevin P. Inscoe
John Julian
Mike Keplinger

Mike got it :

truss -vlstat -tlstat ls -l filename

will print :

[][8.1.7](12)> truss -vlstat -tlstat ls -l PrepaidUserUpdate.pl
lstat64("PrepaidUserUpdate.pl", 0xFFBEEFA0) = 0
    d=0x03200048 i=411791 m=0100444 l=1 u=111827 g=6000 sz=21182
        at = Jul 21 15:54:29 MEST 2003 [ 1058795669 ]
        mt = Jul 21 15:54:29 MEST 2003 [ 1058795669 ]
        ct = Jul 21 15:54:29 MEST 2003 [ 1058795669 ]
    bsz=8192 blks=42 fs=mvfs

so it is possible to get the timestamps of a file.
It can be cut by a regex.

best regards
Michael Korte
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers



This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 23:26:47 EDT