Skip to content

debek/osinfo-linux-system-summary

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

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

About

Show summary info about our linux system

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages