SUMMARY : mtime / ctime as timestamp

From: Korte, Michael <michael.korte_at_materna.de>
Date: Tue Jul 22 2003 - 11:51:12 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
Received on Tue Jul 22 11:51:09 2003

This archive was generated by hypermail 2.1.8 : Thu Mar 03 2016 - 06:43:16 EST