Operating Systems > Linux and UNIX
logwatch stuff
(1/1)
Master of Reality:
I think i found out what was causing my server to suddenly lose space. There are a few logwatch scripts that are now running at startup that never ran before, they are also slowing down my server by a lot. Once i killed them my server immediately started to respond faster, etc.
The scripts in /etc/log.d/scripts/shared/ that are running are 'expandrepeats', 'removeservice' and 'applystddate'. What are these for/doing??
Is there any documentation on Logwatch stuff?
Carbon:
http://www.logwatch.org/
Did you happen to check out logwatch.org, I havn't had a look but there is some documentation on the site.
Master of Reality:
how do i find the size of a single file or directory in Linux (command line)?
Master of Reality:
/tmp/logwatch.XXeQIr3W
was the folder that contained 80MB of shit that was taking up the space. I delted it and freed up 80MB i also think i stopped the commands taht were making all the extra crap.
[ September 22, 2002: Message edited by: The Master of Reality / Bob ]
voidmain:
Q1) man logwatch
Q2) ls -l will list files and show you their sizes. In addition to this you can find the size of files and directories using the "du" command.
For example:
# du -sk /var/*
would list each top level directory under /var and total up the space used under each of those directories.
[ September 22, 2002: Message edited by: void main ]
Navigation
[0] Message Index
Go to full version