Sorin Pop wrote: >>>Salut >>> >>> Exista cumva vreo modalitate de a citi clasele/tragicul/pps.... din >>>snmp?, pentru ca cu tc -s class show dev ethx ... ia o sapatamana sa >>>parseze rezultatele. Am incercat cu 'snmp-extension-0.2.0' si nu merge. >>>Mai exista alte variante? >> >> Da si tu un tc -s class show dev ethx | wc -l si da paste aici > > > tc -s class show dev eth1 | grep "class htb" | wc -l > 3006 > (eh un pic mai mult de 2500 :) ) # time tc -s class show dev eth1 | grep "class htb" | wc -l 3042
real 0m0.021s user 0m0.013s sys 0m0.014s # cat /proc/cpuinfo | grep -i mhz cpu MHz : 2393.096 cpu MHz : 2393.096 cpu MHz : 2393.096 cpu MHz : 2393.096 # cat /proc/meminfo | grep -i tot MemTotal: 2075648 kB HighTotal: 1179092 kB LowTotal: 896556 kB SwapTotal: 4192956 kB .......................................................................... Privileged/Confidential Information may be contained in this message. If you are not the addressee indicated in this message (or responsible fordelivery of the message to such person), you may not copy or deliver this message to anyone. In such a case, you should destroy this message and kindly notify the sender by reply e-mail. --- Detalii despre listele noastre de mail: http://www.lug.ro/
