I am trying to see how many times some of the installed applications are being used on a system.
I used in my python script
fileaccesstime=os.path.getatime(os.sep.join([dirpath, filename]))
Some of the applications dont seem to update atime even when accessed. For example, I used python and saw that atime did not change.
From Get last access time of the file? it appears that atime might not get updated because it would call mmap.
Does that mean I can never find the last access time. I am unsure how to proceed to find out the last access for some applications eg. python