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

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)
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

install with command
gunzip packagename.gz
pkgadd -d packagename

Tags: , , ,

Solaris 10 SMF services

Posted in Unix on August 30th, 2011 by phoenixdigital

The SMF or Service Management Facility handles the control of services within Solaris 10. Below are some common commands for a useful lookup.

The service FMRI is an identifier of each service and can be seen by running the list services commands below. The FMRI in all the commands below can be replaced with just the service name as long as there are no other services with similar names.

List all services

List all services including disabled services
svcs -a

View a service current status
svcs -H <service_FMRI>

Read more »

Tags: , , , , , , , ,

Saved from Windows Dynamic Disk HELL!!!!

Posted in Windows on August 16th, 2011 by phoenixdigital

I made the mistake of converting a few drives to dynamic disks. Never again!

I consistently got online errors and other random corruptions.
Read more »

Tags: , , , , ,