[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4752: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3887)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4754: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3887)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4755: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3887)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4756: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3887)
LoLiGrUB ASBL • Consulter le sujet - swapper sur un ssd
Page 2 sur 2

Re: swapper sur un ssd

Message Publié : 08 Sep 2011 10:30
par francois
oui c'est tout à fait possible, ça dépend des logiciels que tu utilises.

Exemple :
- postfix, exim /var/spool/mail
- mysql, postgres /var/lib/mysql
- apache /var/www

Re: swapper sur un ssd

Message Publié : 27 Sep 2011 10:20
par kikibelux
je poursuis mes investigations :

comment puis-je observer les écriture sur le /var ? un ls particulier je suppose...merci

Re: swapper sur un ssd

Message Publié : 01 Oct 2011 12:02
par kikibelux
je reprécise ma question : y-aurait-il un moyen d'observer les écritures sur un répertoire ?
Merci

Re: swapper sur un ssd

Message Publié : 01 Oct 2011 17:54
par didiervillers

Re: swapper sur un ssd

Message Publié : 01 Oct 2011 18:54
par francois
En lisant la réponse de Didier je crois comprendre la demande de Eric ...

Si tu veux voir les fichiers créés ou modifiés : find -ctime -mtime

les fichiers accédés (si le filesystem le supporte) : find -atime

Faut indiquer ensuite l'espace temps désiré sachant que c'est n*24hrs

exemple , voir tous les fichiers créés il y a moins de 1*24hrs dans le répertoire /var :
find /var -ctime -1 -type f

Plusieurs variantes avec les résultats sur l'une de mes Debian :
moins de 1*24hrs (1 jour)
root@dino:/var/spool/postfix# find /var -ctime -1 -type f | wc -l
83

moins de 2*24hrs (2 jours)
root@dino:/var/spool/postfix# find /var -ctime -2 -type f | wc -l
87

moins de 30*24hrs (1 mois)
root@dino:/var/spool/postfix# find /var -ctime -30 -type f | wc -l
272

plus de 1*24hrs (normalement presque tous les fichiers)
root@dino:/var/spool/postfix# find /var -ctime +1 -type f | wc -l
2539

Re: swapper sur un ssd

Message Publié : 01 Oct 2011 19:49
par kikibelux
effectivement, l'optique du post est d'éviter l'usure d'un disque ssd, Il semble donc que le /var soit fort utilisé par la système, je pense donc le mettre en entier sur le disque non ssd !

Est-ce un bon raisonnement ?

Merci de m'avoir compris