Contact Us

If you still have questions or prefer to get help directly from an agent, please submit a request.
We’ll get back to you as soon as possible.

Please fill out the contact form below and we will reply as soon as possible.

  • Contact Us
  • Home
  • API, CLI, and SDK Documentation
  • Command-line Interface

CLI: Bandwidth Throttling

Learn how to use the CLI to manage upload and download bandwidth.

Written by Andrea Harvey

Updated at April 28th, 2025

Contact Us

If you still have questions or prefer to get help directly from an agent, please submit a request.
We’ll get back to you as soon as possible.

Please fill out the contact form below and we will reply as soon as possible.

  • Insights
    Prebuilt Insights Custom Insights
  • Content
  • Accounts
  • Activity Log
  • Content Scans
  • Migrations
    Migration Jobs Migration Reports Maps Flagged Items Migration Tools
  • Connections
    Supported Platform Connections Creating Connections Connection Maintenance Connection Pools
  • Entity Types
    DryvIQ Available Entity Types Custom Entity Types Entity Type Maintenance
  • Action Sets
    Creating Action Sets Action Sets Maintenance
  • Settings
    License Performance Notifications Extensions Entity Types Settings Display Settings Configuration
  • API, CLI, and SDK Documentation
    REST API Documentation Command-line Interface SDK Development
  • POC Offering
  • Release Notes
+ More

Table of Contents

Overview Parameters List Throttling Configuration Example Result Updating Throttling Configuration Setting Upload Throttling Example 1 Example 2 Example 3 Example 4 Setting Download Throttling Example 1 Example 2 Example 3 Example 4 Sample JSON File Used for Update

The CLI references “skysync.” This is expected.

 

Overview

Bandwidth throttling allows the user to limit how much upload or download bandwidth DryvIQ's jobs use. Throttling can be set up to take effect at certain times of day.

Parameters

Parameter Description

upload

u

Sets the upload bandwidth throttling

download

d

Sets the download bandwidth throttling

List Throttling Configuration

node bin/skysync.js performance bandwidth_throttle show --json

Example Result

[
  {
    "upload": {
      "disabled": false,
      "bytes_per_second": 504000,
      "window": [
        {
          "bytes_per_second": 222444,
          "days": [
            "monday",
            "tuesday",
            "friday",
            "saturday"
          ],
          "start_time": {
            "hr": 2,
            "min": 2,
            "sec": 0,
            "ms": 0
          },
          "end_time": {
            "hr": 12,
            "min": 13,
            "sec": 0,
            "ms": 0
          }
        }
      ]
    },
    "download": {
      "disabled": true,
      "bytes_per_second": 151316851,
      "window": [
        {
          "bytes_per_second": 2000,
          "days": [
            "monday"
          ],
          "start_time": {
            "hr": 7,
            "min": 12,
            "sec": 0,
            "ms": 0
          },
          "end_time": {
            "hr": 16,
            "min": 36,
            "sec": 0,
            "ms": 0
          }
        }
      ]
    }
  }
]

Updating Throttling Configuration

If the disabled flag on the upload or download is set to true, both configurations will be ignored.

Setting Upload Throttling

Example 1

node bin/skysync.js performance bandwidth_throttle update --upload '{ "bytes_per_second": 504000, "disabled": false, "window": [ { "bytes_per_second": 222444, "days" : ["Monday", "Tuesday", "Friday", "Saturday"], "start_time": { "hr": 2, "min": 2, "sec": 0 },"end_time": { "hr": 12, "min": 12, "sec": 0 } }]}'

Example 2

node bin/skysync.js performance bandwidth_throttle update --u '{ "bytes_per_second": 504000, "disabled": false, "window": [ { "bytes_per_second": 222444, "days" : ["Monday", "Tuesday", "Friday", "Saturday"], "start_time": { "hr": 2, "min": 2, "sec": 0 },"end_time": { "hr": 12, "min": 12, "sec": 0 } }]}'

Example 3

node bin/skysync.js performance bandwidth_throttle update --upload-file {name_of_file}.json

Example 4

node bin/skysync.js performance bandwidth_throttle update --uf {name_of_file}.json

Setting Download Throttling

Example 1

node bin/skysync.js performance bandwidth_throttle update --download '{ "bytes_per_second": 504000, "disabled": false, "window": [ { "bytes_per_second": 222444, "days" : ["Monday", "Tuesday", "Friday", "Saturday"], "start_time": { "hr": 2, "min": 2, "sec": 0 },"end_time": { "hr": 12, "min": 12, "sec": 0 } }]}'

Example 2

node bin/skysync.js performance bandwidth_throttle update --d '{ "bytes_per_second": 504000, "disabled": false, "window": [ { "bytes_per_second": 222444, "days" : ["Monday", "Tuesday", "Friday", "Saturday"], "start_time": { "hr": 2, "min": 2, "sec": 0 },"end_time": { "hr": 12, "min": 12, "sec": 0 } }]}'

Example 3

node bin/skysync.js performance bandwidth_throttle update --download-file {name_of_file}.json

Example 4

node bin/skysync.js performance bandwidth_throttle update --df {name_of_file}.json

Sample JSON File Used for Update

{
    "bytes_per_second": 151316851,
    "disabled": false,
    "window": [
        {
            "bytes_per_second": 0,
            "days": ["monday"],
            "start_time": {
                "hr": 7,
                "min": 12
            },
            "end_time": {
                "hr": 16,
                "min": 36
            }
        },
        {
            "bytes_per_second": 0,
            "days": ["wednesday", "friday"],
            "start_time": {
                "hr": 8,
                "min": 52
            },
            "end_time": {
                "hr": 21,
                "min": 48
            }
        },
        {
            "bytes_per_second": 6000,
            "days": ["tuesday", "thursday"],
            "start_time": {
                "hr": 8,
                "min": 52
            },
            "end_time": {
                "hr": 21,
                "min": 48
            }
        }
    ]
}

When bandwidth throttling is set through the CLI, the changes will be reflected on the Performance page in the Settings once the page is refreshed.

 

 

 

throttle command-line

Was this article helpful?

Yes
No
Give feedback about this article

Related Articles

  • DryvIQ CLI for Migrations
  • CLI: Authentication
  • CLI: Jobs
  • CLI: Concurrent Jobs

Copyright 2025 – DryvIQ, Inc.

Knowledge Base Software powered by Helpjuice

Expand