System Information & RAID Utility
This utility is designed to gather and display system information, RAID configuration, and IPMI (Intelligent Platform Management Interface) details in an efficient and user-friendly manner.
Features
- Gather RAID information and configurations.
- Retrieve and display detailed RAID controller and drive information.
- Collect IPMI information, including IP, MAC address, user list, and more.
Cross-platform support with specific handling for Windows systems.
Prerequisites
Before you run the utility, ensure that you have the following installed on your system:
storcliorstorcli64(for RAID operations)ipmicfgor equivalent IPMI tool supported by your hardware.Getting Started
To get started with this tool, clone the repository to your local machine:
git clone <https://github.com/your-username/system-info-raid-utility.git>
cd system-info-raid-utility
Usage
To run the utility and display the system information, use the following command:
go run main.go
Ensure that the storcli and ipmi tools are in your system's PATH or modify the utility to point to their locations.下载
https://d2.sddts.cn/d/download/jingan/dmidecode/jingan_linux_amd64.tar.gz
https://d2.sddts.cn/d/download/jingan/dmidecode/jingan_dmidecode_windows_amd64.exe
效果




几颗cpu、型号是啥、核心数、线程数是啥。

内存条有几个槽,插了几个,型号是啥、SN是啥,容量多大、位置在哪儿。

通过dmi获取信息后,可以在不拆开机箱的情况下 ,知道pci插槽有几个,是啥样的。
