Bonjour � tous,
Je m'�tonne des diff�rences d'information recueillies par diff�rentes
commandes...
--8<-----
wrkfvilers home # df -h
Filesystem Size Used Avail Use% Mounted on
/dev/hda8 9.4G 180M 8.7G 2% /home
wrkfvilers root # du -sh /home
148M /home
wrkfvilers root # du -sh /home/*
396K /home/fvilers
16K /home/lost+found
4.0K /home/test
147M /home/test2
wrkfvilers root # cat test.php
<?php
$free = disk_free_space("/home");
$total = disk_total_space("/home");
$used = $total - $free;
print "Free space on /home $free\n";
print "Used space on /home $used\n";
print "Total space on /home $total\n";
?>
wrkfvilers root # php test.php
Free space on /home 9294278656
Used space on /home 695259136
Total space on /home 9989537792
--8<-----
A quelle commande puis-je faire le plus confiance?
Merci � vous et bonne journ�e,
Fabian
_______________________________________________________
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
NNTP: news.gname.org - gmane.org.user-groups.linux.unixtech