20110222

today i am happy

because I've found truss

truss - trace system calls and signals

files open by process id

# pfiles <PID>
# pmap <PID>


p/s: just found out how to put <, > in blogger.

get resource controls value

like max-shm-memory

# prctl $$

accurate memory statistics

# echo ::memstat | mdb -k

20110221

check wwn on solaris

# fcinfo hba-port -l