[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

date problem with ls -la --time=ctime



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 asp5 tmp]# ls -la /tmp/eo-1528902312tm
-rw-rw-r-- 1 notes notes 628155 15. Apr 15:49 /tmp/eo-1528902312tm
[root asp5 tmp]# ls -la /tmp/eo-1528902312tm --time=status
-rw-rw-r-- 1 notes notes 628155 18. Apr 12:34 /tmp/eo-1528902312tm
[root asp5 tmp]# ls -la /tmp/eo-1528902312tm --time=atime
-rw-rw-r-- 1 notes notes 628155 18. Apr 12:39 /tmp/eo-1528902312tm
[root asp5 tmp]# ls -la /tmp/eo-1528902312tm --time=access
-rw-rw-r-- 1 notes notes 628155 18. Apr 12:39 /tmp/eo-1528902312tm
[root asp5 tmp]# ls -la /tmp/eo-1528902312tm --time=use
-rw-rw-r-- 1 notes notes 628155 18. Apr 12:39 /tmp/eo-1528902312tm
[root asp5 tmp]# ls -la /tmp/eo-1528902312tm --time=ctime
-rw-rw-r-- 1 notes notes 628155 18. Apr 12:34 /tmp/eo-1528902312tm
[root asp5 tmp]#


Question is, what time does ls -la show?
The man page says 'change time', so ctime?

Thanks
Rainer


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]