Find access times


 
Thread Tools Search this Thread
Operating Systems SCO Find access times
# 1  
Old 07-31-2008
Find access times

I am working on a SCO Unixware 7.1.4 server and I have been asked to determine over the last year when a file was accessed, not just the last time it was accessed. Is there anyway to figure this out?


Thanks in advance,

Kevin Harnden
# 2  
Old 08-02-2008
In a word, no. Filesystems keep track of the last access. Unless you go to weekly or monthly backups then you can see whatever the last atime (or mtime) for the file was.

By access I guess you mean read, but file mtime works the same way as well. And even then you are just getting the last access for that time period, not all accesses during the week or month.

Is the system hardened, do you have any auditing software running?
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Find: cannot access <file name>

Hi, I am getting below error in the log file: << 01/05/13 23:30:02 Script Start find: cannot access tu File name : 01/05/13 23:30:03 no input file found 01/05/13 23:30:03 Script End >> Below is the part of shell script which runs once in a week.It tries... (3 Replies)
Discussion started by: Ank13
3 Replies

2. UNIX for Advanced & Expert Users

Where to find accounts with su access?

Hi, This is for some system audit - there are sulog files that recorded all su activities, we need to verify that all the user accounts in the log are supposed to have su capability. Is there some configuration file where all the user accounts with su access are listed? (similar to /etc/sudoers... (3 Replies)
Discussion started by: seafan
3 Replies

3. Shell Programming and Scripting

awk to find lines containing word that occur multiple times

i have a script that scans a log file every 10 minutes. this script remembers the last line of the log and then uses it to continue monitoring the log when it runs again 10 minutes later. the script searches the log for a string called MaxClients. now, how can i make it so that when the... (7 Replies)
Discussion started by: SkySmart
7 Replies

4. Programming

Problem with implementing the times() function in C (struct tms times return zero/negative values)

Hello, i'm trying to implement the times() function and i'm programming in C. I'm using the "struct tms" structure which consists of the fields: The tms_utime structure member is the CPU time charged for the execution of user instructions of the calling process. The tms_stime structure... (1 Reply)
Discussion started by: g_p
1 Replies

5. UNIX for Dummies Questions & Answers

Find string multiple times, same line

Hi everybody, Fairly simple question here: I need an awk, sed, or grep command that will find the same string multiple times on one line needs to return all lines which contain .02 twice. I do know the exact number of characters in between the two occurrences of .02 if that helps, all... (7 Replies)
Discussion started by: jgrosecl
7 Replies

6. Shell Programming and Scripting

awk - find average interarrival times for each unique page

All, I have a test file as specified below. 1st col is <arrival time> and 2nd col is <Page #>. I want to find the inter-arrival time of requests for each page # (I've done this part already). Once I have this, I want to calculate the average interarrival time. Note, that I am trying to have the... (11 Replies)
Discussion started by: jontjioe
11 Replies

7. Programming

need help with C access times of files

i am just checking the access times of files in C, but i am unsure about something say i have a c program called acc.c (only file in directory) then i compile it and get acc then i ran acc and it tells me all the files in the current directory thats access time is only later than acc.c for... (5 Replies)
Discussion started by: omega666
5 Replies

8. AIX

how would you know your server was rebooted 3 times or 5 times

Is there such location or command to know how many times did you reboot your server in that particular day?in AIX. (3 Replies)
Discussion started by: kenshinhimura
3 Replies

9. Shell Programming and Scripting

TO find the word which occurs maximum number of times

Hi Folks !!!!!!!!!!!!!!!!!!! My Requirement is............. i have a input file: 501,501.chan 502,502.anand 503,503.biji 504,504.raja 505,505.chan 506,506.anand 507,507.chan and my o/p should be chan->3 i.e. the word which occurs maximum number of times in a file should be... (5 Replies)
Discussion started by: aajan
5 Replies

10. Shell Programming and Scripting

find . but not access subdirectories

Hello, I'm trying to figure out how to prevent this find command from accessing this diretories's subdirectories! I tried the maxdepth and prune but they don't seem to work on SUN. So now i'm trying to set up a nawk command to not process any files that have "REVISED" in there name: find... (3 Replies)
Discussion started by: bobk544
3 Replies
Login or Register to Ask a Question