Sponsored Content
Top Forums UNIX for Advanced & Expert Users How to throttle network traffic? Post 302893117 by Corona688 on Monday 17th of March 2014 12:26:21 PM
Old 03-17-2014
There are two catches... One, it can only alter the rate of transmission, not reception. Two, it's only precise on average.
 

10 More Discussions You Might Find Interesting

1. IP Networking

Routing Network Traffic With Mandrake

I am running Mandrake 8.0 (KDE ver 2.1.1) on a machine with 2 NICs. This is a college project. I am attempting to configure this machine as a firewall, and to pass packets from one network to another. Eth0 is on my external network. Eth1 is on my internal network. I set the gateway in "netconf"... (1 Reply)
Discussion started by: Deuce
1 Replies

2. UNIX for Dummies Questions & Answers

monitoring network traffic

there are commands to monitor the memory, paging, io... how about network traffic. i mean commands to see whether the network traffic (LAN) is congested? the closest i got is netstat thanks (6 Replies)
Discussion started by: yls177
6 Replies

3. Cybersecurity

How to capture network traffic

Hi, Can someone give me the clue on how to capture network traffic at gateway. Thanx (2 Replies)
Discussion started by: kayode
2 Replies

4. UNIX for Advanced & Expert Users

Monitoring network traffic using snoop

I want to monitor network traffic. For this purpose i use snoop command. But snoop command only show those packets which are broadcasted or those packets which recieved by host. But I want to examine whole network traffic. Please tell me how to use snoop for monitoring whole network traffic or if... (3 Replies)
Discussion started by: mansoorulhaq
3 Replies

5. Infrastructure Monitoring

Network Traffic

Hi all, Got a strange one here, well not so much strange, different :-) I need to work out if a server is particulary chatty, whether its talking / communicating heavily to a particular server, as Im planning to physically move the server to a different server, over a link. Hence the... (6 Replies)
Discussion started by: sbk1972
6 Replies

6. HP-UX

Monitoring traffic in the network

I Colleagues, Somebody can say me how to monitoring traffic in the network. also I am interested in monitoring memory. if somebody to know a guide with command advanced in unix welcome for me. Thank you for adcanced. (0 Replies)
Discussion started by: systemoper
0 Replies

7. IP Networking

Extract few fields from network traffic

hi all i want to extract few connection level features (not packet level )of the internet traffic through ethernet card interface the features are as follows Timestamp Timestamp of paket captured Duration duration of connection ip_proto IP... (0 Replies)
Discussion started by: vaibhavkorde
0 Replies

8. Shell Programming and Scripting

extracting features of network traffic

hi all i want to extract few connection level features (not packet level )of the internet traffic through ethernet card interface the features are as follows Timestamp Timestamp of paket captured Duration duration of connection ip_proto IP... (2 Replies)
Discussion started by: vaibhavkorde
2 Replies

9. Infrastructure Monitoring

How do I know what traffic is in network port?

If I would like to know what connection , data , traffic in a network port ( eth0 ) , what can I do ? ps. because I always found the network is very slow , so I would like what the network port is doing . Thanks Login ID ust3 is currently in read-only mode for multiple infractions. Creating... (0 Replies)
Discussion started by: ust03
0 Replies

10. IP Networking

I would like to monitor network traffic for a computer on my network

My son does homework on a school laptop. I was thinking about setting up a gateway on my home network, so that I can monitor web traffic and know if he is doing his homework without standing over his shoulder. Ideally I would like to use the Raspberry Pi Model b that I already have. However, I... (15 Replies)
Discussion started by: gandolf989
15 Replies
TBRCONFIG(8)						    BSD System Manager's Manual 					      TBRCONFIG(8)

NAME
tbrconfig -- configure a token bucket regulator for an output queue SYNOPSIS
tbrconfig interface [tokenrate [bucketsize]] tbrconfig -d interface tbrconfig -a DESCRIPTION
tbrconfig configures a token bucket regulator for the output network interface queue. A token bucket regulator limits both the average amount and instantaneous amount of packets that the underlying driver can dequeue from the network interface within the kernel. Conceptually, tokens accumulate in a bucket at the average tokenrate, up to the bucketsize. The driver can dequeue packets as long as there are positive amount of tokens, and the length of the dequeued packet is subtracted from the remaining tokens. Tokens can be negative as a deficit, and packets are not dequeued from the interface queue until the tokens become positive again. The tokenrate limits the average rate, and the bucketsize limits the maximum burst size. Limiting the burst size is essential to packet scheduling, since the scheduler schedules packets backlogged at the network interface. Limit- ing the burst size is also needed for drivers which dequeues more packets than they can send and end up with discarding excess packets. When the tokenrate is set to higher than the actual transmission rate, the transmission complete interrupt will trigger the next dequeue. On the other hand, when the tokenrate is set to lower than the actual transmission rate, the transmission complete interrupt would occur before the tokens become positive. In this case, the next dequeue will be triggered by a timer event. Because the kernel timer has a limited gran- ularity, a larger bucketsize is required for a higher tokenrate. The interface parameter is a string of the form ``name unit'', for example, ``en0''. The tokenrate parameter specifies the average rate in bits per second, and ``K'' or ``M'' can be appended to tokenrate as a short hand of ``Kilo-bps'' or ``Mega-bps'', respectively. When tokenrate is omitted, tbrconfig displays the current parameter values. The bucketsize parameter specifies the bucket size in bytes, and ``K'' can be appended to bucketsize as a short hand of ``Kilo-bytes''. When bucketsize is omitted, tbrconfig assumes the regulator is driven by transmission complete interrupts and, using heuristics, assigns a small bucket size according to the tokenrate. When the keyword ``auto'' is given as bucketsize, tbrconfig assumes the regulator is driven by the kernel timer, and computes the bucket size from tokenrate and the kernel clock frequency. If the -d flag is passed before an interface name, tbrconfig will remove the token bucket regulator for the specified interface. Optionally, the -a flag may be used instead of an interface name. This flag instructs tbrconfig to display information about all interfaces in the system. EXAMPLES
To configure a token bucket regulator for the interface en0 with 10Mbps token rate and 8KB bucket size, # tbrconfig en0 10M 8K To rate-limit the interface en0 up to 3Mbps, # tbrconfig en0 3M auto SEE ALSO
altq.conf(5), altqd(8) HISTORY
The tbrconfig command first appeared in WIDE/KAME IPv6 protocol stack kit as part of ALTQ tools. BSD
July 25, 2000 BSD
All times are GMT -4. The time now is 08:14 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy