Giter VIP home page Giter VIP logo

spec-kit's Introduction

Spec-Kit

Simple library for analyzing hardware using common :inux CLI tools to pull hardware information to be saved as structured text files. These files are archived into zip files with the specified computer ID as the file name.

Running Spec-Kit

The main Spec-Kit "program" is a simple bash script which pulls spec information and archives the data by key for later review and analysis. The bash script must be run with root permissions to gain full access to hardware information.

The example command below shows the arguments used to run the bash script:

sudo sh <PATH_TO_REPO>/generated-specs.sh <PATH_TO_OUTPUT_FOLDER> <HARDWARE_KEY>

The end result is a zip file generated at <PATH_TO_OUTPUT_FOLDER>/<HARDWARE_KEY>.zip

Specification CLI Tools

The list of tools is based off a Red Hat System Administration article:

https://www.redhat.com/sysadmin/linux-system-info-commands

  • lscpu --json: CPU information
  • lsblk --json: Attached block (disk+) devices
  • lspci --vm: PCI interfaces
  • dmidecode -t memory: Memory component information
  • dmidecode -t bios: BIOS status
  • dmidecode -t system: System information

Creating USB Tool

The benefit of the Spec-Kit tool is limited if only utilized on a single machine, the true purpose of this tool is for use analyzing a large block of unknown computers. One method to achieve this is to build a bootable / persistable USB thumbdrive which can used to easily gather specs from many machines.

TODO

spec-kit's People

Contributors

rosspalmer avatar

Watchers

 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.