#!/bin/bash
# Network settings and stats
# Script generated by Puppet. It's executed when you run:
# puppi info network
#
# Sources common header for Puppi scripts
. /DBA/puppet/3.0.2/etc/puppi/scripts/header || exit 10

echo_title "$HOSTNAME - Network settings and stats"
show_command "ifconfig"
show_command "route -n"
show_command "cat /etc/resolv.conf"
show_command "arp -an"
show_command "netstat -natup | grep LISTEN"

