Hello,
How do I go about finding out when last a file was accessed(Read)? We can find out when last it was written or modified but not read.
- We do not have Environment Manager enabled.
- We are on Linux Suse
- One Linux Suse server
thanks,
ls -ul filename
is the UNIX command to display the last access timestamp of a file.
Be aware that this might not really tell you much, as each complete backup will read the file.
And everytime someone uses sashelp.vtable or sashelp.vcolumn every table in every currently assigend library will be read.
ls -ul filename
is the UNIX command to display the last access timestamp of a file.
Be aware that this might not really tell you much, as each complete backup will read the file.
And everytime someone uses sashelp.vtable or sashelp.vcolumn every table in every currently assigend library will be read.
Thanks Kurt. This helps.
Very useful. There is also the stat / istat commands to display the same information taken out from the filesystem with the 3 three components of timestamp. Linux stat might offer some additonal functionality fbeing able to
customise the output sometimes, reducing the amount of information.
eg, istat command for AIX 7.1 (IBM Unix)
https://www.ibm.com/support/knowledgecenter/en/ssw_aix_71/com.ibm.aix.cmds3/istat.htm
Thanks Ronan. This is very helpful indeed 🙂
The SAS Users Group for Administrators (SUGA) is open to all SAS administrators and architects who install, update, manage or maintain a SAS deployment.
SAS technical trainer Erin Winters shows you how to explore assets, create new data discovery agents, schedule data discovery agents, and much more.
Find more tutorials on the SAS Users YouTube channel.