Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid

Re: netstat equivalent

by Rex(Wrecks) (Curate)
on Mar 21, 2003 at 17:26 UTC ( #244943=note: print w/replies, xml ) Need Help??

in reply to netstat equivalent

Um, there is nothing comprehensive that I know about, but netstat does a lot of things. Is there something specific you are looking to do?

Update: I'm just curious why I'm getting negative votes for this? All I did was ask for clarification.

"Nothing is sure but death and taxes" I say combine the two and its death to all taxes!

Replies are listed 'Best First'.
Re: Re: netstat equivalent
by cbro (Pilgrim) on Mar 21, 2003 at 17:41 UTC
    Yes, thanks for asking.
    I'm trying to find the total number of inbound and outbound email connections on my server. I'm currently doing this by running 'ps' piped through sed and grep to trim out all 'smtp' and 'smtpd' entries.
    I'm attempting to clean this up and move to Perl functions instead of using my current shell script and without using system/backtick commands in Perl. I'd also rather use a netstat type function as opposed to running 'ps'.

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://244943]
LanX Gesundheit! :)
talexb wonders about dividing developers in those born before the Unix timestamp of zero .. and after. Spoiler: I'm before.
chacham remebers I am a mad scientist
[stevieb]: talexb I'm after by a few years, but we can still be friends because you live in my hometown ;)
[LanX]: White House
[LanX]: next inauguration ?

How do I use this? | Other CB clients
Other Users?
Others lurking in the Monastery: (11)
As of 2017-08-18 13:26 GMT
Find Nodes?
    Voting Booth?
    Who is your favorite scientist and why?

    Results (303 votes). Check out past polls.