Save list of port open and listing ports.

This patch saves the output of netstat -tulpn to netstat.txt in LOG_DIR

Change-Id: I05e0194033e77efc64ab17ff189ea3abf4173a14
This commit is contained in:
Keith Schincke 2016-11-03 08:21:13 -04:00
parent e4c6f48efa
commit 35d760c3cc

View File

@ -184,6 +184,7 @@ free -m > $LOG_DIR/free.txt
lsmod > $LOG_DIR/lsmod.txt
cat /proc/cpuinfo > $LOG_DIR/cpuinfo.txt
ps -eo user,pid,ppid,lwp,%cpu,%mem,size,rss,cmd > $LOG_DIR/ps.txt
netstat -tulpn > $LOG_DIR/netstat.txt
# end of log capture
set -e