Git Product home page Git Product logo

showtools's Introduction

showtools

This tool displays information about disks or network cards in a nice ASCII table format on the command line.

  • All network interfaces and some of their properties
  • All storage devices (hdd/sdd) and some of their properties (SMART)

Examples:

Show information about network interfaces:

network

Show SMART information about disks:

  • PS = Pending Sector
  • RS = Reallocated Sector
  • RSE = Reallocated Sector Event

showdisk01

Show /dev/disk/by-* information:

showdisk02

Usage:

root@nano:~/gold/showtools# ./show
usage: show [-h] [-E] [-g] [-a] [-m] [-S] [-D] [-e] [-s] [-f] [-c] [-p] [-w]
            [-o] [-t] [-H] [-P] [-r] [-R] [-C] [-u] [-n] [-l] [-4] [-6] [-M]
            [-T] [-d] [-F]
            {disk,net}

Show detailed disk|net device information in ASCII table format

positional arguments:
  {disk,net}            Show disk information

optional arguments:
  -h, --help            show this help message and exit

Generic settings:
  Options that apply for all device types.

  -E, --transparent     Disable table formatting (no lines)
  -g, --noheader        Disable table header (in transparent mode)

Storage (generic):
  Generic options for storage devices

  -a, --all-opts        show all information
  -m, --model           device model
  -S, --serial          device serial number
  -D, --state           drive power status (active/standby)
  -e, --apm             Advanced Power Mode
  -s, --size            device size in Gigabytes
  -f, --firmware        device firmware version
  -c, --controller      controller to which device is connected
  -p, --pcipath         /dev/disk/by-path/ ID of the device
  -w, --wwn             device World Wide Name
  -o, --scsi            /dev/by-id/scsi

Storage (SMART):
  Options based on SMART values of storage devices

  -t, --temp            temperature in Celcius
  -H, --hours           power on hours
  -P, --pending         pendinag sector count
  -r, --reallocated     reallocated sector count
  -R, --reallocatedevent
                        reallocated sector event count
  -C, --crc             CRC error
  -u, --startstop       spin up/down
  -n, --park            head parking

Network:
  Available options for `network devices

  -l, --link            network card link status
  -4, --ipv4            IPv4 address
  -6, --ipv6            IPv6 address
  -M, --mac             hardware / MAC address
  -T, --show-type       network card type
  -d, --driver          driver module
  -F, --firmware-version
                        firmware version

showtools's People

Contributors

louwrentius avatar vesrah avatar

Watchers

James Cloos avatar Seth Horsley avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.