in reply to Re: netstat equivalent in thread netstat equivalent
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'.
|