This project contains a Bash script that automates the collection of essential system information in Linux environments and saves it to a structured CSV file for reporting and auditing.
-
✅ Collects key system information:
- CPU Model
- Total RAM
- Disk Usage (Root Partition)
- OS Version
- System Serial Number
- Hostname & Timestamp
-
📝 Exports data to
system_inventory.csv -
🧠 Automatically creates headers if the file doesn’t exist
-
⚡ Lightweight and easily portable — no external dependencies
- Bash Scripting
- Linux Command-line Utilities:
lscpu,free,df,dmidecode,grep,awk,cut - CSV File Handling
- Clone this repository
git clone https://github.com/Kartik-IN/system-inventory-script.git cd system-inventory-script