Related Page
Check Disk Size | mount df -h | |
Check NFS | mount df -h | |
Check File System | mount | ext3, ext4 |
Check Memory Size | free -m | |
Check Swap Size | free -m | |
Check CPU Sockets | cat /proc/cpuinfo | grep "physical id" |sort | uniq | wc -l | |
Check Network Interfaces | ifconfig -a |
Check OS Version | cat /etc/redhat-release cat /etc/issue | |
Check LANG | cat /etc/sysconfig/i18n echo $LANG | |
Check Time Zone | date | |
Check DNS | host XXXX #internal host xx.xx.xx.xx host www.google.com | |
Check NTP | ntpq -p | grep ^server /etc/ntp.conf |
Check SNMP | snmpwalk -v 2c localhost -c XXXX sysname | |
Check Cron | grep "" /var/spool/cron/* |
Check User | ls /home cat /etc/passwd | |
Check LDAP | getent passwd getent group | |
Check password | ssh localhost cat /etc/shadow | |
Check sudoers | cat /etc/sudoers |grep -Ev "^#|^$" sudo ls | su - ; sudo ls |
Check SSH | cat /etc/ssh/sshd_config |grep -i root | PermitRootLogin no |
Check IP | ip addr |grep inet | |
Check Routing | netstat -rn | |
GW | ping GW ping 192.168.0.1 | |
Check Bonding | grep -Ei "speed|interface|status|active" /proc/net/bonding/bond* |
Check Service | chkconfig --list | |
Check mail | netstat -an |grep :25 |