process listing. /usr/ucb/ps -aux | more
/usr/proc/bin/ptree <pid>
/* Print the parent/child process ‘tree’ of a process */
/usr/ucb/ps -aux | more
/* Displays CPU % usage for each process in ascending order */
usr/ucb/ps -auxww | grep <process name>
/* Gives the full listing of the process (long listing) */
coreadm -i core.%f.%p
/* Append program name and process id to core file names */
kill -HUP `ps -ef | grep [p]roccess | awk ‘{print $2}’`
/* HUP any related process in one step */
sof -i TCP:25
/* Mapping port with process */
pfiles <pid>
/* Shows processes’ current open files */
prstat -a
/* An alternative for top command */
ps -edf -o pcpu,pid,user,args
/* Nicely formatted ‘ps’ */
ps -ef | grep -i <string> | awk ‘{ print $2 }’
/* Creates list of running PID by <string> */
ps -ef | grep <process name> | grep -v grep | cut -c 10-15 | xargs kill -9
/* Find and kill all instances of a given process */
ps -ef | more
/* Show all processes running */
ps -ef|grep -v “0:00″|more
/* Gives you a list of any process with CPU time more than 0:00 */
ps -eo pid,args
/* List processes in simplified format */
ps -fu oracle|grep pmon
/* See which instances of Oracle are running */
top -b 1
/* Returns the process utilizing the most cpu and quits */
finding the 32 bit or 64 bit
isainfo -b
isainfo gives whether machine is sparc or X86
du -k .
/* Report disk usage in Kilobytes */
du -sk * | sort -nr | head
/* Shows the top ten largest files/directories */