[olug] Solaris Commands
Brian Roberson
roberson at olug.org
Thu Jan 15 04:44:28 UTC 2004
download lsof from sunfreeware and use "lsof -i" as root
example:
( kill whatever is listening on tcp/3000 .)
lsof -i TCP:3000 | awk '{print $2}' | xargs kill -9
----- Original Message -----
From: "Sean Edwards" <cybersean3000 at yahoo.com>
To: "Omaha Linux User Group" <olug at olug.org>
Sent: Wednesday, January 14, 2004 12:48 PM
Subject: [olug] Solaris Commands
> In order to see if a process bound to a particular
> port, the following command works with Linux:
>
> /sbin/fuser 3000/tcp
>
> Also, to kill a process bound to a particular port,
> the following command works with Linux:
>
> /sbin/fuser -k 3000/tcp
>
> Does anybody know the Solaris equivalents to the Linux
> commands above?
>
> -=Sean Edwards=-
> cybersean3000 at yahoo.com
>
>
>
> __________________________________
> Do you Yahoo!?
> Yahoo! Hotjobs: Enter the "Signing Bonus" Sweepstakes
> http://hotjobs.sweepstakes.yahoo.com/signingbonus
> _______________________________________________
> OLUG mailing list
> OLUG at olug.org
> http://lists.olug.org/mailman/listinfo/olug
>
More information about the OLUG
mailing list