Timestamps for a file

Konstantin Rozinov ukon at speakeasy.org
Sat Oct 13 14:22:23 EDT 2001


Hi folks,

I am using the following command to see the specific time stamps for my
files:
(this was a tip from Ken Robson on searchsolaris.com)

truss -vlstat -tlstat ls -l [file name]

However, sometimes I get the creation time (ct) as being later than the
modification time (mt)...how is that possible?

lstat64("ssh", 0xEFFFFA30)                      = 0
    d=0x00800004 i=114667 m=0040750 l=3  u=500   g=10    sz=512
        at = Oct  9 01:05:22 EDT 2001  [ 1002603922 ]
        mt = Jun  5 23:18:09 EDT 2001  [ 991797489 ]
        ct = Sep 15 21:51:15 EDT 2001  [ 1000605075 ]
    bsz=8192  blks=2     fs=ufs

Thanks, Will summarize.

Konstantin




More information about the sunmanagers mailing list