File: ff-netstat

package info (click to toggle)
systraq 0.0.20081217-3
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 1,424 kB
  • sloc: sh: 828; makefile: 122
file content (11 lines) | stat: -rw-r--r-- 321 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
#!/bin/sh
# $Id: ff-netstat 256 2006-06-09 23:06:56Z joostvb $

echo netstat -a -A inet -A inet6

# make sure all output goes to stdout: netstat sends stuff
# like "warning, got bogus tcp line." to stderr.  we don't want
# to cause an extra email to get sent when called from cron.
netstat -a -A inet -A inet6 2>&1

echo