Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 13 May 1999 08:33:41 -0700 (PDT)
From:      "William R. Somsky" <wrsomsky@halcyon.com>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   misc/11689: Change "netstat" mode in daily "status-network" script
Message-ID:  <199905131533.IAA00937.gramarye.wrsomsky@halcyon.com>

next in thread | raw e-mail | index | archive | help

>Number:         11689
>Category:       misc
>Synopsis:       Change "netstat" mode in daily "status-network" script
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Thu May 13 08:40:01 PDT 1999
>Closed-Date:
>Last-Modified:
>Originator:     William R. Somsky
>Release:        FreeBSD 3.2-BETA i386
>Organization:
>Environment:

	demand-dialed ppp;
	/etc/host.conf set to hosts:bind order;

>Description:

	On a machine with demand-dialed ppp, invocation of the
	daily "420.status-network" script causes the machine
	to dial the network to perform the number-to-name
	resolution of the "netstat -i" within the script.

>How-To-Repeat:

	Invoke /etc/periodic/daily/420.status-network
	on a machine with demand-dialed ppp.

>Fix:

	Suggest that the "netstat -i" in the script
	be changed to "netstat -in" (print as numbers).

	Suggested patch below:

*** 420.status-network:orig	Sun Aug 17 10:55:33 1997
--- 420.status-network	Thu May 13 08:15:53 1999
***************
*** 7,11 ****
      echo ""
      echo "Network interface status:"
  
!     netstat -i
  fi
--- 7,11 ----
      echo ""
      echo "Network interface status:"
  
!     netstat -in
  fi
	


>Release-Note:
>Audit-Trail:
>Unformatted:


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199905131533.IAA00937.gramarye.wrsomsky>