All Projects → yumaojun03 → dmidecode

yumaojun03 / dmidecode

Licence: MIT license
纯Golang实现的dmidecode, 零依赖, 支持Linux, Unix, Windows

Programming Languages

go
31211 projects - #10 most used programming language
Makefile
30231 projects

Projects that are alternatives of or similar to dmidecode

community
ROS 2 Hardware Acceleration Working Group community governance model & list of projects
Stars: ✭ 34 (-59.04%)
Mutual labels:  hardware
RedBot
Design files and firmware files for the RedBot robotics board.
Stars: ✭ 22 (-73.49%)
Mutual labels:  hardware
hardware
PCB designs for the Waterloo Aerial Robotics Group
Stars: ✭ 42 (-49.4%)
Mutual labels:  hardware
Tetra3d
Tetra3D is a 3D hybrid software/hardware renderer made for games written in Go with Ebitengine.
Stars: ✭ 271 (+226.51%)
Mutual labels:  hardware
wal
WAL enables programmable waveform analysis.
Stars: ✭ 36 (-56.63%)
Mutual labels:  hardware
stack-chan
A JavaScript-driven M5Stack-embedded super-kawaii robot.
Stars: ✭ 242 (+191.57%)
Mutual labels:  hardware
IOIO-OTG
Development Board for Android
Stars: ✭ 23 (-72.29%)
Mutual labels:  hardware
hmdm-android
Mobile Device Management (MDM) System for Android (mobile agent - launcher). Used for silent app installation and sending the info to the server. See more info on the website!
Stars: ✭ 74 (-10.84%)
Mutual labels:  device-management
djinn
Djinn Split Keyboard
Stars: ✭ 685 (+725.3%)
Mutual labels:  hardware
detect-features
Detect and report browser and hardware features.
Stars: ✭ 63 (-24.1%)
Mutual labels:  hardware
throwing-star-lan-tap
A passive tap for monitoring 10/100 Ethernet.
Stars: ✭ 88 (+6.02%)
Mutual labels:  hardware
simtrace2
Osmocom SIM card tracer, v2.0; mirror of https://gitea.osmocom.org/sim-card/simtrace2
Stars: ✭ 54 (-34.94%)
Mutual labels:  hardware
KRS
The Kria Robotics Stack (KRS) is a ROS 2 superset for industry, an integrated set of robot libraries and utilities to accelerate the development, maintenance and commercialization of industrial-grade robotic solutions while using adaptive computing.
Stars: ✭ 26 (-68.67%)
Mutual labels:  hardware
LabVIEW-OOP-Classes
Simple, clear, and organized object oriented approach to LabVIEW
Stars: ✭ 18 (-78.31%)
Mutual labels:  hardware
4004-SBC
Home-brew Intel 4004 Single Board Computer
Stars: ✭ 18 (-78.31%)
Mutual labels:  hardware
Arduino-OpenCV-Human-Follower
Face detector and follower using Arduino and OpenCV in Python
Stars: ✭ 30 (-63.86%)
Mutual labels:  hardware
V3 Hardware Design Files
Contains files created with Design Spark PCB Capture Software
Stars: ✭ 104 (+25.3%)
Mutual labels:  hardware
Mew
Hardware password manager
Stars: ✭ 21 (-74.7%)
Mutual labels:  hardware
smartcitizen-enclosures
Enclosures for the Smart Citizen
Stars: ✭ 14 (-83.13%)
Mutual labels:  hardware
openEMSstim
openEMSstim: open-hardware module to adjust the intensity of EMS/TENS stimulators.
Stars: ✭ 90 (+8.43%)
Mutual labels:  hardware

dmidecode

Build and Test codecov Go Report Card Release MIT License

纯Golang实现的dmidecode, 零依赖, 支持Linux, Unix, Windows

功能和命令行的dmidecode工具一样, 使用方式参考: example

开发过程相关小博客: 使用Golang重新实现dmidecode

安装方式

$ go get "github.com/yumaojun03/dmidecode"

使用样例

package main

import (
	"fmt"
	"os"

	"github.com/yumaojun03/dmidecode"
)

func checkError(err error) {
	if err != nil {
		fmt.Println(err)
		os.Exit(1)
	}
}

func main() {
	dmi, err := dmidecode.New()
	checkError(err)

	infos, err := dmi.BIOS()
	// 支持以下类型的解析
	// dmi.BaseBoard()
	// dmi.Chassis()
	// dmi.MemoryArray()
	// dmi.MemoryDevice()
	// dmi.Onboard()
	// dmi.PortConnector()
	// dmi.Processor()
	// dmi.ProcessorCache()
	// dmi.Slot()
	// dmi.System()
	checkError(err)

	for i := range infos {
		fmt.Println(infos[i])
	}
}

CLI 使用

$ go run cmd/main.go -d -t [bios, system, baseboard, chassis, onboard, port, processor, memory, slot]
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].