SAS Data Integration Studio, DataFlux Data Management Studio, SAS/ACCESS, SAS Data Loader for Hadoop and others

most recent file access date (atime)

Accepted Solution Solved
Reply
Contributor
Posts: 24
Accepted Solution

most recent file access date (atime)

Greetings,

 

On a Unix server, other than where a file has been read / opened, are there other reasons that the access date (atime) may get updated?  I ask because I have files on our SAS Grid (EG 7.1 / Platform version: 9.4) that show a recent access date although I know the files have not been recently opened / read -- in fact, it has been many months or years since accessed by a SAS process.  

 

Additionally, we are trying to build a file monitoring process based on most recent access date (atime).  Thinking that maybe we should be using last modification date (mtime) instead, if there are issues with using atime.

 

Alan  


Accepted Solutions
Solution
‎06-08-2017 04:39 PM
Super User
Posts: 10,483

Re: most recent file access date (atime)

I suggest you ask your IT folks as the files are possibly being touched by other processes that are not SAS related.

 

Or if any SAS hotfixes or upgrades have been applied perhaps the hotfix checked to see if the version of the file is the correct one.

 

Which time to use I would say depends on the purpose of the file monitoring: use or change. You may end up needing both.

View solution in original post


All Replies
Solution
‎06-08-2017 04:39 PM
Super User
Posts: 10,483

Re: most recent file access date (atime)

I suggest you ask your IT folks as the files are possibly being touched by other processes that are not SAS related.

 

Or if any SAS hotfixes or upgrades have been applied perhaps the hotfix checked to see if the version of the file is the correct one.

 

Which time to use I would say depends on the purpose of the file monitoring: use or change. You may end up needing both.

Super User
Posts: 6,931

Re: most recent file access date (atime)

[ Edited ]

Most backup software does a full backup every now and then to make handling of the incrementals easier, so that might be it.

And everytime sashelp.vtable or sashelp.vcolumn is used, SAS needs to scan through all datasets in all currently assigned libraries.

---------------------------------------------------------------------------------------------
Maxims of Maximally Efficient SAS Programmers
Contributor
Posts: 24

Re: most recent file access date (atime)

Thank you both ballardw and KurtBremser!

 

Good information. Yes, my next move was to ask our IT folks. KurtBremser hit on the reason I believe. I used sashelp.vtable recently and had several libnames set. Thank you both for your help.

 

Forever learning . . .

Alan

Contributor
Posts: 24

Re: most recent file access date (atime)

Actually, @KurtBremser sashelp.vtable reply was the answer to this issue, I believe

 

☑ This topic is SOLVED.

Need further help from the community? Please ask a new question.

Discussion stats
  • 4 replies
  • 129 views
  • 2 likes
  • 3 in conversation