Hi list,

1. Does anyone know of a module in CPAN which lets you implement the netstat function 
within Perl code?  I was expecting to see something like netstat.pm, but a CPAN search 
turned up nothing.
2. If there's no such module, why not?  Any guesses?  It's seems like the kind of 
thing that gets turned into a module, since most IP-related UNIX functions end up in a 
module eventually (e.g. mail, HTTP, FTP, etc., etc.).  

I have a script which uses the output from netstat.  I'm shelling out to run netstat 
to get the results into my script, but it would seem better, for a number of reasons, 
to be able to do it completely within your own code.

And, now, comPLETEly off-topic ... when running netstat, I'm used to seeing numeric IP 
addresses and alphanumeric domain names in the results.  But, every so often, I see 
something that looks like a NETBIOS machine name.  What up with that?  Is this 
expected netstat behavior? Here are some of the values I've seen:

    ARBAY112
    ATHALON12
    BRAD
    CHICO
    COMPUTER
    DGSMS521
    DIEGO
    E6E8L8
    HPPAV
    INFO16
    KKKK
    OEMCOMPUTER
    PC
    PKWWW
    Q6A1W7
    RANDY
    SAMTHEGREAT
    U8F1M4
    V4W3Y9
    VALE
    VLADO

Does anyone know what condition this represents?  (I realize this last bit is really 
OT; if anyone knows of a more appropriate group I would be grateful for the lead.)

TIA.



__________________________________________________________________
New! Unlimited Netscape Internet Service.
Only $9.95 a month -- Sign up today at http://isp.netscape.com/register
Act now to get a personalized email address!

Netscape. Just the Net You Need.

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to