Oracle Solaris Performance, Panics, Hangs, and Dtrace (MOSC)

MOSC Banner

dtrace for monitoring outgoing SMTP connection

Hi Gurus,

  I'm told to find out the applications on a number of servers sending emails using a relay to be retired. For this, I'm looking for a dtrace script to monitor outgoing SMTP connections.

  The information I need is the name of the processes that are making outgoing SMTP connections and the IP of the remote host. I was trying to use the tcpsnoop comes with DTrace-Toolkit. but it doesn't work:

sbtorsvr391# ./tcpsnoop -a
"/usr/include/sys/modctl.h", line 276: major: argument mismatch
dtrace: failed to compile script /dev/fd/11: "/usr/include/sys/modctl.h", line 276: syntax error near "1"

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center