Solved

Determining latest file change on Linux

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

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Little introduction about CP: CP is a command on linux that use to copy files and folder from one location to another location. Example usage of CP as follow: cp /myfoder /pathto/destination/folder/ cp abc.tar.gz /pathto/destination/folder/ab…
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…
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.:

696 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