https://github.com/debek/osinfo-linux-system-summary
Show summary info about our linux system
https://github.com/debek/osinfo-linux-system-summary
Last synced: 8 months ago
JSON representation
Show summary info about our linux system
- Host: GitHub
- URL: https://github.com/debek/osinfo-linux-system-summary
- Owner: debek
- License: mit
- Created: 2020-02-16T18:28:15.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2024-01-12T14:08:19.000Z (over 2 years ago)
- Last Synced: 2025-10-13T19:08:34.767Z (8 months ago)
- Language: Shell
- Size: 5.86 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
### OUTDATED and no longer supported:
New and better project: https://github.com/debek/osmon
## osinfo
This script can be run manually or automatically after every reboot.
The most advantage is `USERS` and `USERS with su` section because we can see who is currently logged in into our Linux system.
Example of output:
```
- Hostname / IP.......: base / XXX.XXX.XX.XXX
- Release.............: CentOS Linux 7 (Core)
- Users...............: Currently 1 user(s) logged on: ddebny
- Users with su ......: Currently 0 user(s) using su -:
===========================================================================
- Current user........: ddebny
- Load................: 0.02, 0.04, 0.05
- Memory used.........: 2790 MB / 7821 MB (4233 MB) remaining
- Processes...........: 182 running
- System uptime.......: 14 days 7 hours 48 minutes 0 seconds
- Disk space /........: 14G of 39G (24G) remaining
```
### How install:
`export PATH=$PATH:/opt/bin`
Copy script to /opt/bin/osinfo
`chmod +x /opt/bin/osinfo`
Add this line to the file:
`vim /root/bash_profile`
```
osinfo
```