Download Shareware and Freeware Software for Windows, Linux, Macintosh, PDA

line Home  |  About Us  |  Link To Us  |  FAQ  |  Contact

Serving Software Downloads in 956 Categories, Downloaded 50.174.753 Times

libband 0.01

  Date Added: August 13, 2010  |  Visits: 1.067

libband

Report Broken Link
Printer Friendly Version


Product Homepage
Download (91 downloads)



LibBand is a simple library wrapper written in assembly and C (but I plan to rewrite everything in C) useful if you want to limit the bandwidth used by a program. It simply overrides some libc functions, using the LD_PRELOAD environment variable, and puts some pauses in the program to clamp the bandwidth at the specified value, for both upload and download operations. You just have to set UPLOAD_BAND and DOWNLOAD_BAND and run your program, for example: export LD_PRELOAD=/replace-with-the-path/to/libband.so export UPLOAD_BAND=1024 export DOWNLOAD_BAND=8192 ftp somewhere.com The bandwidth must be expressed in bytes/s, and so in the above example, we want the upload band clamped at 1.0 kb/s, the download band at 8.0 kb/s. Theres a small utility in the scripts/ directory, called lb: you can use it to set everything and start your program from a nice whiptail/dialog environment. You need NASM to build the binary (but dont worry, a pre-assembled version is included in the package). Just type "make" to compile, and "make install" to install the library. Remember that $HOME/lib is the default installation directory, so you usually have to export LD_PRELOAD by using: export LD_PRELOAD=$HOME/lib/libband.so The "lb" script is configured to work with this path, but you may change it by editing the script itself (search for the LIBPATH variable). Please note that at the moment libBand DOESNT WORK with multithreaded and _graphic_ applications. Whats New in This Release: - We keep track of sockets by wrapping socket(), accept() and close(). The old fstat() mechanism has been obsoleted..

Requirements: No special requirements
Platforms: Linux
Keyword: Bandwidth Bandwidth Used Export Ld Libband Libraries Library Preload Programming Used Used By Useful Want To Wrapper You Want To
Users rating: 0/10

License: Freeware Size: 22.53 KB
USER REVIEWS
More Reviews or Write Review


LIBBAND RELATED
Libraries  -  PerlPoint::Tags::XML 0.04
PerlPoint::Tags::XML is a PerlPoint tag set used by pp2sdf. SYNOPSIS # declare tags used by pp2sdf use PerlPoint::Tags::XML; This module declares PerlPoint tags used by XML converters. Tag declarations are used by the parser to determine if...
15.36 KB  
Libraries  -  PerlPoint::Tags::CPPP 0.39
PerlPoint::Tags::CPPP is a PerlPoint tag set used by pp2cppp. SYNOPSIS # declare tags used by pp2cppp use PerlPoint::Tags::CPPP; This module declares PerlPoint tags used by pp2cppp. Tag declarations are used by the parser to determine if a...
327.68 KB  
Libraries  -  PerlPoint::Tags::SDF 0.45
PerlPoint::Tags::SDF is a PerlPoint tag set used by pp2sdf. SYNOPSIS # declare tags used by pp2sdf use PerlPoint::Tags::SDF; This module declares PerlPoint tags used by pp2sdf. Tag declarations are used by the parser to determine if a used...
419.84 KB  
E-Mail Tools  -  Maildrop 2.0.3
maildrop is the mail filter/mail delivery agent thats used by the Courier Mail Server. You do not need to download maildrop from here if you already have Courier installed. This is a standalone build of the maildrop mail filter that can be used...
2 MB  
Security Tools  -  WASTE (modWASTE) 1.4
The modWASTE project is used by WASTE developers to experiment with modifications that may be added to the main WASTE source tree. These modifications are experiments for WASTE 2. modWASTE may eventually contain features not avalible in WASTE.
264.25 KB  
Modules  -  Media API 6.x-1.x-dev / 5.x-1.x-dev 1.0
It includes an API which can be used by other modules to act upon files located with the system.InstallationUnpack in your modules folder (usually /sites/all/modules/) and enable under Administer > Site Building > Modules. Requirements: - Drupal...
 
Modules  -  Dript 5.x-1.x-dev 1.0
Dript can be used by other modules to add scripting or formula capability.The module implements a filter that can be applied to nodes and other contents.As a dialect of LISP and a simpler LISP, Dript is for non-programmers who want to alter their...
 
Modules  -  Subscribe Members 1.0.3
This mod ads two new links to each topic, which can be used by the admin to (un)subscribe all members to that topic
 
Libraries  -  Xffm GUI library 4.5.0
Xffm-gui library is used by some xffm applications, such as the xffm-filemanager. It was developed as a part of the xffm file manager, and has evolved into a separate package. It has a desk view, icon view, and tree view. Xffm is the...
3 MB  
Libraries  -  Uppaal Timed Automata Parser Library 0.90
Uppaal Timed Automata Parser Library (libutap) is the parser library used by UPPAAL..
419.84 KB  
NEW DOWNLOADS IN PROGRAMMING, LIBRARIES
Programming  -  Cedalion for Linux 0.2.6
Cedalion is a programming language that allows its users to add new abstractions and define (and use) internal DSLs. Its innovation is in the fact that it uses projectional editing to allow the new abstractions to have no syntactic limitations.
471.04 KB  
Programming  -  Math::GMPf 0.29
Math::GMPf - perl interface to the GMP library's floating point (mpf) functions.
30.72 KB  
Programming  -  Net::Wire10 1.08
Net::Wire10 is a Pure Perl connector that talks to Sphinx, MySQL and Drizzle servers. Net::Wire10 implements the low-level network protocol, alias the MySQL wire protocol version 10, necessary for talking to one of the aforementioned...
30.72 KB  
Programming  -  logilab-common 0.56.2
a bunch of modules providing low level functionnalities shared among some python projects devel Please note that some of the modules have some extra dependencies. For instance, logilab.common.db will require a db-api 2.0 compliant...
174.08 KB  
Programming  -  OpenSSL for linux 1.0.0a
The OpenSSL Project is a collaborative effort to develop a robust, commercial-grade, full-featured, and Open Source toolkit implementing the Secure Sockets Layer (SSL v2/v3) and Transport Layer Security (TLS v1) protocols as well as a...
3.83 MB  
Libraries  -  wolfSSL 4.0.0
The wolfSSL embedded SSL/TLS library is a lightweight SSL library written in ANSI standard C and targeted for embedded and RTOS environments - primarily because of its small size, speed, and feature set. It is commonly used in standard operating...
3.88 MB  
Libraries  -  EuGTK 4.8.9
Makes it easy to develop good- looking, fast, cross-platform programs that run on Linux, OS X, and Windows. Euphoria is a very fast interpreted/compiled language with straight-forward syntax. EuGTK allows programming in a clean, object-oriented...
10.68 MB  
Libraries  -  Linux User Group Library Manager 1.0
The LUG Library Manager is a project to help Linux User Groups start their own library. A LUG library is helpful to the community at large because it increases access to information, and gives everyone the opportunity to become more knowledgeable.
5.35 KB  
Libraries  -  Module::MakefilePL::Parse 0.12
Module::MakefilePL::Parse is a Perl module to parse required modules from Makefile.PL. SYNOPSIS use Module::MakefilePL::Parse; open $fh, Makefile.PL; $parser = Module::MakefilePL::Parse->new( join("", ) ); $info = $parser->required;...
8.19 KB  
Libraries  -  sqlpp 0.06
sqlpp Perl package is a SQL preprocessor. sqlpp is a conventional cpp-alike preprocessor taught to understand SQL ( PgSQL, in particular) syntax specificities. In addition to the standard #define/#ifdef/#else/#endif cohort, provides also...
10.24 KB