info home general windows unix linux debian mac os apache nginx iphone

Recent Articles

How to rename multiple files in Unix or Linux

Convert docx to doc in Mac OS X Snow Leopard or Leopard

HISTORY shell variable management in Unix/Linux

How to eject CD/DVD from your MacBook or iMac

Play Prince of Persia on Ubuntu Linux using DOSBox

Tags

Solaris Commands

solaris

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}'

Last Update: January 2009