Improve company productivity with a Business Account.Sign Up

x
?
Solved

Determining latest file change on Linux

Posted on 2006-06-20
2
Medium Priority
?
176 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 2000 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

Build your data science skills into a career

Are you ready to take your data science career to the next step, or break into data science? With Springboard’s Data Science Career Track, you’ll master data science topics, have personalized career guidance, weekly calls with a data science expert, and a job guarantee.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

I. Introduction There's an interesting discussion going on now in an Experts Exchange Group — Attachments with no extension . This reminded me of questions that come up here at EE along the lines of, "How can I tell the type of file from its cont…
Welcome back to our beginners guide of the popular Unix tool, cron. If you missed part one where we introduced this tool, the link is below. We left off learning how to build a simple script to schedule automatic back ups. Now, we’ll learn how to se…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial

607 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