https://github.com/andrey-oss/sysinfo
Sysinfo - Simple utility for getting some information about system written on bash
https://github.com/andrey-oss/sysinfo
administration bash devops linux monitoring network shell thirdparty usage
Last synced: 6 days ago
JSON representation
Sysinfo - Simple utility for getting some information about system written on bash
- Host: GitHub
- URL: https://github.com/andrey-oss/sysinfo
- Owner: Andrey-oss
- License: mit
- Created: 2020-10-03T15:27:43.000Z (over 5 years ago)
- Default Branch: main
- Last Pushed: 2025-06-26T14:04:17.000Z (10 months ago)
- Last Synced: 2025-06-26T14:50:05.560Z (10 months ago)
- Topics: administration, bash, devops, linux, monitoring, network, shell, thirdparty, usage
- Language: Shell
- Homepage:
- Size: 1.95 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# System Information Script
A bash script that gathers and displays comprehensive system, network, and user information when internet connectivity is available.
## Features
- **System Information**:
- OS type and kernel version
- Hostname and architecture
- CPU model and RAM capacity
- Disk usage statistics
- Uptime information
- **Network Information**:
- Public IP address
- Forwarded IP (if any)
- Local IP address and interface
- Network gateway
- Internet connectivity check
- **User Information**:
- Current user details
- Active sessions count
- Logged-in users
- Shell information
- Home directory location
- **Visual Enhancements**:
- Color-coded output for better readability
- Clean section separation
- System load summary
## Prerequisites
- Bash shell
- `curl` installed (for IP address detection)
- Internet connectivity (for public IP detection)
- Standard GNU core utilities (awk, grep, etc.)
## Installation
No installation needed. Simply download the script and make it executable:
```bash
chmod +x sysinfo.sh
```
## Usage
```bash
./sysinfo.sh
```
## Or execute without saving
```bash
<(curl -s https://raw.githubusercontent.com/Andrey-oss/sysinfo/main/sysinfo.sh)
```
## Compatibility
### Tested on:
- Linux (Arch linux/Ubuntu)
- Android (Termux)
## 📜 License
MIT License. See LICENSE for details.
## Note:
This script uses external services (ifconfig.me) for IP detection. For privacy-sensitive environments, modify to use internal services only.