[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

swapper sur un ssd

Osez, nous sommes à votre écoute !

Re: swapper sur un ssd

Message par francois » 08 Sep 2011 10:30

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
francois
Guru du Libre
 
Message(s) : 429
Inscription : 17 Avr 2011 14:51
Localisation : Mons

Re: swapper sur un ssd

Message par kikibelux » 27 Sep 2011 10:20

je poursuis mes investigations :

comment puis-je observer les écriture sur le /var ? un ls particulier je suppose...merci
Avatar de l’utilisateur
kikibelux
C.A.
 
Message(s) : 474
Inscription : 23 Avr 2011 12:36

Re: swapper sur un ssd

Message par kikibelux » 01 Oct 2011 12:02

je reprécise ma question : y-aurait-il un moyen d'observer les écritures sur un répertoire ?
Merci
Dernière édition par kikibelux le 01 Oct 2011 19:43, édité 1 fois.
Avatar de l’utilisateur
kikibelux
C.A.
 
Message(s) : 474
Inscription : 23 Avr 2011 12:36

Re: swapper sur un ssd

Message par didiervillers » 01 Oct 2011 17:54

Avatar de l’utilisateur
didiervillers
C.A.
 
Message(s) : 590
Inscription : 18 Avr 2011 21:50
Localisation : Sirault

Re: swapper sur un ssd

Message par francois » 01 Oct 2011 18:54

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
francois
Guru du Libre
 
Message(s) : 429
Inscription : 17 Avr 2011 14:51
Localisation : Mons

Re: swapper sur un ssd

Message par kikibelux » 01 Oct 2011 19:49

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
Avatar de l’utilisateur
kikibelux
C.A.
 
Message(s) : 474
Inscription : 23 Avr 2011 12:36

Précédent

Retour vers Questions de débutants

Qui est en ligne ?

Utilisateur(s) parcourant ce forum : Aucun utilisateur inscrit et 1 invité

cron