https://github.com/joshcap20/hardware_info
This C program retrieves and displays hardware information for your system, including CPU, memory, GPU, storage devices, and network interfaces.
https://github.com/joshcap20/hardware_info
Last synced: about 1 year ago
JSON representation
This C program retrieves and displays hardware information for your system, including CPU, memory, GPU, storage devices, and network interfaces.
- Host: GitHub
- URL: https://github.com/joshcap20/hardware_info
- Owner: JoshCap20
- Created: 2023-04-30T23:27:17.000Z (about 3 years ago)
- Default Branch: master
- Last Pushed: 2023-05-01T05:04:54.000Z (about 3 years ago)
- Last Synced: 2025-02-02T08:42:18.675Z (over 1 year ago)
- Language: C
- Homepage:
- Size: 9.77 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Hardware Information Tool
This C program retrieves and displays hardware information for your system, including CPU, memory, GPU, storage devices, and network interfaces. It works on Windows and Unix systems like macOS and Linux.
## Prerequisites
- GCC (GNU Compiler Collection) installed on your system.
## Compilation
To compile the program, run the following command:
make
This command will create an executable named `hardware_info`.
## Usage
To run the program, execute the compiled binary:
- On Unix-based systems (macOS and Linux):
./hardware_info
- On Windows:
hardware_info.exe
The program will display detailed hardware information for your system.
- CPU Information (Model, Clock Speed, # of Cores, # of Logical Processors, L2 Cache Size, L3 Cache Size)
- Motherboard Information (Make, Name, Serial Number)
- Physical Memory Information (Capacity, Speed)
- BIOS Information (Total Memory Size, Page Size)
- GPU Information (Model)
- Storage Devices
- Disk Partitions
- Network Interfaces
- System Uptime
## Cleaning up
To remove the compiled binary, run the following command:
make clean
## Note
Some commands may require administrative privileges. You may need to run the program as an administrator on Windows or use `sudo` on Unix-based systems.