No of Processes running

Quick tell me how many processes are running on the server ?

# ls /proc | grep "^[0-9]" | wc -l

Or

# ps -aux | wc -l

 
 
 
 
Copyright © Sun solaris admin