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: , , ,

Basic vi Commands

Posted in Unix on September 20th, 2009 by phoenixdigital

When editing text files the only stock editor that comes with Unix is vi. While it’s pretty daunting for non-unix people there are really only a few basic commands you need to know.
Read more »

Tags: , , ,