  | |  | date problem with ls -la --time=ctime | date problem with ls -la --time=ctime 2005-04-18 - By Rainer Traut
Back Hi,
we are running Domino 6.53 on el3 u4. Due to the way domino's java detachs and attachs file from the databases we see many tmp files in our tmp dir. We haven't found a way around so far other than deleting them via a cron job.
I wanted to run this every two hours, delete all tmp files not accessed within the last 15 minutes.
Here is the strange behaviour:
[root@(protected) tmp]# ls -la /tmp/eo-1528902312tm -rw-rw-r-- 1 notes notes 628155 15. Apr 15:49 /tmp/eo-1528902312tm [root@(protected) tmp]# ls -la /tmp/eo-1528902312tm --time=status -rw-rw-r-- 1 notes notes 628155 18. Apr 12:34 /tmp/eo-1528902312tm [root@(protected) tmp]# ls -la /tmp/eo-1528902312tm --time=atime -rw-rw-r-- 1 notes notes 628155 18. Apr 12:39 /tmp/eo-1528902312tm [root@(protected) tmp]# ls -la /tmp/eo-1528902312tm --time=access -rw-rw-r-- 1 notes notes 628155 18. Apr 12:39 /tmp/eo-1528902312tm [root@(protected) tmp]# ls -la /tmp/eo-1528902312tm --time=use -rw-rw-r-- 1 notes notes 628155 18. Apr 12:39 /tmp/eo-1528902312tm [root@(protected) tmp]# ls -la /tmp/eo-1528902312tm --time=ctime -rw-rw-r-- 1 notes notes 628155 18. Apr 12:34 /tmp/eo-1528902312tm [root@(protected) tmp]#
Question is, what time does ls -la show? The man page says 'change time', so ctime?
Thanks Rainer
-- Taroon-list mailing list Taroon-list@(protected) http://www.redhat.com/mailman/listinfo/taroon-list
Earn $52 per hosting referral at Lunarpages.
|
|
 |