>>>>> "John" == John Jason Jordan <[email protected]> writes:
John> So I'm just sitting here writing in OOo on my Fedora 14 x86_64
John> laptop and suddenly everything is running really slow. I have a
John> CPU monitor in my Gnome panel and it is jumping up to the max,
John> but not permanently.
John> In the past I have had this happen sometimes when a Java
John> something or another in Firefox would consume all CPU activity
John> for a long time. Usually I just go into System Monitor, find
John> the Java app, and kill it. But this time I couldn't even get
John> System Monitor to open.
John> And then I noticed the hard disk light was running
John> solid. Something was doing a lot of writing to or reading from
John> the disk, and it wasn't me. I managed to close all running
John> applications, but the disk activity continued. I watched it
John> nervously for about 20 minutes, and then finally it stopped and
John> things returned to normal. Just as it stopped ABRT popped up a
John> message that disappeared too fast to read in full, but it said
John> something about the error file was too big.
John> As it turns out by coincidence earlier today I had used Disk
John> Usage Analyzer to see how much of my 320 GB hard disk was used
John> up. I remember that it was 78%. After the frenetic disk activity
John> I looked again, and now it is 81% used up. Something has written
John> about 9 GB to my hard disk, probably some kind of error log.
John> I'd like to know what it is, i.e., what crashed and why. I'd
John> also like to delete it, since I doubt I need it. Of course, it
John> might not be just one file. I used ls to locate the most recent
John> files with -t, but it's not locating the file(s), nor is the -S
John> parameter. I could use some suggestions for how to sleuth out
John> what happened.
$ find / -mtime -1
will list the files with a modification timestamp in the last 24
hours, -mmin does the same thing except in units of minutes instead of
days. If the argument is negative, it means to match things "less
than" that much old. See "man find" for details. This isn't tested
but if it works, it'll show you the top 10 files by size modified in
the last 24 hours:
$ find / -type f -mtime -1 -exec ls -l '{}' \; | sort -k 5nr | head
--
Russell Senior, President
[email protected]
_______________________________________________
PLUG mailing list
[email protected]
http://lists.pdxlinux.org/mailman/listinfo/plug