similar to: getting qdisc stats using rtnetlink sockets

Displaying 20 results from an estimated 300 matches similar to: "getting qdisc stats using rtnetlink sockets"

2005 Mar 29
1
tc + bandwidth measurement
I want to implement a snmp-agent to measure the bandwidth traffic per flow in a linux router. Is there any way to use tc in bash scripts in order to measure the bandwidth? In my first thought, the agent would fire repeatedly tc commands that would return the rate /flow. Is that speculation correct? Do you propose an alternative way to measure the bandwith through an agent. I found somewhere
2005 Feb 02
4
Issue with using using tc api
Hi , I''m trying to call the tc_qdisc_modify function of tc in iproute2/tc. I could compile it with my stub program and got the executable. However, when i try to create an htb qdisc i get the following error : Unknown qdisc "htb", hence option "default" is unparsable However, if i use the tc tool, it works fine.. When I tried to understand the problem, it appeared to
2004 Oct 12
12
Qdisc statistics project
As a necessety for my job is to real-time monitor the bytes, packets, packet dropped etc of all the qdiscs working inside the kernel i''ve tried varius methods: 1. Parse tc -s command output and update a round robin database and use rrdtool to graphically display tc statistics. [varius perl scripts exist for the above job] 2. Unsuccesfully tried QoS SNMP extensions, in order to use a
2005 Feb 05
1
ANNOUNCE: LQL# 0.8.0 and LQL 0.8.0
****** * Since LARTC is not an announcement list I will not be posting * all release announcements here. LQL has been through several * releases since the initial announcement and LQL-Sharp is * something completely new which will hopefully be of interest to * many of the people subscribed to LARTC. ****** That''s right! Yes, yes, yes. You can now control the QoS features of the Linux
2004 Aug 31
0
ANNOUNCE: Linux QoS Library (LQL) 0.5.0
The Linux QoS Library (LQL) provides a GPL licensed, GObject based C API to manipulate the network queueing disciplines, classes and classifiers in the Linux kernel. LQL does not use the TC command as a back-end. Instead, LQL communicates with the Linux kernel via Netlink sockets the same way TC does. 0.5.0 2004-08-30 ----- * Initial public release. * I wanted to get 100% API doc coverage and a
2005 Apr 21
2
A general view of the TC
Is there any library that i can hook on at runtime in order to create a qdisc dinamically from a program or if i want to do this I have to call the "tc" command? The disadvantage of calling the tc command from a process is that it creates an other process and this slows things up. Marius
2005 Jan 19
4
Writing rules direct to Kernel
Hi, I''m interested to write rules direct in Kernel space memory and not to execute the tc command. Have anyone done this before ? Any ideas ? Sources ? Thank you, Liviu -- This message was scanned for spam and viruses by BitDefender. For more information please visit http://linux.bitdefender.com/ _______________________________________________ LARTC mailing list /
2006 Jan 29
1
Reminder - links
Because these tend to get lost, here are some links that I think everyone should know about: wiki: http://linux-net.osdl.org API: http://www.coverfire.com/lql/ Stef Coene: (Broken? I hope not. This is excellent stuff!) http://www.docum.org/docum.org/ Jason Boxman: http://edseek.com/~jasonb/articles/traffic_shaping/ Dan Singletary:
2004 Sep 30
7
tc monitoring
I have managed to dynamically parse the output of commands: tc qdisc ls dev eth0 and tc -s class show dev eth0 Save statistics in an rrd database and display it via a php script. see http://143.233.4.215/graph.php and dload scripts from http://143.233.4.210/qos/ My next step in developing this monitoring software is to somehow manage to create a tree out of tc and then use it to greatly
2006 May 01
1
retrieving informations from Psched for Qos
Hi I''m working actually on a project about Qos configuration on a linux computer. I need to access (read/write) at the informations generated by the "tc" command. I think that these informations are in the /proc/net/psched file, but I only got 4 hexadecimal number in it.. Can anyone help me? David
2005 Jun 29
6
statistics + c code
Good morning :) I want to use some c code to read statistics as well as the configured settings ... .. Just give me some links for starting reading :) Have a nice day ____________________________________________________ Yahoo! Sports Rekindle the Rivalries. Sign up for Fantasy Football http://football.fantasysports.yahoo.com
2005 Jan 05
2
Suggestion - table of QoS mechanisms
Hi, A thought for the list. As I mentioned in another posting, there are a lot of QoS mechanisms out there. Linux supports some, but not all. Some patchsets add others, but don''t work for all kernels. There are also userland implementations, usually sitting in software routers, but there are other packages. Would it be helpful if I worked on a table of what''s out there for
2005 Jan 05
4
TC GUI or graphs?
Hello everybody, I am new to the lartc mailing list. I have been using "tc" for some time now. To be precise, tc & HTB to shape traffic. I did a lot of search on Google for 2 things: - A GUI to create configure new qdiscs & classes for HTB - A utility that will graph the data sent through all configured classes or qdiscs. I could not find anything. Could someone tell me if a
2007 Apr 26
0
Library TC
Hi all, I try to made a C program (CAC (Call Admission Control) module) and I don''t want to use a exec command with TC in my program when I want to add,modify or delete a QoS rule. I search a TC library and I found two projects : LQL (Linux QoS Library) : http://www.coverfire.com/lql/ (c) LTCM : http://hng.av.it.pt/~ltcmmm/ (c++) Do you known these API or others ? If you know them, can
2005 Aug 02
2
internet traffic from tbf
Hi have set the following tbf tc qdisc add dev eth0 root tbf rate 0.5mbit \ burst 5kb latency 70ms peakrate 1mbit \ minburst 1540 I want to add a filter so the ip traffic pass from it.. plz help me __________________________________ Yahoo! Mail Stay connected, organized, and protected. Take the tour: http://tour.mail.yahoo.com/mailtour.html
2013 Nov 29
1
Server is not registered with our KDC
Hi there, I joined a samba 4.1.2 to a Windows 2003 SBS and have some replication error. After debugging I found this: Server ldap/ADSRVS9 at DOMAIN.LOCAL is not registered with our KDC: Miscellaneous failure (see text): Server (ldap/ADSRVS9 at DOMAIN.LOCAL) unknown when I try to check with samba-tool drs kcc -U administrator adsrvs9 -d10 "samba-tool drs showrepl" show that
2006 Aug 18
0
RTNETLINK answers: File exists .. Network is unreachable
I am a Linux novice. I have set up a Linux Router that is running the 2.6.15-1.2054_FC5 kernel. I boot to an initial router state and then I experiment with various "tc" commands by executing them at the command prompt. I reboot often to restore the initial state. When I booted up the router today I got the following messages during the boot process: Bringing up interface eth0:
2006 Jan 29
0
how can I delete filter : RTNETLINK file doesn''t exist
what is the script for deleting filter that already exist??? the htb script is: tc qdisc add dev eth0 root handle 1:0 htb default 4 tc class add dev eth0 parent 1:0 classid 1:1 htb rate 500kbps ceil 500kbps tc class add dev eth0 parent 1:1 classid 1:2 htb rate 300kbps ceil 300kbps tc qdisc add dev eth0 parent 1:2 handle 12:0 pfifo tc class add dev eth0 parent 1:1 classid 1:3 htb rate 150kbps
2005 Apr 03
2
RTNETLINK answers: Invalid argument
Hi, On this Fedora Core Devel (Raw Hide) system, if I boot on a distribution kernel (based on 2.6.12rc1-bk2) the network is fine. If I build a custom 2.6.12-rc1-V0.7.43-06 or 2.6.12-rc1-mm4 kernel the network interface fails to initialise on boot with RTNETLINK answers: Invalid argument. What can possibly cause this ? My kernel config should be mostly fine - I used it extensively at a time and
2005 Jun 10
3
RTNETLINK answers: File exists
how can i get rid of that ?? i do del roots before scripting. -- *Dariusz ''tdi'' Dwornikowski | Gentoo | admin at pozman.pl | *[JID]:tdi@gentoo.pl|[gg]:2266034|[IRC]:#gentoo-pl@freenode | *[MAIL]:tdi@pozman.pl|[WWW]:www.tdi.pozman.pl | *Serwery,administracja,webapps - www.ProAdmin.com.pl | *Fingerprint:43E21CC46DAFD2F754E91547D59B39F56AAA4B5F