Skip to main content

Command line interface to get bandwidth for a device and interface

Project description

# 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.

Project details


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.15.tar.gz (5.1 kB view details)

Uploaded Source

File details

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

File metadata

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

File hashes

Hashes for sd-bandwidth-0.15.tar.gz
Algorithm Hash digest
SHA256 bd33f3246eee776a77c7ae6e1a840d093145f0e9f4bdc8972371149b11ffda75
MD5 e080eced3ca2e07e428fc7d154d6f52f
BLAKE2b-256 3d7e7eeac9a6ad7c0f293b2053e1894c6dcd2d44be75e59256d9b2fa1534f0b1

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page