-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Simon van der Linden wrote:

|
|
| Merci bcp pour les tuyaux, c'�tait en fait mon r�pertoire de log
| qui pesait exactement 1,17Gb !!!!! J'ai nettoy� le /var/log, il y
| avait un tas de vieux fichiers en gzip... Mais comment pr�venir un
| tel remplissage? Est-ce normal?

Il existe une directive pour logrotate (qui g�re la rotation des
fichiers log) qui te permet de dire combien d'archives maximum tu veux
garder.
Cette directive est rotate. Elle est suivie d'un nombre qui indique le
nombre d'archives � conserver.
rorate 0 : remplace le fichier log sans faire d'archivage
rotate 1 : archive le fichier existant et commence un nouveau fichier.
A la prochaine rotation, le permier backup sera effac�

et ainsi de suite.

Hope this will help,

- --
Eric Kennedy van Dam
It-Optics
Ing�nieur Linux
URL: http://www.it-optics.com
Mail: [EMAIL PROTECTED]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFBdg2aM4kcRapwsDYRAt+1AJ9SolFsbWxU/g4LkXDeLf4hhs0bzwCfWW2o
WRXkOSKb4MTMBIWOms6W+x8=
=0jgn
-----END PGP SIGNATURE-----

_______________________________________________________
Linux Mailing List - http://www.unixtech.be
Subscribe/Unsubscribe: http://www.unixtech.be/mailman/listinfo/linux
Archives: http://www.mail-archive.com/[EMAIL PROTECTED]
IRC: chat.unixtech.be:6667 - #unixtech

Répondre à