Giter Site home page Giter Site logo

taylorsanchez / nvme-cli Goto Github PK

View Code? Open in Web Editor NEW

This project forked from linux-nvme/nvme-cli

0.0 1.0 0.0 830 KB

NVMe management command line interface.

Home Page: http://nvmexpress.org

License: GNU General Public License v2.0

Makefile 2.19% Shell 6.08% C 91.72%

nvme-cli's Introduction

nvme-cli

NVM-Express user space tooling for Linux.

To install, run:

make && make install

If not sure how to use, find the top-level documentation with:

man nvme

Or find a short summary with:

nvme help

Distro Support

Fedora

nvme-cli is available in Fedora 23 and up. Install it with your favorite package manager. For example:

$ sudo dnf install nvme-cli

Ubuntu

nvme-cli is supported in the Universe package sources for Xenial for many architectures. For a complete list try running:

rmadison nvme-cli
 nvme-cli | 0.3-1 | xenial/universe | source, amd64, arm64, armhf, i386, powerpc, ppc64el, s390x

A Debian based package for nvme-cli is currently maintained as a Ubuntu PPA. Right now there is support for Trusty, Vivid and Wiley. To install nvme-cli using this approach please perform the following steps:

  1. Add the sbates PPA to your sources. One way to do this is to run
sudo add-apt-repository ppa:sbates
  1. Perform an update of your repository list:
sudo apt-get update
  1. Get nvme-cli!
sudo apt-get install nvme-cli
  1. Test the code.
sudo nvme list

In the case of no NVMe devices you will see

No NVMe devices detected.

otherwise you will see information about each NVMe device installed in the system.

AlpineLinux

nvme-cli is tested on AlpineLinux 3.3. Install it using:

# akp update && apk add nvme-cli nvme-cli-doc

the "list" command will not work unless you installed udev for some reason.
```
# nvme list
nvme-list: libudev not detected, install and rebuild.
```

if you just use the device you're after, it will work flawless.
```
# nvme smart-log /dev/nvme0

Smart Log for NVME device:/dev/nvme0 namespace-id:ffffffff critical_warning : 0 temperature : 49 C available_spare : 100% ```

openSUSE Tumbleweed

nvme-cli is available in openSUSE Tumbleweed. You can install it using zypper. For example:

$ sudo zypper install nvme-cli

Arch Linux

Install from AUR, e.g.:

$ yaourt -S nvme-cli-git

Other Distros

TBD

nvme-cli's People

Contributors

sbates130272 avatar leitao avatar samiwaheed avatar amluto avatar lakshminarayanand avatar matiasbjorling avatar wdoekes avatar braschul avatar florianheigl avatar zevweiss avatar unclejunebug avatar ajorg-aws avatar lsgunth avatar mhumpula avatar sanderboom avatar wxiong38 avatar

Watchers

Taylor Sanchez 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.