[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: 54 GB in /var/log!! -- UPDATE



On Tue, 28 Oct 2008 13:10:15 -0400, Christopher K. Johnson wrote:

> Beartooth wrote:
>> 	I'd like to pipe that into top, or some such, to make it display
>> only the files of 100K and up; [...]

> How about looking at the largest 30 files and directories there sorted
> by size in megabytes?
> 
> cd /var/log
> du -ms * | sort -rn | head -n 30

	Aha! Yes, absolutely. Thank you much. I get :

]# du -ms * | sort -rn | head -n 30
19	audit
1	yum.log
1	Xorg.setup.log
1	Xorg.5.log.old
1	Xorg.5.log
1	Xorg.4.log.old
1	Xorg.4.log
1	Xorg.3.log.old
1	Xorg.3.log
1	Xorg.2.log.old
1	Xorg.2.log
1	Xorg.1.log.old
1	Xorg.1.log
1	Xorg.0.log.old
1	Xorg.0.log
1	wtmp-20081001
1	wtmp
1	setroubleshoot
1	secure-20081026
1	secure-20081019
1	secure-20081012
1	secure-20081005
1	secure
1	samba
1	rpmpkgs-20081026
1	rpmpkgs-20081019
1	rpmpkgs-20081012
1	rpmpkgs-20081005
1	rpmpkgs
1	qtparted-20081025-10h53m26s.log

	IOW, nothing like what I was getting yesterday ...
-- 
Beartooth Staffwright, PhD, Neo-Redneck Linux Convert
Remember I know precious little of what I am talking about.


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]