Categories

Our Sponsors

Procedure to swap ZFS pools Solaris

Procedure to add a new ZFS pool to a system, copy the data from an old pool, switch the mounts and remove the old pool.

Sorry there isn’t much in the way of comments or coloring.  It was just copied from the terminal window.  The procedure below does create the ZFS filesystem, clone it, move [...]

Share

Find processes and what network ports they use on Solaris 10

Show all of the processes and any open ports that they may be using.

for pid in `ps -aeo pid | grep -v PID`; do sudo pfiles ${pid} | egrep “^${pid}:|sockname:” done

Once you know the PID’s of the processes you can determine all of the atributes of the applications using pargs, instead of ps. [...]

Share
Get Adobe Flash playerPlugin by wpburn.com wordpress themes