Displaying 2 results from an estimated 2 matches for "txmax".
Did you mean:
xmax
2004 Jul 28
3
Re: Re: HTB 3.13 please help
...#x=$[100/20]
> > > > > > #echo "$1" > /skrytpy/status
> > > > > > rxmax=900 #WAN max transfer -down (physically it is
960kbit/960kbit)
> > > > > > kbit=kbit
> > > > > > rxmaxluser=250
> > > > > > txmax=800 #WAN max transfer - up
> > > > > > txmaxluser=100
> > > > > > #counting users
> > > > > > # ip1 file is like this:
> > > > > > # 11 #Somebody
> > > > > > # 23 #Somebody II
> > > > > > #EO...
2004 Jul 20
3
Fw: HTB - Really Big problem
...----------------------------------------------cut here -----------------------------------------------------------------------------------
#!/bin/bash
#x=$[100/20]
#echo "$1" > /skrytpy/status
rxmax=900 #WAN max transfer -down (physically it is 960kbit/960kbit)
kbit=kbit
rxmaxluser=250
txmax=800 #WAN max transfer - up
txmaxluser=100
#counting users
# ip1 file is like this:
# 11 #Somebody
# 23 #Somebody II
#EOF
licznik=0
for x in $(awk ''{ print $1 }'' /skrytpy/ip1); do
licznik=$[$licznik+1]
done
for x in $(awk ''{ print $1 }'' /skrytpy/ip2); do
licz...