Solved

Determining latest file change on Linux

Posted on 2006-06-20
2
166 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

Maximize Your Threat Intelligence Reporting

Reporting is one of the most important and least talked about aspects of a world-class threat intelligence program. Here’s how to do it right.

Join & Write a Comment

Suggested Solutions

Currently, there is not an RPM package available under the RHEL/Fedora/CentOS distributions that gives you a quick and easy way to allow PHP to interface with Oracle. As a result, I have included a set of instructions on how to do this with minimal …
If you have a server on collocation with the super-fast CPU, that doesn't mean that you get it running at full power. Here is a preamble. When doing inventory of Linux servers, that I'm administering, I've found that some of them are running on l…
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…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…

760 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

Need Help in Real-Time?

Connect with top rated Experts

22 Experts available now in Live!

Get 1:1 Help Now