Solved

Determining latest file change on Linux

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

Ransomware-A Revenue Bonanza for Service Providers

Ransomware – malware that gets on your customers’ computers, encrypts their data, and extorts a hefty ransom for the decryption keys – is a surging new threat.  The purpose of this eBook is to educate the reader about ransomware attacks.

Question has a verified solution.

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

Introduction We as admins face situation where we need to redirect websites to another. This may be required as a part of an upgrade keeping the old URL but website should be served from new URL. This document would brief you on different ways ca…
Setting up Secure Ubuntu server on VMware 1.      Insert the Ubuntu Server distribution CD or attach the ISO of the CD which is in the “Datastore”. Note that it is important to install the x64 edition on servers, not the X86 editions. 2.      Power on th…
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.

910 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

25 Experts available now in Live!

Get 1:1 Help Now