Questions tagged [bandwidth]

The rate of data transfer. Bandwidth usually refers to Internet but it can also apply to other systems like the motherboard.

Filter by
Sorted by
Tagged with
0 votes
1 answer
74 views

How to get rid of ssh bandwidth limit?

I was playing around with a server I set up myself, running archlinux, and when I tried to retrieve files from it, using scp or rsync, I noticed the download speed was abnormally low, being capped at ...
Mayeul Lnr's user avatar
0 votes
1 answer
346 views

How to create 80MHz hotspot with NetworkManager on linux?

My OS is Archlinux and onboard wifi chip is MediaTek MT7921 which is a wifi-6 chip. According to this wiki MT7921 supports creating 80MHz hotspot on linux. I use command nmcli device wifi hotspot ssid ...
ArchBug's user avatar
0 votes
1 answer
82 views

How to measure network transfer speed against a host from the command line?

I want to measure bandwidth against a host from the command line. Many hosts will be on the internet and outside my control. This will serve to test my actual internet connection bandwidth. I am aware ...
Bagalaw's user avatar
  • 925
0 votes
0 answers
43 views

Not cooking USB3 ports on Linux?

I'm still using an 11" Linux notebook bought in 2016 as a beater and "kitchen workstation". It has a single USB3 which works fine in itself but has a tendency to get cooked. I say ...
RJVB's user avatar
  • 254
1 vote
0 answers
196 views

How to set bandwidth limit using linux tc

In my linux router: interface eth1 total bandwidth is 1gbit I want to divide 1140kbit to GroupA, divide 150kbit to GroupB Set users 10.10.10.158, 10.10.21.5, 10.10.21.6 to GroupB Each user has no ...
ackema's user avatar
  • 11
0 votes
0 answers
37 views

How to limit VM's network which is running by VirtualBox?

I have hypervisor where Ubuntu Server 18.04 is installed and VM where Ubuntu Server 22.04 is installed. VM has access to the internet through Host-only adapter. It means I have vboxnet0 interface on ...
Semyon Bayandin's user avatar
2 votes
1 answer
143 views

In KDE System Monitor, why the application-specific network measurements may be missing?

There are two systems running Plasma 5.27.7: Debian testing and openSUSE Tumbleweed. Under openSUSE, System Monitor tracks application-specific network activity, see screenshot: Under Debian, there ...
Anton K's user avatar
  • 319
8 votes
1 answer
1k views

How much data transferred per user via SSH over time period

I have an Ubuntu server with approximately 20 users who primarily use it for SSH tunneling. I would like to know if there is any way to determine the amount of data transferred by each user over a ...
Javad Zamani's user avatar
0 votes
0 answers
41 views

How can I set different bandwidth limits for multiple terminals using linux tc?

How to set different speed for different terminals? In my case: Total bandwidth is 100Mbits/s. No more than 100 terminals. I want each terminal use no more than 2Mbits/s or 3Mbits/s bindwidth I have ...
ackema's user avatar
  • 11
1 vote
0 answers
23 views

Transmission rate monitoring tool for lots of interfaces and sort by usage

What tool can I use to easily monitor the transmission rate in a short recent time window of all interfaces and sort them by traffic usage. I have tried iptraf-ng which works great except you can't ...
Teddy77's user avatar
  • 2,993
2 votes
0 answers
333 views

How do you fetch a large file over http in parallel?

Question: Since HTTP supports resuming at an offset, are there any tools (or existing options for commands like wget or curl) that will launch multiple threads to fetch the file in parallel with ...
KJ7LNW's user avatar
  • 435
1 vote
0 answers
24 views

Need to measure pairwire (ip based) bandwidth used over time when using TC

I need to measure the datarates of packets between multiple servers. I need pairwise bandwidths between the servers (if possible even the ports), not the overall datarate per interface on each server. ...
Pramodh Rachuri's user avatar
0 votes
1 answer
40 views

Manage Bandwidth on a per client basis

I have a webservice where people can download large files (think ISOs). Now since there is usually more than 1 person downloading, I would like a way to manage the share the of the total bandwidth a ...
user2741831's user avatar
0 votes
1 answer
1k views

How do I determine the nominal memory bandwidth of my system?

I'm running some (not so new) Linux distribution. I want to determine what the memory bandwidth of my system is - not the effective bandwidth I can get from benchmarking/testing - but the nominal ...
einpoklum's user avatar
  • 9,462
2 votes
1 answer
2k views

How to limit IO bandwidth using systemd?

I'm trying to limit IO usage of a service (or process/command). (Limit for IO read/write on hardware device, not for network.) I found IOAccounting from systemd: systemd-run --scope --user -p "...
Richard Buchmann's user avatar
4 votes
0 answers
2k views

How can I limit bandwidth per connection using tc?

I am pretty new to Linux and tc command and lately I have been looking for a solution to limit bandwidth per connection using the tc command. I have a server application that handles requests from ...
Ben's user avatar
  • 41
0 votes
0 answers
39 views

Strategies for dealing with large remote files, and slow networks

So, here's the basic problem, I need to distribute qcow2 images, to a bunch of remote machines; no big deal, right? Well, the complication is that some of these happen to rely on 4/5G modems, and ...
haxbits's user avatar
  • 11
7 votes
1 answer
5k views

How to measure bandwidth of SSH connection

How do I measure the bandwidth of a particular SSH connection to a remote computer? For example, if I have an SSH tunnel doing port forwarding, I want to know how much data passes through that tunnel. ...
Flux's user avatar
  • 2,898
7 votes
2 answers
6k views

How to throttle bandwidth of SSH connection

How do I limit the speed of an SSH connection? For example, when I am doing port forwarding (ssh -L ...), reverse tunneling (ssh -R ...), or SOCKS5 dynamic port forwarding (ssh -D ...), I may want to ...
Flux's user avatar
  • 2,898
21 votes
7 answers
20k views

speedtest-cli: ValueError: invalid literal for int() with base 10: ''

On 3 machines I get: $ speedtest-cli Retrieving speedtest.net configuration... Traceback (most recent call last): File "/usr/bin/speedtest-cli", line 11, in <module> ...
Ole Tange's user avatar
  • 35.4k
1 vote
3 answers
1k views

any NATIVE tool how to see bandwidth of upload/download on PC in terminal?

I need to see connection speed from linux PC (like 0.7MB/sec) but it is very secure machine and I'm afraid to install some 3rd party tool -> was looking everywhere but every tip for some sw was ...
Ondrej's user avatar
  • 11
1 vote
0 answers
41 views

set asymmetric bandwidth on an interface

I'm coding a simple application using docker-compose and docker networks (images based on ubuntu). One of my services is a client with a network interface given from docker. All my services are on my ...
CodeRonin's user avatar
  • 111
1 vote
1 answer
2k views

Limit bandwidth for outgoing/incoming with latency for specific port using TC

I'm trying to limit the incoming and outgoing bandwidth with latency through a specific port using TC but I can't get it to work 100%. I'm not sure if I've done it correctly. When I ping google, the ...
user438686's user avatar
2 votes
1 answer
381 views

How to use lsof to find high activity file writing?

I recently discovered that a buggy program called pcmanfm was writing 200 MB per second to its run.log file, so I had to find ways to combat that. I discovered what file it was that it was writing to ...
wudude's user avatar
  • 197
0 votes
0 answers
133 views

Shape traffic to certain speeds for a specific process

I need to shape traffic for a specific PID to certain speeds. For example, I would like to limit upload for PID 7502 to 300Kb/s, and download for PID 7502 to 400Kb/s. How can this be done? I have ...
vpseg's user avatar
  • 13
0 votes
0 answers
47 views

Trigger bandwidth usage increase gradually by percentage with bash shell and python

I have a case monitoring bandwidth and trigger alert Telegram when network traffic increase 200% . My idea: Using vnStat print out traffic current , after 5 minutes print out traffic the second time . ...
Ryan's user avatar
  • 3
0 votes
1 answer
732 views

wondershaper bandwdith limit per ip

Does this command allows us to download speed 512kpbs for each connected devices? or let say if two devices connected then they get only 256kbps each or 512 kbps each ? sudo wondershaper wlan0 512
krishna's user avatar
0 votes
1 answer
379 views

Why did iperf3 show thunderbolt speed 3 Gbit in one direction, and just 500 Mbit in the other direction?

I connected two MBPs via thunderbolt, via thunderbolt bridge which should provide 10Gbit/s bidirectional connection on one of its channels. I have them connected over a thunderbolt 2 male male cable ...
NicuMarasoiu's user avatar
3 votes
1 answer
9k views

Limit bandwidth on a specific port in CentOS 7?

I am running CentOS 7 on my VPS and I would like to limit bandwidth on a specific port. I have looked around extensively, and out of the solutions I can find, either it's a limit placed on an ...
cyqsimon's user avatar
  • 765
0 votes
1 answer
426 views

Capture bandwidth usage from remote machine across time

I would like to capture the bandwidth usage to and from one specific remote machine across time on my system. iftop command is definitely one option, which gives the network usage, and has filtering , ...
Akheel K M's user avatar
1 vote
1 answer
205 views

How do I get the amount of internet data used throughout the day?

I need to set a cap to my internet usage and manage data usage to download things programmatically based on the amount of data I have consumed. Is there a way to find out how much internet data I ...
Mahesh Bansod's user avatar
1 vote
0 answers
899 views

Extreme slow connection to Client | CentOS 7

I have a CentOS 7 Server running on centos-release-7-6.1810.2.el7.centos.x86_64 The problem is not the Client connection, neither the Server connection is. But the connection between both is sadly ...
Georodin's user avatar
  • 159
0 votes
1 answer
2k views

How to block empty user agent

I'm using CentOS 7 on my server, and Apache2 as my web server. In AWStats in my Cpanel, I could see that I've a large bandwidth used by a bot called "empty user agent string" (see the pic attached). ...
azari ezz's user avatar
0 votes
1 answer
155 views

Seeing dead process in nethogs?

nethogs is a very useful tool to see which process(es) send/receive lots of network traffic. But as soon as the process exits, on the next display refresh nethogs no longer displays the process. Is ...
Gerry Lufwansa's user avatar
2 votes
1 answer
177 views

Bandwidth utilization is more than max speed

Ethtool shows max speed is 1Gb/s. But in glances/SAR results in more than 1.7Gb/s. Can somebody clarify this... # ethtool ethX | grep -i speed Speed : 1000Mb/s there is no dropped packets till ...
Siva's user avatar
  • 9,065
4 votes
1 answer
9k views

How to interpret the result of "lspci -vv" with respect to PCIe lanes and PCIe 2 vs 3 speeds?

I just came across this question and its excellent answers ("How to check how many lanes are used by the PCIe card?"). I am just looking at the output of lspci -vv for a GTX 1050ti graphics card and I ...
s-m-e's user avatar
  • 455
7 votes
2 answers
8k views

Link Aggregation (Bonding) for bandwidth does not work when Link Aggregation Groups (LAG) set on smart switch

My question is: why does setting Link Aggregation Groups on the smart switch lower the bandwidth between two machines? I have finally achieved higher throughput (bandwidth) between two machines (...
rveale's user avatar
  • 161
3 votes
2 answers
420 views

Is it possible to change the priority/nice values for an application's access to the NIC, giving precedence for bandwidth?

Is it possible to tune which applications receive the most bandwidth on a NIC, similar to the -20 to +20 Nice value but for bandwidth instead of processor-time? Transmission seems to choke out my ...
flerb's user avatar
  • 963
2 votes
1 answer
145 views

Confirm and/or remove a possible traffic shaping setting

I have a Debian box up and running with KVM and two guest machines, which I will refer here as Tux-A and Tux-B, both bind to the same physical network card of the Host via a bridged connection. The ...
funkoolow's user avatar
  • 120
0 votes
1 answer
173 views

virtual machines on LAN : speed and bandwidth questions

I would like to get some advices on VM servers. Indeed, instead of creating again and again the same VM in virtualbox, I am wondering if having a virtual machines server would not be better, but I ...
lolveley's user avatar
1 vote
1 answer
111 views

Monitoring server bandwidth

I want to collect bandwidth usage statistics on my linux server. What I want to do, is to write a function (probably will use php exec) that will return the number of bytes, and then store it in DB. ...
matisa's user avatar
  • 367
1 vote
1 answer
1k views

Using one PC on LAN to monitor traffic usage on other PC's on same LAN

I have a cisco epc3825 cablemodem that provides internet to a number of PC's via Wifi. I'd like to add Linux PC on the LAN to monitor traffic usage on all PC's on the same LAN. Is this possible? Would ...
user1231247's user avatar
2 votes
0 answers
1k views

scp : -l option (bandwidth limiting) doesn't work when scp-ing from a remote server to another remote server

If I do : $ scp -l 1024 remote1:/path/to/file remote2:/path/to/destination I can see, using nload on remote1, that the bandwidth used by scp isn't limited to 1024 kbits/s like I thought. I found a ...
ChennyStar's user avatar
  • 1,643
0 votes
1 answer
1k views

Calculating the IOPS using Bandwidth

I have the write Bandwidth value received from the system and I need to calculate the write IOPS using the BW, Bandwidth = amount of data / second http://rickardnobel.se/storage-performance-iops-...
Harry's user avatar
  • 201
1 vote
0 answers
361 views

How to measure the bandwidth of IPC

I need to do some measure about communication between two processes in my Ubuntu server. Saying that the two processes are process A and process B. A keeps sending data to B. I need to get two kinds ...
Yves's user avatar
  • 3,271
3 votes
1 answer
2k views

How can I permanently associate tc qdisc commands with a particular interface?

I need to use a tc qdisc command to limit bandwidth usage on an interface created by openvpn. This works great when I run the command manually but occasionally the connection drops or restarts and ...
steevithak's user avatar
1 vote
0 answers
135 views

Monitor MPSSH Progress, maybe PV?

Does anyone know of a good way to monitor the progress of mpssh? While making a large number of parallel connections it can take some time to complete. I'm trying to figure out a good way to monitor ...
secJ's user avatar
  • 431
0 votes
1 answer
564 views

how to add bandwidth limit in ubuntu grive?

I use grive to sync folder with Google drive in Ubuntu, but I want to set a bandwidth limit on grive sync. I use this command for sync in 50 kbytes speed limit: grive -p /home/purval -U 50 -D 50 ...
purval_patel's user avatar
0 votes
2 answers
2k views

suspicious activity in the server?

I have a remote server and I got email about 90% consumption of bandwidth usage. So I logged in the server and checked and noticed that gnome-terminal was running in the server, which I haven't ...
prado's user avatar
  • 930
4 votes
2 answers
14k views

How to monitor tcp traffic between my localhost and IP adress

I would like to know how to monitor tcp traffic between my localhost and IP address keeping activities in a file. I tried iftop and tcptrack but I can not keep activities in a file. These tools don't ...
dubis's user avatar
  • 1,450