Thursday, May 21, 2009

Solaris Commands

Display RAM in Solaris

/usr/sbin/prtconf | grep Memory

Display hard disk space

df -k /home/

Display hard disk I/O statistics

/usr/bin/iostat -E

Show list of users

listusers

Display Solaris information

uname -X

Display Solaris OS version

uname -a

Show process IDs corresponding to sshd
You can either do this:

pgrep sshd

Or the old fashioned way:

ps -ef | grep sshd | awk '{print $2}'

No comments:

akash tips & tricks

About Me

My photo
mumbai, mumbai, India
akash....... hacking tips & track plz use only for knowledge plz dont use misuse..........