Author Topic: logwatch stuff  (Read 451 times)

Master of Reality

  • VIP
  • Member
  • ***
  • Posts: 4,249
  • Kudos: 177
    • http://www.bobhub.tk
logwatch stuff
« 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?
Disorder | Rating
Paranoid: Moderate
Schizoid: Moderate
Linux User #283518
'It takes more than a self-inflicted gunshot wound to the head to stop Bob'

Carbon

  • Newbie
  • *
  • Posts: 1
  • Kudos: 0
logwatch stuff
« Reply #1 on: 22 September 2002, 07:31 »
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.
Microsoft isn't evil, they just make really crappy operating systems. -- Linus Torvalds

Master of Reality

  • VIP
  • Member
  • ***
  • Posts: 4,249
  • Kudos: 177
    • http://www.bobhub.tk
logwatch stuff
« Reply #2 on: 22 September 2002, 07:42 »
how do i find the size of a single file or directory in Linux (command line)?
Disorder | Rating
Paranoid: Moderate
Schizoid: Moderate
Linux User #283518
'It takes more than a self-inflicted gunshot wound to the head to stop Bob'

Master of Reality

  • VIP
  • Member
  • ***
  • Posts: 4,249
  • Kudos: 177
    • http://www.bobhub.tk
logwatch stuff
« Reply #3 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 ]

Disorder | Rating
Paranoid: Moderate
Schizoid: Moderate
Linux User #283518
'It takes more than a self-inflicted gunshot wound to the head to stop Bob'

voidmain

  • VIP
  • Member
  • ***
  • Posts: 5,605
  • Kudos: 184
    • http://voidmain.is-a-geek.net/
logwatch stuff
« Reply #4 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 ]

Someone please remove this account. Thanks...