Last active
August 29, 2015 14:19
-
-
Save marshyski/48f1b3de98217edf1951 to your computer and use it in GitHub Desktop.
System Info RHEL/CentOS 7
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
env && echo | |
runlevel && echo | |
hostname -f && echo | |
cat /etc/hosts && echo | |
systemctl | grep active | grep -v 'waiting\|exited\|waiting\|abandoned' && echo | |
iptables -L && echo | |
firewall-cmd --state && echo | |
netstat -tlpn && echo | |
lsmod | sort && echo | |
sysctl -a | sort && echo | |
sestatus && echo | |
free -m && echo | |
rpm -qa | sort && echo | |
service --status-all && echo | |
chkconfig --list && echo | |
puppet config print && echo |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment