Solved

Determining latest file change on Linux

Posted on 2006-06-20
2
168 Views
Last Modified: 2013-12-16
Hi all,

We run several RedHat 7.3 servers.

From time to time I see very high disk usage.

Sometimes this is a core dump or I find a dead.letter, but often it's an arbitrary file that has increased in size.

I use: find / -type f -size +100000000 to check for large files, but this doesn't always help.

Is there a command / script that lists which files has increased in size (I.E. changed) in the past hour, or so?

Thank you.

Jo.
0
Comment
Question by:m0nk3yza
2 Comments
 
LVL 22

Accepted Solution

by:
pjedmond earned 500 total points
ID: 16943762
find / -type f -atime 1

Will give you files accessed in the last 24 hours. You may wish to try out some of the other find options suct as cmin, cnewer and ctime.

man find

for details.

HTH:)
0
 
LVL 1

Author Comment

by:m0nk3yza
ID: 16949075
thank you
0

Featured Post

Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Linux users are sometimes dumbfounded by the severe lack of documentation on a topic. Sometimes, the documentation is copious, but other times, you end up with some obscure "it varies depending on your distribution" over and over when searching for …
It’s 2016. Password authentication should be dead — or at least close to dying. But, unfortunately, it has not traversed Quagga stage yet. Using password authentication is like laundering hotel guest linens with a washboard — it’s Passé.
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.

776 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question