Limiting bandwidth per second / minute / hour

kjg

Well-Known Member
Mar 2, 2004
158
3
168
The standard cpanel way of limiting bandwidth is per month making it possible for an account to use all its allowed bandwidth at once.
Is there a way to limit bandwidth on a time basis such as bytes/second bytes/hour or similar?

Can't see anything in documentation except for info about mod_bw being updated to 0.92 2011-03-07 plus a reference to /scripts/setbwlimit --help in BandwidthMod < AllDocumentation < TWiki

/scripts/setbwlimit --help say:

"Add a bandwidth limit to a vhost.
/scripts/setbwlimit --help (this screen)
/scripts/setbwlimit --domain=domain-you-want-to-limit.com --limit=1024000
'limit' is bytes/sec you want to setup (hint 1024 = 1kb)"

Tried this, but it seems it is not working

Do I need to do anything more to get it to work?
Are there any place in WHM I can set this for a package or an account?

Any suggestions/comments would be appreciated.
 

cPanelTristan

Quality Assurance Analyst
Staff member
Oct 2, 2010
7,607
38
248
somewhere over the rainbow
cPanel Access Level
Root Administrator