General :: Prioritise Network Bandwidth On A Per Application Basis?
Jul 11, 2011
Is there a way in Linux to give a specific application more/less priority for network bandwidth? Something like how nice does for CPU priority.
Context: I'm currently on a very low bandwidth connection (3G dongle). While I'm performing a quite large upgrade using aptitude, it becomes virtually impossible to browse the web since the upgrade download is hogging my Internet connection.
So what I would like to do is somehow decrease the network bandwidth priority of the aptitude process (and all its children) so that it won't use too much bandwidth while another process is using it.
I just wanted to use a network bandwidth usage monitoring application. Scenario: I am using an EV-DO based USB broadband modem with a limited GB plan. For additional data usage they charge per MB. Currently I use either wvdial (mostly) or pon to start the connection. So if there is any network monitoring application which could log time used and data used for the session, it would be great. Actually debian has too many different network monitoring applications, But I am not sure which one suits well for this purpose.
is there any way to monitor each application network bandwidth usage ?I've used gnome-system-monitor, but unfortunately it just show the total network activity
We are a small company running half a dozen servers in data center.Recently we got charged heavily for over-utilizing the data transfer. So,we are looking for a way to find - uploads and downloads per ip and port basis.We have mixed environment (Win2008/Ubuntu) so the tool should be able to work for both.I am not sure if MRTG provides per port(i.e. application) based analysis.
I am new to shell script and to this form as well, I did try to search for a similar post like mine here, but could not find one.
Here is what I'm trying to do:
I am trying to grep server logs to find a specific string and then capture the time stamp and the value of that grep string in them. The log file prints out messages on per sec basis.
My script is able to grep the server logs for the entire period of my load runs and then outputted it to a .csv file too.
Unfortunately this .csv file is too large to extract it on my PC and to generate graphs as it exceeds the excel limit. I need some help on how to read this .csv file in a shell script and then take an average on per min basis before I can export it out on my desktop and generate graphs for analysis. example of the out in my .csv file:
I created a the class like this for shaping the packets with a specified bandwidth rate.....
tc qdisc del dev eth0 root tc qdisc add dev eth0 root handle 1: htb default 15 tc class add dev eth0 parent 1:0 classid 1:1 htb rate 750kbit ceil 750kbit tc class add dev eth0 parent 1:1 classid 1:3 htb rate 600kbit ceil 750kbit prio 0
For Our Requirement:-
I dont want to specify the bandwidth rate strictly like this rate750kbit ceil 750kbit,based on whatever speed is coming which should allocate the bandwidth rate for particular class...I need one application for finding the upcoming bandwidth & Is any other method is there for specify the bandwidth rate in a classes.
I am on a slow Internet connection and it really makes me mad if something gets downloaded in background (like automatic update of any software) without my knowledge.
How can I monitor my network traffic sorted according to the "which binary file is using how much"? I can find the total transfer rate in "System Monitor" in Gnome, but what if I want to find for individual process. There are softwares like netmonitor in Windows, but how can I achieve that in UBUNTU LINUX.
GUI application will be nice, command line software will also be fine..
There seems to be many different ways of controlling bandwidth usage of downloads of content from Apache2. Does anyone know which is the standard module deployed/deployable in OpenSuse?
I Own a netcafe and I want to limit the netspeed for some of the users on the network because some of them maybe use torrent or other ways to eat the bandwidth and the net became so slow for other users.
My task is a way to limit the net speed for some users on the network, I tried a mikrotik RouterOS but it look like a miss to install I wanted an easier way than this, I use linux or windows or any OS to make this task done please help me to do it !!
currently i've face a problem of having a slow internet connection on our office, i was asked to check who among the users under the network uses the most.
I'm looking for a program that I can use to keep track of how much bandwidth goes to the various computers in my small network.All of the bandwidth goes through my squid server, so the easiest would be to just have a program that can accurately analyze the squid logs and tell me how much bandwidth is going to the different computers.I've tried both "bandwidthd" and "calamaris" I can't figure out how to get either one to actually do anything in Ubuntu.
I'm looking for a tool to control network bandwidth (per application i.e. totem), something like trickle (a userspace bandwidth shaper).Trickle is a bit outdated, latest ver. 1.0.6 (2003), and it won't compile under -current. There's a slackbuild available, dated 2004.
I am wondering why I used to pull a much faster download and upload (approx 20 down 3 up). Now I only get 2 down and barely 1 up). I am not sure why this happened. Any ways to check on this? Just this one, dell d505 running suse 11.2. All other WiFi computers are pulling bandwidth as expected.
I have a network connection between 3 computers sharing the same net bandwidth with the same router (modem), I wanted to know how much every one of this network taking from the bandwidth, I want an easy program like switch-sniffer (see the pic) to scan the network and tell me how much every one taking from this network in real time.
I'm running Ubuntu 10.04 and all was well on my home network until a household member decided to get a laptop and jump on my network. All he does is watch videos on ....., download crap from P2P sites, and maybe even watch p0rn. Is there something I can use to control this or maybe set my router to give him the minimum resources available? Also, I want to block him from downloading junk from P2P sites or places he might get a virus. I'm on a D-Link DGL 4500 Router.
I setup a server with vmware esxi 4. I installed opensuse 11.2 and I have successfully setup an internet gateway and I manually configured (static) my client IP. My question is, is there any software or commands that I could use to manage the bandwidth usage for each client? eg. only 5Mbps for 192.168.1.5, 10Mbps for 192.168.1.10, etc
I have a third party program (tightvnc) which I want to monitor and detect if it loses a connection with a client. I don't care if the client has the program open but isn't doing anything with it, I only want to know if the actual TCP connection is lost.
Since TCP takes forever to die on it's own I was thinking the best way to detect if a connection is lost is by bandwidth the bandwidth on the tcp port allocated to the VNC connection. Are there any tools built in to redhat (RHEL 5.2) which I could use to do this? Since I don't have full control of the operating system I would prefer to use built in tools rather then trying to get a new tool installed.
We have a sipmle office network set up that we also use use to connect to the internet, however of late the number of users has increased thus slowing internet access. Bandwidth upgrade is not an option thus i have to do bandwidth shaping on our linux router. The question is how do set the squid configs to allow certain IP's range a certain percentage bandwidtheg 60% and furthe divide the rest. Alternatively how can allow certain IPs to have higher bandwidth access.
So, I have this application called Impact, it is an explicit time integration Finite Elements code written in Java...
[url]
I untar the pack, and launch the application calling a script, from within the untarred folder,
Code:
This launches a gui which allows me to setup a case, which needs some setup file, tipically some *.in and a mesh file, tipically some *.msh.
Other mode of executuion consists of calling the setup file as argument to Impact.sh script ( CLI execution mode, for g33k5 )
My problem is : I have packed the whole stuff into a Slackware .tgz, that places it in /usr/local/Impact, and placed a calling script in /usr/local/bin,
Code:
Code:
I decided to hack the ImpactGUI_OGL_linux_amd64.sh script from
Code:
Code:
no avail,
Code:
even after adding /usr/local/Impact/bin to PATH... won't go...
I can run this thing from within its directory... but I do not like messing within the directories of my applications, this is why I sent this to /usr/local, and placed a calling script in /usr/local/bin...
A colleague of mine was studying at the University of Vienna and saw an application which was based on linux whereby other pc's booted from it and if on the server they had set it to force a clean install on that PC it would download and install a windows image. Does anyone know of the app or could point me in the direction of a similar app.
inside my Linux I am using virtual box to launch windows xp. I have one shared folder between the operating systems so as to share my files As I can not trust virtual box and windows xp... can you suggest me an easy way to take daily backups of one of the folders I have inside that shared folder?The files are mostly html files so the file size is not so much of a problem (at least I think!)How can I take daily backups so to not lose something?
I'm attempting to give a few buddies encrypted storage space through sftp using truecrypt.I have it worked out to the point where the truecrypt volume is automatically mounted when the user logs on, and dismounted when they log off.I would like to restrict each person to their individual home folders. This way, I can control exactly how much space each user is able to use (through the size of the truecrypt volume), while maintaining security through the network due to using SFTP.
I've been looking around, and the only thing I can see is restricting a large group of users to a single directory, this won't work, I need each person to be locked down to their personal home directory.My end goal is to have these volumes "mountable" in Windows through the use of Windows network drives (on a wide network, not through samba on local), or by using expandrive or a similar program. how I can lock these users to their respective home folders?
I'm wondering if it's possible to control what applications are available to certain users on a per user basis.
My motivation:
I have separate logins for audio production and general admin. Under Applications > Sound & Video I have tonnes of audio apps, but as I never use these under my general admin account, there's little reason to list all of them.
how is the applications menu configured? I'm wondering because I'd like to create some custom sections.
I currently use two laptops: a macbook which dual boots OSX and Ubuntu 10.10 and a Dell Latitude which dual boots Vista and Fedora 14 64bit. I would like to know if it is possible to backup the Hard drive as a whole rather than on a per OS basis. If this is possible a linux program for doing such would be the preferred method as it is common to both machines.
I am open to anything that effectively and reliably backs up both machines respective disks in such a manner which allows for practical restoration. This does not have to be done from one OS though this is my preference.
Is there a way to check which IP is using the most bandwidth at any one time? I have a proxy server running and occasionally some users download videos instead of stream them, which hogs the bandwidth on their connection and denies other users access.