Friday, May 29, 2009

Useful commands and other programs

# See the man pages for more information
# Most can add a -v for verbose output

prtconf # General system information
prtdiag # System diag info including any current alerts
psrinfo # processor information
pagesize # show avaialble memory page sizes


# The current state of the system
vmstat
mpstat
iostat
netstat
swap

# Some other more detailed stat commands
kstat
cpustat
cputrack
busstat
trapstat

# These take a process id as last argument
##### Read man page about warnings before using these #####
pmap # Show process memory mapping
pargs # args used to start process also
pargs -e # show environment for a process
pfiles # files opn by a process - see warnings
pstack # show current stack trace - see warnings
pflags # process flags
pcred # process owner etc
pldd # dynamic libraries linked to process
psig # signal handlers and headers
pwdx # current working directory

Readers who read this page, also read:




Bookmark and Share My Zimbio http://www.wikio.com

0 comments: