Hello everybody.
I have a very strange problem, which are detailed below:
I use the system to control MKT bandwidth for Wireless users, but recently my hard drive was full and I played liberate the cache memory, I have been doing this with some problems on my system. For example I use a script that regulates bandwidth for my users which goes like this:
(
: Local user
: Local bytesin
: Local bytesout
: Local megstotal
: Local groupname
/ Tool user-manager user
: Foreach in i = [/ tool user-manager user find subscriber = admin] = do (
: Set user [$ i get name]
: Set bytesin [get $ i download-used]
: Set bytesout [get $ i upload-used]
: Set megstotal (($ bytesin + 1 + $ bytesout) / 1000000)
: Set groupname [$ i get group-]
: If (([$ megstotal] <25) & & ([$ groupname] = A)) = do (
/ Tool user-manager user set [/ tool user-manager user find name = $ user] rate-limit = “64k/128k 128k/256k 32k/64k 1800/1800 6 16k/32k”
: $ User log info
: $ Info log groupname
: Log info “Total Used MB = $ megstotal”
: Log info “user uan continue to 64/128 were not falling too much”)
: If (([$ megstotal]> 25) & & ([$ groupname] = A)) = do (
/ Tool user-manager user set [/ tool user-manager user find name = $ user] rate-limit = “32k/32k 56k/56k 24k/24k 1800/1800 6 16k/32k”
: $ User log info
: $ Info log groupname
: Log info “Total Used MB = $ megstotal”
: Log info “punished 32k/32k”)
.
.
.
The problem is that before releasing the cache I was going well I detected my wireless users and regulated but now I only detected 2 or 4 or 9, and in total I have 15 users, and which can not be happening.
Then agradeceria I give them an idea of how to solve this problem.
I am Honduran and use a translator to write this message, thanks.