8000 GitHub - azerella/lshw: 💻 Return the hardware configuration of the machine
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

azerella/lshw

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

lshw - List hardware

💻 Return the hardware configuration of the machine, inspired by lshw.

I'm aspiring to make open-source my full-time work. If you like the work that I do, please consider supporting me.

Coffee PayPal

Install

npm i -g lshw

Usage

This project lacks many of the features from the original lshw tool. Additional issues arise when the Node.js os library doesn't provide low-level support for things like PCI devices or motherboard bus information.

CLI

$ lshw

# Usage: lshw [ options ] [ --version | --html | --json]
#                 lshw
# Options:
#         -V, --version           Output lshw version
#         -html, --html           Output hw configuration as HTML
#         -json, --json           Output hw configuration as JSON

Yields:

MY-PC
          Width: x64
        *-core
          Description: Motherboard
            *-memory
                Description: System memory
                Size: 8.00 GB
            *-cpu
                Product: Intel(R) Core(TM) i7-5557U CPU @ 3.10GHz
                Vendor: Intel(R)
                Width: x64
        *-network
	  Description: Network interface
          Logical Name: lo0
          Serial: 00:00:00:00:00:00
          Configuration: ip=127.0.0.1
...

Contribute

Don't be scared raise an issue or a pull request! Any contributions, no matter how big or small will land your picture here.

Adam Zerella

About

💻 Return the hardware configuration of the machine

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published
0