Port Question

j.e.aneiros jesus.aneiros at gmail.com
Mon Aug 29 17:49:24 UTC 2011


On Mon, Aug 29, 2011 at 10:12 AM, Tom H <tomh0665 at gmail.com> wrote:

> On Sun, Aug 28, 2011 at 3:07 AM, Mike Dwiggins <mike at azdwiggins.com>
> wrote:
> > On 8/27/2011 11:59 PM, Tom H wrote:
> >>
> >> If I find the thread, I'll post a link; you might find it handy.
> >> You'll just have to replace the "dpkg ..." statements with their "rpm
> >> ..." equivalents.
> >
> > Actually I could just try it in Ubuntu first.  I have two Fedora Servers
> > and one Ubuntu.  Run the Ubuntu for one application as a favor to my
> > Son-In-Law.  BigBlueButton only runs on Ubuntu 10.04 LTS and he needs it
> > in his Masters program.
>
> Thread:
> http://lists.debian.org/debian-user/2009/09/msg00697.html


 #!/bin/bash

netstat -lntup \
| awk '/^(tcp|udp)/ {print substr($4, match($4, ":[^:]+$") + 1) "/" $1,
substr($NF, 1, index($NF, "/") - 1)}' \
| while read PORT PID
do
        BIN=$(readlink /proc/$PID/exe)
        echo $PORT $PID $BIN
done


> --
> users mailing list
> users at lists.fedoraproject.org
> To unsubscribe or change subscription options:
> https://admin.fedoraproject.org/mailman/listinfo/users
> Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
>



-- 
J. E. Aneiros
GNU/Linux User #190716 en http://counter.li.org
perl -e '$_=pack(c5,0105,0107,0123,0132,(1<<3)+2);y[A-Z][N-ZA-M];print;'
PK fingerprint: 5179 917E 5B34 F073 E11A  AFB3 4CB3 5301 4A80 F674
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.fedoraproject.org/pipermail/users/attachments/20110829/ecd046e7/attachment.html 


More information about the users mailing list