This topic introduces the Bandwidth Throttling command usage:
- qs_bw_throttle --add --bandwidth --target --start_day --start_time --end_day --end_time [options]
- qs_bw_throttle --default_bandwidth --bandwidth --target [options]
- qs_bw_throttle --delete [options]
- rqs_bw_throttle --delete_all [options]
- qs_bw_throttle --sync_on_restart
- qs_bw_throttle --show [option]
- qs_bw_throttle --check_status [option]
- qs_bw_throttle --refresh
- qs_bw_throttle --help
Description
Adds a new bandwidth throttling schedule for the target QoreStor. You need to define the target QoreStor system, the bandwidth, schedule a throttling start day, start time, end day, and end time.
A newly added schedule must be between Sunday 00:01 and Saturday 23:59. Start day and start time must be ahead of scheduled end day and end time.
Syntax
qs_bw_throttle --add --bandwidth=<Bandwidth in Mbps>
--target=<IP address/Host name>
--start_day=<Day of the week (Sunday | Monday...)>
--start_time=<HH:MM>
--end_day=<Day of the week (Sunday | Monday...)>
--end_time=<HH:MM>
Where
--bandwidth Bandwidth in Mbps
--target IP address or host name of the target QoreStor system.
--start_day Start day for the schedule (Sunday | Monday...).
--start_time Start time for the schedule in HH:MM format.
--end_day End day for the schedule (Sunday | Monday...).
--end_time Start time for the schedule in HH:MM format.
Result
Successfully added schedule for IP: xxx.xxx.xxx.xxx
Description
Sets the default bandwidth for a target QoreStor system when no schedule bandwidth is available. Set the default bandwidth to 0 to disable it.
Syntax
qs_bw_throttle --default_bandwidth
--bandwidth=<Bandwidth in Mbps>
--target=<IP address/Host name>
Where
--bandwidth Bandwidth in Mbps
--target IP address or host name of the target QoreStor system.
Result
Successfully added default bandwidth of 10 Mbps for IP xxx.xxx.xxx.xxx.
Description
Deletes a bandwidth throttling schedule for a given QoreStor target. If all the arguments are not entered, it will display all available schedules for the user to select and remove one schedule.
Syntax
qs_bw_throttle --delete
[--target=<IP address/Host name>]
[--start_day=<Day of the week (Sunday | Monday...)>]
[--start_time=<HH:MM>]
Where
--target IP address or host name of the target QoreStor system.
--start_day Start day for the schedule (Sunday | Monday...).
--start_time Start time for the schedule in HH:MM format.
Result
Successfully deleted schedule for target ip: xxx.xxx.xxx.xxx