Skip to main content

# SDBW CLI

sdbw is a command line interface for [Server Density](http://www.serverdensity.com) that shows and aggregates the bandwidth usage for a group or a device.

## Installation

$ pip install sd-bandwidth

## Usage

$ sdbw -h sdbw groups (update | view) sdbw devices (update | view) sdbw bandwidth (group <name> | -g <name>) [(-t <start> <end>)] sdbw bandwidth (device <name> | -d <name>) [(-t <start> <end>)] sdbw time (set (<start> <end>) | view) sdbw -h | –help sdbw -v | –version

## Authentication

The first time you use the application an authentication prompt will automatically show up. Input an [API token](https://apidocs.serverdensity.com/API_Basics/Getting_Started) and you’ll be good to go.

You need an authentication token What is your token: 12345678aoeuidhtn Token verified.

The token is saved in a .config.json in your home directory.

## Time

You can either set the time with the following command

sdbw time set YY-MM-MMTHH:MM:SSZ YY-MM-MMTHH:MM:SSZ

or using the flag -t. Either way, the time that was last input will be saved in the config file.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

sd-bandwidth-0.13.tar.gz (5.2 kB view details)

Uploaded Source

File details

Details for the file sd-bandwidth-0.13.tar.gz.

File metadata

  • Download URL: sd-bandwidth-0.13.tar.gz
  • Upload date:
  • Size: 5.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for sd-bandwidth-0.13.tar.gz
Algorithm Hash digest
SHA256 834f5b73b3fafbfea31a98c54e7767b56fbd081799514bd0c5a5281b5f9bee7d
MD5 38d8147828da50b1a9f546773528f04e
BLAKE2b-256 da3e16e96e98218d2cd9920075fe4a71c59be18f18af3016dbc5d9e278218bbf

See more details on using hashes here.

Release history Release notifications | RSS feed

0.18

0.17

1 file

0.16

1 file

0.15

1 file

0.14

1 file

This release

0.13 This release

1 file

0.12

1 file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page