Is there any way to find the file access details for a volume from Storage.I know "ls" will provide the list of files inside volumes, however i need the access time for the Files inside it.
See The Solution
See 'ls -lt -u' or 'ls -l --time=atime'.
Note that there also a 'no atime update' option for NetApp volumes that turns off update of access time.
I hope this response has been helpful to you.
At your service,
Eugene E. Kashpureff, Sr.Independent NetApp Consultant http://www.linkedin.com/in/eugenekashpureffSenior NetApp Instructor, FastLane US http://www.fastlaneus.com/(P.S. I appreciate 'kudos' on any helpful posts.)
Will this command work in 7-mode ? .
Also, i see options for running the' ls -lt ' options in java shell (java netapp.cmds.jsh) . However, i couldnt find able to run the options as well
Run it from a Linux/Unix host that's mounting the NFS export.
How old of a 7-Mode version are you running ?
If you have the Java shell you might still have the native 'filestats' command.
See the man page for it...
We have newer version of ontap,i am unable to find java shell in any filer , predominantly all the filers are running in ontap 8 version.
I would like to get the access time information from Storage rather from the server side.
The Java shell was deprecated with ONTAP 8.
There was a memory leak that was a bad thing.
The 7-mode command map shows no C-mode command for 'filestats'.
Only way I know to see access time is from a client ...
View solution in original post
does Filestats command work on ontap version 8 (7 mode )?
I don't think so.
Think it was based on the Java shell, so it was taken out.
It was there back in 7.3.x ...