Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 09 May 2013 22:03:01 -0700
From:      "Marc G. Fournier" <scrappy@hub.org>
To:        freebsd-net@freebsd.org
Subject:   status of a tap device ...
Message-ID:  <518C7F85.3000405@hub.org>

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

Quick question ... is there a command I can run that will tell me if a 
tap device is open?  I know I can do 'ifconfig tap0' and see the 'Opened 
by' line, but I want to do this within a perl script, for instance, akin 
to how I can use the fstat function to get information about a file ...

Rather avoid re-creating the wheel, so to say, if its already been 
created ...

Thx



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?518C7F85.3000405>