Community

Reset bandwith

Mi
Mikr #1

Hello guys, how can i reset the bandwith from a website?

jo
josephgodwinke #3

Welcome @Mikest Happy you are here

Run in ssh terminal

/usr/local/CyberCP/IncBackups/IncScheduler.py CalculateAndUpdateDiskUsage

What do you see on your dashboard now ?

Mi
Mikr #4

Hello @josephgodwinke

Permission denied, when i run that command

jo
josephgodwinke #5

Run as a sudo user or root

sudo /usr/local/CyberCP/bin/python /usr/local/CyberCP/IncBackups/IncScheduler.py checkDiskUsage
Mi
Mikr #6

sudo: /usr/local/CyberCP/IncBackups/IncScheduler.py: command not found

jo
josephgodwinke #7

Attempt

$ apt install sudo
$ usermod -aG sudo yourUSERNAME
Mi
Mikr #8

Sudo works…the command you gived me is not working like

Mi
Mikr #9

Other commands with sudo works

Mi
Mikr #16

Hello i runned that command, the bandwith is not reseted
The problem is thst the bandwith is not reseting at the beginning of a new month

jo
josephgodwinke #17

Did you restart lscpd

service lscpd restart

Mi
Mikr #18

Hello, bandwidth still not reseted to 0, i think thst command you gived to me worked for the space disk, but i need for the bandwith to reset it to 0 and start over counting. Thank you Joseph

Mi
Mikr #19

Is there a way to do it?

Mi
Mikr #20

Any tips how to solve it?

Mi
Mikr #21

Hello again, please help to reset de bandwith, its almost hit the limit

Mi
Mikr #23

Hello, that is for the disk space, not for the bandwidth

Sign in to reply