Stop Microsoft

Operating Systems => Linux and UNIX => Topic started by: Master of Reality on 22 September 2002, 06:39

Title: logwatch stuff
Post by: Master of Reality on 22 September 2002, 06:39
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?
Title: logwatch stuff
Post by: Carbon on 22 September 2002, 07:31
http://www.logwatch.org/ (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.
Title: logwatch stuff
Post by: Master of Reality on 22 September 2002, 07:42
how do i find the size of a single file or directory in Linux (command line)?
Title: logwatch stuff
Post by: Master of Reality on 23 September 2002, 03:56
/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 ]

Title: logwatch stuff
Post by: voidmain on 23 September 2002, 04:45
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 ]