Displaying 2 results from an estimated 2 matches for "licznik".
2004 Jul 28
3
Re: Re: HTB 3.13 please help
...> > > > > 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
> > > > > >
> > > > > >
> > > > > > #Server
> > >...
2004 Jul 20
3
Fw: HTB - Really Big problem
...----------
#!/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
licznik=$[$licznik+1]
done
for x in $(awk ''{ print $1 }'' /skrytpy/ip3); do
licznik=$[$licznik+1]
done
for x in $...