OVH Community, votre nouvel espace communautaire.

[Programme Sympathique]


alexis57
16/04/2009, 16h38
Salut,
J'ajoute htop qui est comme top mais en mieux
et Jnetttop =)

its.me
16/04/2009, 12h52
Moi perso, le seul problème que j'ai c'est avec bwbar, il ne me sort pas d'images nis de fichiers textes

Sebbabas
10/08/2008, 23h29
J ai trouve il était déjà installé sur le serveur, j ai fais un .sh pour l exécuter: (Gentoo R2)
#!/bin/sh
/usr/bin/bwbar eth0 100 --output --interval 1 --text-file /home/utilisateur/www/upload.txt --png-file /home/lutilisateur/www/upload.png --width=144 &
/usr/bin/bwbar eth0 100 --input --interval 1 --text-file /home/utilisateur/www/download.txt --png-file /home/utilisateur/www/download.png --width=144 &
et pour l afficher sur la page index
$fo1 = fopen("/home/utilisateur/www/upload.txt","r");
$fr2 = fread($fo1, "44");
$frt1 = eregi_replace("Current bandwidth utilization","Utilisation de l'upload : ",$fr2);
echo "$frt1
Upload utilisý";
fclose ($fo1);
?>


$fo1 = fopen("/home/utilisateur/www/download.txt","r");
$fr2 = fread($fo1, "44");
$frt1 = eregi_replace("Current bandwidth utilization","Utilisation du download : ",$fr2);
echo "$frt1
Download utilisý";
fclose ($fo1);
?>

Sebbabas
10/08/2008, 14h42
Bonjour j aimerais savoir comment mettre bwbar en place car quand je fait
emerge bwbar ,il repond
Calculating dependencies... done!
>>> Verifying ebuild Manifests...

>>> Emerging (1 of 1) net-analyzer/bwbar-1.2.3 to /
* bwbar-1.2.3.tar.bz2 RMD160 SHA1 SHA256 size ;-) ... [ ok ]
* checking ebuild checksums ;-) ... [ ok ]
* checking auxfile checksums ;-) ... [ ok ]
* checking miscfile checksums ;-) ... [ ok ]
* checking bwbar-1.2.3.tar.bz2 ;-) ... [ ok ]
>>> Unpacking source...
>>> Unpacking bwbar-1.2.3.tar.bz2 to /var/tmp/portage/net-analyzer/bwbar-1.2.3/work
>>> Source unpacked.
>>> Compiling source in /var/tmp/portage/net-analyzer/bwbar-1.2.3/work/bwbar-1.2.3 ...
./configure --prefix=/usr --host=i686-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --build=i686-pc-linux-gnu
checking for i686-pc-linux-gnu-gcc... i686-pc-linux-gnu-gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether i686-pc-linux-gnu-gcc accepts -g... yes
checking for i686-pc-linux-gnu-gcc option to accept ANSI C... none needed
checking for an ANSI C-conforming const... yes
checking for inline... inline
checking if i686-pc-linux-gnu-gcc accepts -Wall... yes
checking if i686-pc-linux-gnu-gcc accepts -W... yes
checking if i686-pc-linux-gnu-gcc accepts -Wpointer-arith... yes
checking if i686-pc-linux-gnu-gcc accepts -Wbad-function-cast... yes
checking if i686-pc-linux-gnu-gcc accepts -Wcast-equal... no
checking if i686-pc-linux-gnu-gcc accepts -Wstrict-prototypes... yes
checking if i686-pc-linux-gnu-gcc accepts -Wnested-externs... yes
checking if i686-pc-linux-gnu-gcc accepts -Winline... yes
checking if i686-pc-linux-gnu-gcc accepts -Wshadow... yes
checking if i686-pc-linux-gnu-gcc accepts -Wcast-align... yes
checking if i686-pc-linux-gnu-gcc accepts -pipe... yes
checking for library containing pow... -lm
checking for library containing compress2... -lz
checking for library containing png_create_write_struct... -lpng
checking for i686-pc-linux-gnu-ranlib... i686-pc-linux-gnu-ranlib
checking for a BSD-compatible install... /usr/bin/install -c
configure: creating ./config.status
config.status: creating MCONFIG
i686-pc-linux-gnu-gcc -O2 -march=i686 -pipe -Wall -W -Wpointer-arith -Wbad-function-cast -Wstrict-prototypes -Wnested-externs -Winline -Wshadow -Wcast-align -pipe -o bwbar bwbar.c -lpng -lz -lm
>>> Source compiled.
>>> Test phase [not enabled]: net-analyzer/bwbar-1.2.3

>>> Install bwbar-1.2.3 into /var/tmp/portage/net-analyzer/bwbar-1.2.3/image/ category net-analyzer
>>> Completed installing bwbar-1.2.3 into /var/tmp/portage/net-analyzer/bwbar-1.2.3/image/

strip: i686-pc-linux-gnu-strip --strip-unneeded -R .comment
usr/bin/bwbar
* checking 2 files for package collisions
>>> Merging net-analyzer/bwbar-1.2.3 to /
--- /usr/
--- /usr/bin/
>>> /usr/bin/bwbar
--- /usr/share/
--- /usr/share/doc/
--- /usr/share/doc/bwbar-1.2.3/
>>> /usr/share/doc/bwbar-1.2.3/README.bz2
>>> Safely unmerging already-installed instance...
No package files given... Grabbing a set.
--- replaced obj /usr/share/doc/bwbar-1.2.3/README.bz2
--- replaced dir /usr/share/doc/bwbar-1.2.3
--- replaced dir /usr/share/doc
--- replaced dir /usr/share
--- replaced obj /usr/bin/bwbar
--- replaced dir /usr/bin
--- replaced dir /usr
>>> Original instance of package unmerged safely.
>>> net-analyzer/bwbar-1.2.3 merged.

>>> No packages selected for removal by clean
>>> Auto-cleaning packages...

>>> No outdated packages were found on your system.
* GNU info directory index is up-to-date.
Je trouve pas comment le regler je l ai testé sous ubuntu est c est beaucoup plus simple.
Merci

The Destroyeur
23/09/2007, 21h36
Bonjour à tous,

Voici mes petits coups de coeur de programme que j'aime bien

Monitoring Bande Passante

Iftop:
Description: programme qui listes toutes les connections avec IP, Port, Nom DNS, bande passante IN et OUT
URL: http://www.ex-parrot.com/~pdw/iftop/
Commande Gentoo: emerge iftop

Iptraf:
Description: programme très complet à interface qui list les connections + débits
URL: http://iptraf.seul.org/
Commande Gentoo: emerge iptraf

Ipac-ng:
Description: bande passante utilisée (IN & OUT) sur un laps de temps
URL: http://sourceforge.net/projects/ipac-ng/
Commande Gentoo: emerge /usr/portage/net-analyzer/ipac-ng/ipac-ng-1.31-r2.ebuild

BwBar:
Description: générateur d'image et texte de bande passante utilisée (à intégré sur un site web !)
URL: http://www.kernel.org/pub/software/web/bwbar/
Commande Gentoo: emerge bwbar