Notices


Reply
Thread Tools
Posts: 458 | Thanked: 783 times | Joined on Jan 2010 @ France
#1
Hi all,

Here is my first attempt to package the latest version of nload :

nload :

nload monitors network traffic and bandwidth usage.

Overview :

nload is a console application which monitors network traffic and bandwidth usage in real time. It visualizes the in- and outgoing traffic using two graphs and provides additional info like total amount of transfered data and min/max network usage.

Homepage :

http://www.roland-riegel.de/nload/

Download packages from extra-devel :

Activate all repositories following this tutorial : Repositories Activation

Then, as usual, as root, install with :

Code:
-bash-2.05b# apt-get install nload && nload --help
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following NEW packages will be installed:
  nload
0 upgraded, 1 newly installed, 0 to remove and 19 not upgraded.
Need to get 73,2kB of archives.
After this operation, 213kB of additional disk space will be used.
Get:1 http://repository.maemo.org fremantle/free nload 0.7.4-1maemo0 [73,2kB]
Fetched 73,2kB in 0s (77,9kB/s)
Selecting previously deselected package nload.
(Reading database ... 47572 files and directories currently installed.)
Unpacking nload (from .../nload_0.7.4-1maemo0_armel.deb) ...
Setting up nload (0.7.4-1maemo0) ...

nload version 0.7.4
Copyright (C) 2001 - 2012 by Roland Riegel <feedback@roland-riegel.de>
nload comes with ABSOLUTELY NO WARRANTY. This is free software, and you are
welcome to redistribute it under certain conditions. For more details see the
GNU General Public License Version 2 (http://www.gnu.org/copyleft/gpl.html).

Command line syntax:
nload [options] [devices]
nload --help|-h

Options:
-a period       Sets the length in seconds of the time window for average
                calculation.
                Default is 300.
-i max_scaling  Specifies the 100% mark in kBit/s of the graph indicating the
                incoming bandwidth usage. Ignored if max_scaling is 0 or the
                switch -m is given.
                Default is 10240.
-m              Show multiple devices at a time; no traffic graphs.
-o max_scaling  Same as -i but for the graph indicating the outgoing bandwidth
                usage.
                Default is 10240.
-t interval     Determines the refresh interval of the display in milliseconds.
                Default is 500.
-u h|b|k|m|g    Sets the type of unit used for the display of traffic numbers.
   H|B|K|M|G    h: auto, b: Bit/s, k: kBit/s, m: MBit/s etc.
                H: auto, B: Byte/s, K: kByte/s, M: MByte/s etc.
                Default is h.
-U h|b|k|m|g    Same as -u, but for a total amount of data (without "/s").
   H|B|K|M|G    Default is H.
devices         Network devices to use.
                Default is to use all auto-detected devices.
--help
-h              Print this help.

example: nload -t 200 -i 1024 -o 128 -U M

The options above can also be changed at run time by pressing the 'F2' key.

-bash-2.05b#
After successful installation, just use it !!!


Hope you like it ...

A++

EDIT : Unusable, segfault when used on the device terminal & even on the device from ssh ...

Last edited by colin.stephane; 2012-12-06 at 23:06. Reason: SEGFAULT !!!
 

The Following 11 Users Say Thank You to colin.stephane For This Useful Post:
Posts: 638 | Thanked: 1,692 times | Joined on Aug 2009
#2
Interesting but i prefer the ifstatus interface ...

Anyway, running "nload -t 200 -i 1024 -o 128 -U M"
the shell hangs after this error:

terminate called after throwing an instance of 'std::ios_base::failure'
what(): basic_ios::clear
Aborted



http://ifstatus.sourceforge.net/graphic/download.html
Attached Files
File Type: zip ifstatus_1.1.0_n900_xes.zip (186.2 KB, 56 views)

Last edited by xes; 2012-12-07 at 09:41.
 

The Following 3 Users Say Thank You to xes For This Useful Post:
Reply


 
Forum Jump


All times are GMT. The time now is 23:00.