I am running a 8 core vps with 16gigs of ram. About 4 weeks ago all of the websites I host went down due to the server running out of memory (I'm assuming). The rent a sys admin company I pay for server support told me this was due to DDOS attacks on various cpanel accounts so I suspended them to see if they were the cause of the server crash. The next day roughly at about 24 hours and 20 minutes of uptime all websites went offline but I could still access whm / cpanel. After I initiate a restart everything comes back online. This has been a daily ritual now in order to free up memory. I started using a service called bit ninja that records my servers resource usage and bans Malicious traffic by ip. This is when I noticed the memory increasing through out the day. When I use top normally mysql is at the top of the list.
++ Output of top about half way to a crash
Code: Select all
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
3173 mysql 20 0 2441m 467m 9688 S 109.6 2.9 19:10.61 mysqld
2874 root 20 0 149m 21m 7276 S 3.7 0.1 10:50.66 bitninja
3456 nobody 20 0 94584 19m 6456 S 0.7 0.1 0:00.32 httpd
5068 cpanelco 20 0 13748 6692 5364 S 0.7 0.0 2:27.65 p0f
7 root 20 0 0 0 0 S 0.3 0.0 0:19.81 rcu_sched
419 root 20 0 0 0 0 S 0.3 0.0 0:00.32 kworker/6:1
1543 root 0 -20 0 0 0 S 0.3 0.0 0:03.03 kworker/0:1H
31102 nobody 20 0 99664 24m 6456 S 0.3 0.2 0:00.67 httpd
1 root 20 0 19420 2380 2084 S 0.0 0.0 0:01.73 init
2 root 20 0 0 0 0 S 0.0 0.0 0:00.00 kthreadd
3 root 20 0 0 0 0 S 0.0 0.0 0:10.17 ksoftirqd/0
5 root 0 -20 0 0 0 S 0.0 0.0 0:00.00 kworker/0:0H
6 root 20 0 0 0 0 S 0.0 0.0 0:01.29 kworker/u16:0
8 root 20 0 0 0 0 S 0.0 0.0 0:00.00 rcu_bh
9 root RT 0 0 0 0 S 0.0 0.0 0:00.47 migration/0
10 root RT 0 0 0 0 S 0.0 0.0 0:00.40 migration/1
11 root 20 0 0 0 0 S 0.0 0.0 0:00.49 ksoftirqd/1
++ Information for general problems. I used the handy getinfo.sh script to output my system info and obscured hostnames and ips.
Code: Select all
== BEGIN uname -rmi ==
4.1.0-x86_64-linode59 x86_64 x86_64
== END uname -rmi ==
== BEGIN rpm -qa \*-release\* ==
epel-release-6-8.noarch
centos-release-6-6.el6.centos.12.2.x86_64
== END rpm -qa \*-release\* ==
== BEGIN cat /etc/redhat-release ==
CentOS release 6.6 (Final)
== END cat /etc/redhat-release ==
== BEGIN getenforce ==
Disabled
== END getenforce ==
== BEGIN free -m ==
total used free shared buffers cached
Mem: 16046 7996 8049 0 380 6093
-/+ buffers/cache: 1522 14523
Swap: 255 0 255
== END free -m ==
== BEGIN rpm -qa yum\* rpm-\* python | sort ==
python-2.6.6-52.el6.x86_64
rpm-libs-4.8.0-38.el6_6.x86_64
rpm-python-4.8.0-38.el6_6.x86_64
yum-3.2.29-60.el6.centos.noarch
yum-metadata-parser-1.1.2-16.el6.x86_64
yum-plugin-fastestmirror-1.1.30-30.el6.noarch
== END rpm -qa yum\* rpm-\* python | sort ==
== BEGIN ls /etc/yum.repos.d ==
BitNinja.repo
CentOS-Base.repo
CentOS-Base.repo.rpmnew
CentOS-Debuginfo.repo
CentOS-fasttrack.repo
CentOS-Media.repo
CentOS-Vault.repo
dag.repo
epel.repo
epel-testing.repo
== END ls /etc/yum.repos.d ==
== BEGIN cat /etc/yum.conf ==
[main]
exclude=bind-chroot courier* dovecot* exim* filesystem httpd* mod_ssl* mydns* mysql* nsd* php* proftpd* pure-ftpd* spamassassin* squirrelmail*
tolerant=1
errorlevel=1
cachedir=/var/cache/yum/$basearch/$releasever
keepcache=0
debuglevel=2
logfile=/var/log/yum.log
exactarch=1
obsoletes=1
gpgcheck=1
plugins=1
installonly_limit=5
bugtracker_url=http://bugs.centos.org/set_project.php?project_id=16&ref=http://bugs.centos.org/bug_report_page.php?category=yum
distroverpkg=centos-release
# This is the default, if you make this bigger yum won't see if the metadata
# is newer on the remote and so you'll "gain" the bandwidth of not having to
# download the new metadata and "pay" for it by yum not having correct
# information.
# It is esp. important, to have correct metadata, for distributions like
# Fedora which don't keep old packages around. If you don't like this checking
# interupting your command line usage, it's much better to have something
# manually check the metadata once an hour (yum-updatesd will do this).
# metadata_expire=90m
# PUT YOUR REPOS HERE OR IN separate files named file.repo
# in /etc/yum.repos.d
== END cat /etc/yum.conf ==
== BEGIN yum repolist all ==
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* base: mirrors.linode.com
* epel: www.gtlib.gatech.edu
* extras: mirrors.linode.com
* updates: mirrors.linode.com
repo id repo name status
C6.0-base CentOS-6.0 - Base disabled
C6.0-centosplus CentOS-6.0 - CentOSPlus disabled
C6.0-contrib CentOS-6.0 - Contrib disabled
C6.0-extras CentOS-6.0 - Extras disabled
C6.0-updates CentOS-6.0 - Updates disabled
C6.1-base CentOS-6.1 - Base disabled
C6.1-centosplus CentOS-6.1 - CentOSPlus disabled
C6.1-contrib CentOS-6.1 - Contrib disabled
C6.1-extras CentOS-6.1 - Extras disabled
C6.1-updates CentOS-6.1 - Updates disabled
C6.2-base CentOS-6.2 - Base disabled
C6.2-centosplus CentOS-6.2 - CentOSPlus disabled
C6.2-contrib CentOS-6.2 - Contrib disabled
C6.2-extras CentOS-6.2 - Extras disabled
C6.2-updates CentOS-6.2 - Updates disabled
C6.3-base CentOS-6.3 - Base disabled
C6.3-centosplus CentOS-6.3 - CentOSPlus disabled
C6.3-contrib CentOS-6.3 - Contrib disabled
C6.3-extras CentOS-6.3 - Extras disabled
C6.3-updates CentOS-6.3 - Updates disabled
C6.4-base CentOS-6.4 - Base disabled
C6.4-centosplus CentOS-6.4 - CentOSPlus disabled
C6.4-contrib CentOS-6.4 - Contrib disabled
C6.4-extras CentOS-6.4 - Extras disabled
C6.4-updates CentOS-6.4 - Updates disabled
C6.5-base CentOS-6.5 - Base disabled
C6.5-centosplus CentOS-6.5 - CentOSPlus disabled
C6.5-contrib CentOS-6.5 - Contrib disabled
C6.5-extras CentOS-6.5 - Extras disabled
C6.5-updates CentOS-6.5 - Updates disabled
base CentOS-6 - Base enabled: 6,456+62
base-debuginfo CentOS-6 - Debuginfo disabled
bitninja BitNinja Server Security enabled: 2
c6-media CentOS-6 - Media disabled
centosplus CentOS-6 - Plus disabled
contrib CentOS-6 - Contrib disabled
dag DAG RPM Repository enabled: 4,677+41
epel Extra Packages for Enterprise Linux 6 enabled: 11,062+688
epel-debuginfo Extra Packages for Enterprise Linux 6 disabled
epel-source Extra Packages for Enterprise Linux 6 disabled
epel-testing Extra Packages for Enterprise Linux 6 disabled
epel-testing-debuginfo Extra Packages for Enterprise Linux 6 disabled
epel-testing-source Extra Packages for Enterprise Linux 6 disabled
extras CentOS-6 - Extras enabled: 38
fasttrack CentOS-6 - fasttrack disabled
updates CentOS-6 - Updates enabled: 1,289+81
repolist: 23,524
== END yum repolist all ==
== BEGIN egrep 'include|exclude' /etc/yum.repos.d/*.repo ==
== END egrep 'include|exclude' /etc/yum.repos.d/*.repo ==
== BEGIN sed -n -e "/^\[/h; /priority *=/{ G; s/\n/ /; s/ity=/ity = /; p }" /etc/yum.repos.d/*.repo | sort -k3n ==
== END sed -n -e "/^\[/h; /priority *=/{ G; s/\n/ /; s/ity=/ity = /; p }" /etc/yum.repos.d/*.repo | sort -k3n ==
== BEGIN cat /etc/fstab ==
#
# /etc/fstab
# Created by anaconda on Sun Mar 9 13:40:48 2014
#
# Accessible filesystems, by reference, are maintained under '/dev/disk'
# See man pages fstab(5), findfs(8), mount(8) and/or blkid(8) for more info
#
/dev/xvda / ext4 noatime,errors=remount-ro,usrjquota=quota.user,jqfmt=vfsv0 0 1
/dev/xvdb none swap sw 0 0
tmpfs /dev/shm tmpfs nodev,nosuid,noexec,mode=1777 0 0
devpts /dev/pts devpts gid=5,mode=620 0 0
sysfs /sys sysfs defaults 0 0
/proc /proc proc defaults 0 0
== END cat /etc/fstab ==
== BEGIN df -h ==
Filesystem Size Used Avail Use% Mounted on
/dev/xvda 378G 260G 114G 70% /
tmpfs 7.9G 108K 7.9G 1% /dev/shm
== END df -h ==
== BEGIN fdisk -lu ==
Disk /dev/xvda: 411.4 GB, 411356364800 bytes
255 heads, 63 sectors/track, 50011 cylinders, total 803430400 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk identifier: 0x00000000
Disk /dev/xvdb: 272 MB, 272629760 bytes
255 heads, 63 sectors/track, 33 cylinders, total 532480 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk identifier: 0x00000000
== END fdisk -lu ==
== BEGIN blkid ==
/dev/xvda: UUID="01fd60e8-9504-4990-9c0f-e652083c1efd" TYPE="ext4"
/dev/xvdb: UUID="0841d0f4-1b6e-4f9a-93df-3080c5d1f840" TYPE="swap"
== END blkid ==
== BEGIN cat /proc/mdstat ==
Personalities : [linear] [raid0] [raid1] [raid10] [raid6] [raid5] [raid4] [multipath]
unused devices: <none>
== END cat /proc/mdstat ==
== Warning: pvs is not installed ==
== Warning: vgs is not installed ==
== Warning: lvs is not installed ==
== BEGIN rpm -qa kernel\* | sort ==
kernel-headers-2.6.32-504.30.3.el6.x86_64
== END rpm -qa kernel\* | sort ==
== Warning: lspci is not installed ==
== Warning: lsusb is not installed ==
== BEGIN rpm -qa kmod\* kmdl\* ==
== END rpm -qa kmod\* kmdl\* ==
== BEGIN ifconfig -a ==
dummy0 Link encap:Ethernet HWaddr 0E:D3:01:EE:1B:CC
BROADCAST NOARP MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
eth0 Link encap:Ethernet HWaddr F2:3C:91:50:3D:24
inet addr:###.##.##.### Bcast:###.##.##.### Mask:###.##.##.###
inet6 addr: 2600:3c02::f03c:91ff:fe50:3d24/64 Scope:Global
inet6 addr: fe80::f03c:91ff:fe50:3d24/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:1971705 errors:0 dropped:0 overruns:0 frame:0
TX packets:1838679 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:244322347 (233.0 MiB) TX bytes:4608673974 (4.2 GiB)
eth0:cp1 Link encap:Ethernet HWaddr F2:3C:91:50:3D:24
inet addr:###.##.##.### Bcast:###.##.##.### Mask:###.##.##.###
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
eth0:cp2 Link encap:Ethernet HWaddr F2:3C:91:50:3D:24
inet addr:###.##.##.### Bcast:###.##.##.### Mask:###.##.##.###
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
eth0:cp3 Link encap:Ethernet HWaddr F2:3C:91:50:3D:24
inet addr:###.##.##.### Bcast:###.##.##.### Mask:###.##.##.###
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
eth0:cp4 Link encap:Ethernet HWaddr F2:3C:91:50:3D:24
inet addr:66.228.57.211 Bcast:66.228.57.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
eth0:cp5 Link encap:Ethernet HWaddr F2:3C:91:50:3D:24
inet addr:###.##.##.### Bcast:###.##.##.### Mask:###.##.##.###
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
eth0:cp6 Link encap:Ethernet HWaddr F2:3C:91:50:3D:24
inet addr:###.##.##.### Bcast:###.##.##.### Mask:###.##.##.###
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
eth0:cp7 Link encap:Ethernet HWaddr F2:3C:91:50:3D:24
inet addr:###.##.##.### Bcast:###.##.##.### Mask:###.##.##.###
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
eth0:cp8 Link encap:Ethernet HWaddr F2:3C:91:50:3D:24
inet addr:###.##.##.### Bcast:###.##.##.### Mask:###.##.##.###
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
eth0:cp9 Link encap:Ethernet HWaddr F2:3C:91:50:3D:24
inet addr:###.##.##.### Bcast:###.##.##.### Mask:###.##.##.###
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
gre0 Link encap:UNSPEC HWaddr 00-00-00-00-FF-FF-E0-79-00-00-00-00-00-00-00-00
NOARP MTU:1476 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
gretap0 Link encap:Ethernet HWaddr 00:00:00:00:00:00
BROADCAST MULTICAST MTU:1462 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
ip_vti0 Link encap:IPIP Tunnel HWaddr
NOARP MTU:1428 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
ip6_vti0 Link encap:UNSPEC HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00
NOARP MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
ip6gre0 Link encap:UNSPEC HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00
NOARP MTU:1448 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
ip6tnl0 Link encap:UNSPEC HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00
NOARP MTU:1452 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
lo Link encap:Local Loopback
inet addr:###.##.##.### Mask:###.##.##.###
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:65536 Metric:1
RX packets:57211 errors:0 dropped:0 overruns:0 frame:0
TX packets:57211 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:15674990 (14.9 MiB) TX bytes:15674990 (14.9 MiB)
sit0 Link encap:IPv6-in-IPv4
NOARP MTU:1480 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
teql0 Link encap:UNSPEC HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00
NOARP MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
tunl0 Link encap:IPIP Tunnel HWaddr
NOARP MTU:1480 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
== END ifconfig -a ==
== Warning: brctl is not installed ==
== BEGIN route -n ==
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
0.0.0.0 ###.##.##.### 0.0.0.0 UG 0 0 0 eth0
###.##.##.### 0.0.0.0 255.255.255.0 U 0 0 0 eth0
###.##.##.### 0.0.0.0 255.255.255.255 UH 0 0 0 eth0
###.##.##.### 0.0.0.0 255.255.255.0 U 0 0 0 eth0
###.##.##.### 0.0.0.0 255.255.255.255 UH 0 0 0 eth0
###.##.##.### 0.0.0.0 255.255.255.0 U 0 0 0 eth0
###.##.##.### 0.0.0.0 255.255.255.255 UH 0 0 0 eth0
###.##.##.### 0.0.0.0 255.255.255.0 U 0 0 0 eth0
###.##.##.### 0.0.0.0 255.255.255.255 UH 0 0 0 eth0
###.##.##.### 0.0.0.0 255.255.255.0 U 0 0 0 eth0
###.##.##.### 0.0.0.0 255.255.255.255 UH 0 0 0 eth0
###.##.##.### 0.0.0.0 255.255.255.0 U 0 0 0 eth0
###.##.##.### 0.0.0.0 255.255.255.255 UH 0 0 0 eth0
###.##.##.### 0.0.0.0 255.255.255.0 U 0 0 0 eth0
###.##.##.### 0.0.0.0 255.255.255.255 UH 0 0 0 eth0
###.##.##.### 0.0.0.0 255.255.255.0 U 0 0 0 eth0
###.##.##.### 0.0.0.0 255.255.255.255 UH 0 0 0 eth0
###.##.##.### 0.0.0.0 255.255.255.0 U 0 0 0 eth0
###.##.##.### 0.0.0.0 255.255.255.255 UH 0 0 0 eth0
###.##.##.### 0.0.0.0 255.255.0.0 U 1003 0 0 eth0
###.##.##.### 0.0.0.0 255.255.255.0 U 0 0 0 eth0
== END route -n ==
== BEGIN sysctl -a | grep .rp_filter ==
error: "Input/output error" reading key "net.ipv6.conf.all.stable_secret"
error: "Input/output error" reading key "net.ipv6.conf.default.stable_secret"
error: "Input/output error" reading key "net.ipv6.conf.dummy0.stable_secret"
error: "Input/output error" reading key "net.ipv6.conf.eth0.stable_secret"
error: "Input/output error" reading key "net.ipv6.conf.gre0.stable_secret"
error: "Input/output error" reading key "net.ipv6.conf.gretap0.stable_secret"
error: "Input/output error" reading key "net.ipv6.conf.ip6_vti0.stable_secret"
error: "Input/output error" reading key "net.ipv6.conf.ip6gre0.stable_secret"
error: "Input/output error" reading key "net.ipv6.conf.ip6tnl0.stable_secret"
error: "Input/output error" reading key "net.ipv6.conf.ip_vti0.stable_secret"
error: "Input/output error" reading key "net.ipv6.conf.lo.stable_secret"
error: "Input/output error" reading key "net.ipv6.conf.sit0.stable_secret"
error: "Input/output error" reading key "net.ipv6.conf.teql0.stable_secret"
error: "Input/output error" reading key "net.ipv6.conf.tunl0.stable_secret"
net.ipv4.conf.all.arp_filter = 0
net.ipv4.conf.all.rp_filter = 0
net.ipv4.conf.default.arp_filter = 0
net.ipv4.conf.default.rp_filter = 1
net.ipv4.conf.dummy0.arp_filter = 0
net.ipv4.conf.dummy0.rp_filter = 1
net.ipv4.conf.eth0.arp_filter = 0
net.ipv4.conf.eth0.rp_filter = 1
net.ipv4.conf.gre0.arp_filter = 0
net.ipv4.conf.gre0.rp_filter = 1
net.ipv4.conf.gretap0.arp_filter = 0
net.ipv4.conf.gretap0.rp_filter = 1
net.ipv4.conf.ip6_vti0.arp_filter = 0
net.ipv4.conf.ip6_vti0.rp_filter = 1
net.ipv4.conf.ip6gre0.arp_filter = 0
net.ipv4.conf.ip6gre0.rp_filter = 1
net.ipv4.conf.ip6tnl0.arp_filter = 0
net.ipv4.conf.ip6tnl0.rp_filter = 1
net.ipv4.conf.ip_vti0.arp_filter = 0
net.ipv4.conf.ip_vti0.rp_filter = 1
net.ipv4.conf.lo.arp_filter = 0
net.ipv4.conf.lo.rp_filter = 1
net.ipv4.conf.sit0.arp_filter = 0
net.ipv4.conf.sit0.rp_filter = 1
net.ipv4.conf.teql0.arp_filter = 0
net.ipv4.conf.teql0.rp_filter = 1
net.ipv4.conf.tunl0.arp_filter = 0
net.ipv4.conf.tunl0.rp_filter = 1
== END sysctl -a | grep .rp_filter ==
== BEGIN ip rule show ==
0: from all lookup local
32766: from all lookup main
32767: from all lookup default
== END ip rule show ==
== BEGIN ip route show ==
default via ###.##.##.### dev eth0
###.##.##.###/24 dev eth0 proto kernel scope link src ###.##.##.###
###.##.##.### dev eth0 scope link src ###.##.##.###
###.##.##.###/24 dev eth0 proto kernel scope link src ###.##.##.###
###.##.##.### dev eth0 scope link src ###.##.##.###
###.##.##.###/24 dev eth0 proto kernel scope link src ###.##.##.###
###.##.##.### dev eth0 scope link src ###.##.##.###
###.##.##.###/24 dev eth0 proto kernel scope link src ###.##.##.###
###.##.##.### dev eth0 scope link src ###.##.##.###
###.##.##.###/24 dev eth0 proto kernel scope link src ###.##.##.###
###.##.##.### dev eth0 scope link src ###.##.##.###
###.##.##.###/24 dev eth0 proto kernel scope link src ###.##.##.###
###.##.##.### dev eth0 scope link src ###.##.##.###
###.##.##.###/24 dev eth0 proto kernel scope link src ###.##.##.###
###.##.##.### dev eth0 scope link src ###.##.##.###
###.##.##.###/24 dev eth0 proto kernel scope link src ###.##.##.###
###.##.##.### dev eth0 scope link src ###.##.##.###
###.##.##.###/24 dev eth0 proto kernel scope link src ###.##.##.###
###.##.##.### dev eth0 scope link src ###.##.##.###
###.##.##.###/16 dev eth0 scope link metric 1003
###.##.##.###/24 dev eth0 proto kernel scope link src ###.##.##.###
== END ip route show ==
== BEGIN cat /etc/resolv.conf ==
options rotate
; generated by /sbin/dhclient-script
search #######.###
nameserver ###.##.##.###
nameserver ###.##.##.###
nameserver ###.##.##.###
== END cat /etc/resolv.conf ==
== BEGIN egrep 'net|hosts' /etc/nsswitch.conf ==
#hosts: db files nisplus nis dns
hosts: files dns
#networks: nisplus [NOTFOUND=return] files
#netmasks: nisplus [NOTFOUND=return] files
netmasks: files
networks: files
netgroup: nisplus
== END egrep 'net|hosts' /etc/nsswitch.conf ==
== BEGIN chkconfig --list | grep -Ei 'network|wpa' ==
network 0:off 1:off 2:on 3:on 4:on 5:on 6:off
== END chkconfig --list | grep -Ei 'network|wpa' ==