Questions tagged [bandwidth]
The rate of data transfer. Bandwidth usually refers to Internet but it can also apply to other systems like the motherboard.
142 questions
1
vote
0
answers
44
views
Limit internet bandwith for a program
I'm running openSUSE Leap 15.5 on a Dell laptop connected to my broadband router by both Ethernet over power line and Wi-Fi. When I power up my laptop and log in, Internet access is very slow for a ...
0
votes
1
answer
796
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 ...
0
votes
2
answers
2k
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 ...
0
votes
1
answer
570
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 ...
0
votes
0
answers
58
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 ...
1
vote
0
answers
413
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 ...
2
votes
1
answer
654
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 ...
7
votes
1
answer
2k
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 ...
1
vote
0
answers
56
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 ...
3
votes
1
answer
995
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 ...
1
vote
0
answers
36
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.
...
0
votes
1
answer
65
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 ...
0
votes
1
answer
3k
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 ...
2
votes
1
answer
3k
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 "...
4
votes
0
answers
3k
views
How can I limit bandwidth per connection using tc?
I am new to Linux and tc command and I have been looking to limit bandwidth per connection using tc. I have a server application that handles requests from clients consisting of I/O operations, and I ...
0
votes
0
answers
54
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 ...
8
votes
1
answer
9k
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. ...
9
votes
2
answers
8k
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 ...
22
votes
8
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>
...
0
votes
4
answers
2k
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 ...
1
vote
0
answers
67
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 ...
2
votes
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 ...
2
votes
1
answer
618
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 ...
0
votes
0
answers
197
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 ...
0
votes
0
answers
64
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 .
...
1
vote
1
answer
988
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
0
votes
1
answer
527
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 ...
3
votes
1
answer
11k
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 ...
0
votes
1
answer
563
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 , ...
1
vote
1
answer
237
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 ...
1
vote
0
answers
1k
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 ...
0
votes
1
answer
4k
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). ...
0
votes
1
answer
204
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 ...
2
votes
1
answer
236
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 ...
4
votes
1
answer
13k
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 ...
7
votes
2
answers
9k
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 (...
3
votes
2
answers
550
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 ...
2
votes
1
answer
177
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 ...
0
votes
1
answer
195
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 ...
1
vote
1
answer
140
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.
...
1
vote
1
answer
2k
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 ...
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 ...
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-...
1
vote
0
answers
408
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 ...
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 ...
1
vote
0
answers
146
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 ...
0
votes
1
answer
574
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 ...
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 ...
4
votes
2
answers
15k
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 ...
2
votes
1
answer
1k
views
duplicity with ssh tunneling
I'm relatively new to posting here, so please pardon infelicities.
I'm trying to set up a duplicity backup through a 2-step ssh tunnel that I set up in config with one alias - call that alias "...