Showing posts with label solaris. Show all posts
Showing posts with label solaris. Show all posts

Monday, February 18, 2013

Checking your link speed/duplix on (open)solaris

On an openindiana server, i needed to find the link speed of the ethernet card, this is a reminder if i need it again:

This machine is:
$ uname -a
SunOS openindiana 5.11 oi_151a7 i86pc i386 i86pc Solaris

$dladm show-ether bge0

LINK            PTYPE    STATE    AUTO  SPEED-DUPLEX                    PAUSE
bge0            current  up       yes   100M-f                          bi

Where bge0 is the interface name (from ifconfig)

Separate your trash into biodegradable and non-biodegradable, even if you don't have compost or your trash all ends in one place, reduce by a tiny bit mixing poisonous stuff with what can become good soil. and btw FUCK ZIONISM http://www.youtube.com/watch?v=prVS4KI3Nrg!

Monday, October 31, 2011

Solaris: who is listening to that port ?

From time to time, I need to figure out which process is listening to which port. In linux; which I am more familiar with; netstat -natlp is my faviorite. but in solaris that is not an option. whenever i google the issue, i get suggestions to use lsof, but for some reason (probably due to being compiled against a different version on SunOS); what helps me out (and I'm writing this post to help me remember it) is the command "pfiles"!

Otherwise, enjoy your life; but remember, Palestinians are denied freedom of movement.