Solaris 10 useful commands

Posted in Unix on August 31st, 2011 by phoenixdigital

A store of useful commands as I find them

displays the memory usage of running processes
prstat

List active processes (generally useful only with a grep)
ps -ef

Display physical memory size on server
prtconf|grep -i mem

Display swap size (do the math based on results of two commands)
pagesize
swap -l

Package installation
Get your version via ‘uname -a’ reference wikipedia if you dont know how to translate to Sun version.

Get packages from here
http://www.sunfreeware.com/

install with command
cd
gunzip packagename.gz
pkgadd -d packagename

Tags: , , ,