10
submitted 1 year ago by zoe@infosec.pub to c/linux@lemmy.world

cross-posted from: https://infosec.pub/post/2644831

I like to control the network bandwidth of each process/app on my linux, both ways (download, and upload), as well as my pc overall bandwidth. is that achievable on Linux ? Thanks

top 7 comments
sorted by: hot top controversial new old
[-] ono@lemmy.ca 3 points 1 year ago* (last edited 1 year ago)

The kernel's queuing disciplines (qdisc) can do this per interface. The tc command can manage them at a low level, but it's a bit arcane, so you would probably want a higher-level tool like Wonder Shaper.

[-] zoe@infosec.pub 0 points 1 year ago
[-] ono@lemmy.ca 3 points 1 year ago* (last edited 1 year ago)

You're welcome.

By the way, copying your question to every community you can think of at the same time ends up looking pretty spammy to those of us who are members of more than one. If you must make many cross-posts, you might want to space them out a day or so, at least. You might even find that there's enough membership overlap that you don't need to cross-post much.

[-] zoe@infosec.pub 0 points 1 year ago* (last edited 1 year ago)

i know it sucked, maybe i should have acted that way. in fact 1 day ago i posted complaining why there are duplicate communities everywhere, i was downvoted to oblivion, but after self-reflection, this should be a feature of the fediverse. afterall my posts are crossposted with few seconds in intervall, so one could scroll throu them quite quickly, its not like a bot spamming posts but i get ur feel. remark noted ๐Ÿ‘ˆ

[-] d3Xt3r@lemmy.world 3 points 1 year ago

There's TrafficToll. It hasn't had any updates for a while, but since it's just a python frontend for tc (which is still maintained), it should work just fine.

[-] zoe@infosec.pub 1 points 1 year ago

as long as it has the features i am looking for then no worries. i used to use software like TuneUp from 2014 and didnt bother to upgrade iy or look up a new key for it, as long as it got the job done. much appreciated :)

[-] ninekeysdown@lemmy.world 0 points 1 year ago

So there's a few things you can do. As other have mentioned tc is a good one. Systemd provides ways of limiting just about everything and even firewalling just by adding the stuff into a unit or scope. Bubblewrap, what flatpaks use, can also provide some sandboxing. There's also OpenSnitch. The closest to netlimiter overall would portmaster.

It just really depends on you your needs and what you're running though.

this post was submitted on 17 Sep 2023
10 points (77.8% liked)

Linux

8114 readers
33 users here now

Welcome to c/linux!

Welcome to our thriving Linux community! Whether you're a seasoned Linux enthusiast or just starting your journey, we're excited to have you here. Explore, learn, and collaborate with like-minded individuals who share a passion for open-source software and the endless possibilities it offers. Together, let's dive into the world of Linux and embrace the power of freedom, customization, and innovation. Enjoy your stay and feel free to join the vibrant discussions that await you!

Rules:

  1. Stay on topic: Posts and discussions should be related to Linux, open source software, and related technologies.

  2. Be respectful: Treat fellow community members with respect and courtesy.

  3. Quality over quantity: Share informative and thought-provoking content.

  4. No spam or self-promotion: Avoid excessive self-promotion or spamming.

  5. No NSFW adult content

  6. Follow general lemmy guidelines.

founded 1 year ago
MODERATORS