I’m always concerned about leaving terminal sessions open. I’ve used for many and many years the $TMOUT environment variable to close my sessions if idle for N seconds. Just by exporting the TMOUT variable to the number of desired timeout seconds will close your shell (Bash, Ksh, Zsh and some others). The following example will […]
connaitre architecture *hardware* 32 ou 64 bits
Pour voir au niveau software, sous debian et dérivés : dpkg –print-architecture ou encore, niveau noyau : uname -m viaconnaitre architecture *hardware* 32 ou 64 bits.
HowTo : install the mail command under Debian | ItHowTo.ro
HowTo : install the mail command under Debian Nov19 2008 Leave a Comment Written by gkoo The mail command under Debian distros is a part of the mailutils package. Simply use : apt-get install mailutils and you’re done ! viaHowTo : install the mail command under Debian | ItHowTo.ro.
Emulating a high latency network connection using Linux and TC
Often it is necessary for testing purposes to recreate the networking conditions found in a high latency network, such as a satellite link. Firstly create a network bridge that can be placed inbetween the test network and its router. To increase network latency use the following command: tc qdisc add dev eth0 root netem delay […]
Emulating a network connection with packet drop
IP packet drop can be easily emulated on any section of network using a Linux Bridge and a single iptables command: iptables -t mangle -A FORWARD -m statistic –mode random –probability 0.01 -j DROP (where probability is expressed as a value between 0 and 1) If the intention is to emulate packet drop to the […]
ShrimpWorks » Change your console resolution and colour depth
Pour la console système kernel : vga= Colors ( depth) 640×480 800×600 1024×768 1280×1024 1600×1200 —————+——-+——-+——–+———+——— 256 ( 8 bit)| 769 771 773 775 796 32,768 (15 bit)| 784 787 790 793 797 65,536 (16 bit)| 785 788 791 794 798 16.8M (24 bit)| 786 789 792 795 799 viaShrimpWorks » Change your console resolution […]
Load Testing and Benchmarking With Siege
Siege is a fantastic utility for helping with Linux server management by exposing problems before they go into production. It’s open source software (GPLv2 or later) and easy to get started with. Siege is packaged for Debian and Ubuntu, but it doesn’t look to be packaged for Fedora and openSUSE (at least in the default […]
Build cross-compiled kernel debian package – Sysmic.org
Build cross-compiled kernel debian package Par Jérôme Pouiller le vendredi, octobre 29 2010, 09:37 – Lien permanent As you may know, you have juste to add options ARCH and if necessary CROSS_COMPILE to command line: make ARCH=powerpc CROSS_COMPILE=ppc-linux-gnu- XXX_defconfig make ARCH=powerpc CROSS_COMPILE=ppc-linux-gnu- XImage My primary concern is to compile an x86 32bits kernel in 64bits […]