Solaris Killer Tools

Solaris Killer Tools

Administration Tools - Security / User & Group manipulation

Tool	Description	Usage/Syntax	Notes/Common Syntax
auths	print authorizations granted to a user	auths <user>
profiles	print RBAC execution profiles for a user	profiles {options} <user>	(info) -l
roleadd	administer a new RBAC role account on the system	roleadd {options} <role>	(profile) -P
roledel	delete a RBAC role's login from the system	roledel <role>
rolemod	modify a RBAC role's login information on the system	rolemod {options} <role>
roles	print RBAC roles granted to a user	roles <user>

Administration Tools - System

Tool	Description	Usage/Syntax	Notes/Common Syntax
bootadm	manage GRUB boot menu	bootadm {cmd} {options}
catman	create the formatted files for the reference manual	catman {options}	(create index) -w
cfgadm	configuration administration	cfgadm {options}	(function) -c; (force) -f; (list) -l; (test) -t
clri	clear inode	clri {special} {i-number}
coreadm	core file administration	coreadm {options} {pid}	(disable) -d; (enable) -e; (update) -u
devattr	display device attributes	devattr {device} {attr}
devfree	release devices from exclusive use	devfree {device}
devfsadm	administration command for /dev	devfsadm {options}
devinfo	print device specific information	devinfo {options} {device}	(info) -i; (partition) -p
devnm	identifies the special file associated device name	devnm {name}
devreserv	reserve devices for exclusive use	devreserv {device-list}
dfmounts	display mounted resource information	dfmounts
dfshares	list available resources from remote or local systems	dfshares {options} {host}	(fs type) -F
dumpadm	configure operating system crash dump	dumpadm {options}	(crash type) -c; (device) -d
eeprom	EEPROM display and load utility	eeprom {param=value}
fcinfo	Fibre Channel HBA Port Command Line Interface	fcinfo {hba-port}
ff	list file names and statistics for a file system	ff {options} {path}
fmthard	populate label on hard disks	fmthard {options}	(data) -d; (name) -n; (datafile) -s
format	disk partitioning and maintenance utility	format {options} {disk}
fsstat	report file system statistics	fsstat {options} {path}	(I/O) -i; (virt mem) -v
getdev	lists devices based on criteria	getdev {criteria}
getdgrp	lists device groups that match criteria	getdgrp {criteria}
growfs	non-destructively expand a UFS file system	growfs {options} {device}	(mount) -M
inetadm	observe or configure inetd-controlled services	inetadm {options}
labelit	list or provide labels for file systems	labelit
lockfs	change or report file system locks	lockfs {options} {mount}	(all) -a; (delete) -d
logadm	manage endlessly growing log files	logadm {options} {logname}
logins	list user and system login information	logins {options}
modload	load a kernel module	modload {filename}
modunload	unload a kernel module	modunload -i {mod id}
ndd	get and set driver configuration parameters	ndd {driver} {param}	(set) -set
newfs	construct a UFS file system	newfs {options} {rawdev}	(info) -N
preap	force a defunct process to be reaped by its parent	preap {options} {pid}	(force) -F
prtconf	print system configuration	prtconf {options} {device}
prtdiag	display system diagnostic information	prtdiag
prtvtoc	report disk geometry and partitioning info	prtvtoc {options} {device}	(free) -f
psrinfo	displays information about processors	psrinfo {options}	(physical) -p; (verbose -v
putdev	edits device table	putdev {options} {device}	(add) -a; (remove) -d; (modify) -m
quot	summarize file system ownership	quot {options} {path}	(all) -a; (files) -f
raidctl	RAID hardware utility	raidctl {options}
share	make local resource available for remote mounting	share {options} {dir}	(fs type) -F; (perms) -o
showrev	show machine software and patch revision info	showrev {options}	(all) -a; (patches) -p
smpatch	download apply and remove updates	smpatch {cmd} {options}
snoop	capture and inspect network packets	snoop {options}
svcadm	manipulate service instances	svcadm {cmd} {options}
svcs	report service status	svcs {options} {service}	(all) -a; (processes) -p
swap	swap administrative interface	swap {options} {device}	(add) -a; (delete) -d; (list) -l or -s
sysdef	output system definition	sysdef {options}	(driver) -d
tunefs	tune an existing UFS file system	tunefs {options} {filesystem}
volcheck	checks for media in a CD drive and floppy media	volcheck
whodo	who is doing what	whodo {options} {user}	(long format) -l
zfs	configures ZFS file systems	zfs {cmd} {options}
zoneadm	administer zones	zoneadm -z {zone} {cmd}
zonecfg	set up zone configuration	zonecfg -z {zone} {cmd}
zpool	configures ZFS storage pools	zpool {cmd} {options}

Administration Tools - Performance Analysis

Tool	Description	Usage/Syntax	Notes/Common Syntax
cpustat	monitor system behavior	cpustat {options}	(period) -p
cputrack	monitor process and LWP behavior	cputrack {options}	(pid) -p; (interval) -T; (count) -N
dtrace	DTrace dynamic tracing compiler and tracing utility	dtrace {options}
intrstat	report interrupt statistics	intrstat
kstat	display kernel statistics	kstat {options}	(name) -n; (parse) -p; (stat) -s
lockstat	report kernel lock and profiling statistics	lockstat {options} {cmd}
mpstat	report per-processor or per-processor-set stats	mpstat {interval} {count}
pmap	display info about process address space	pmap {options} {pid}	(more info) -x
prstat	report active process statistics	prstat {options}	(all) -a; (per user) -t; (verbose) -v

Text editing / File manipulation / Scripting

Tool	Description	Usage/Syntax	Notes/Common Syntax
ckdate	prompts for and validates a date	ckdate {options}	(default) -d; (error) -e; (format) -f; (prompt) -p
ckgid	prompts for and validates a group id	ckgid {options}	(default) -d; (error) -e; (prompt) -p
ckint	display prompt; verify and return integer value	ckint {options}	(default) -d; (error) -e; (prompt) -p
ckitem	build menu; prompt for and return menu item	ckitem {options}	(default) -d; (error) -e; (filename) -f; (prompt) -p
ckpath	display prompt; verify and return pathname	ckpath {options}	(default) -d; (error) -e; (prompt) -p
ckrange	display prompt; verify and return integer value within range	ckrange {options}	(default) -d; (error) -e; (prompt) -p; (lower) -l; (upper) -u
ckstr	display prompt; verify and return string value	ckstr {options}	(default) -d; (error) -e; (prompt) -p; (length) -l; (regex) -r
cktime	display prompt; verify and return time of day	cktime {options}	(default) -d; (error) -e; (format) -f; (prompt) -p
ckuid	prompts for and validates a user id	ckuid {options}	(default) -d; (error) -e; (prompt) -p
ckyorn	prompts for and validates yes or no	ckyorn {options}	(default) -d; (error) -e; (prompt) -p
dircmp	directory comparison	dircmp {options} <dir1> <dir2>	(same name) -d; (ignore identical) -s

X Windows Tools

Tool	Description
smc	Solaris Management Console
solstice	GUI for system administration tools
updatemanager	Sun Update Manager application