Archive for August 27th, 2009
conntrack DTrace script: connections by process, user and port on Solaris/Opensolaris
Posted by Sergio Rodriguez de Guzman in DTrace, Networking/Security, Solaris on August 27, 2009
I’ve created conntrack DTrace script for Solaris and Opensolaris to monitor all outgoing TCP and UDP connections by process, user and port. It has some filtering capabilities allowing to filter traffic by port, process or user. In a standard unix system it’s rather difficult to know what process are using the network and how. With [...]
How To dynamically increase ZFS swap space on Solaris and Opensolaris
Posted by Sergio Rodriguez de Guzman in Solaris on August 27, 2009
These are the steps to increase the swap space without rebooting the system on a ZFS root based Solaris and Opensolaris system: # swap -lswapfile dev swaplo bloques libre/dev/zvol/dsk/rpool/swap 256,2 16 2097136 2097136# zfs set volsize=2G rpool/swap# env NOINUSE_CHECK=1 swap -a /dev/zvol/dsk/rpool/swap $((8+2097136))# swap -lswapfile dev swaplo bloques libre/dev/zvol/dsk/rpool/swap 256,2 16 2097136 2097136/dev/zvol/dsk/rpool/swap 256,2 2097152 [...]

Core Networks homepage
Oracle University