ps -ef


 
Thread Tools Search this Thread
Operating Systems Solaris ps -ef
# 1  
Old 08-25-2009
ps -ef

Hi,

Good morning everybody. I am not unix user or even UNIX administrator. I really need help from some UNIX experts here to solve problem on my server running open solaris. The machine is too slow, and behave sometimes weird. The only one that I can do is the command ps -ef on the shell. Here is the following output

Code:
     UID   PID  PPID   C    STIME TTY         TIME CMD
    root     0     0   0 16:42:41 ?           0:00 sched
    root     1     0   0 16:42:44 ?           0:00 /sbin/init
    root     2     0   0 16:42:44 ?           0:00 pageout
    root     3     0   0 16:42:44 ?           0:39 fsflush
  daemon    54     1   0 16:42:52 ?           0:00 /lib/crypto/kcfd
    root     7     1   0 16:42:46 ?           0:02 /lib/svc/bin/svc.startd
    root     9     1   0 16:42:47 ?           0:06 /lib/svc/bin/svc.configd
   smmsp   530     1   0 16:43:24 ?           0:00 /usr/lib/sendmail -Ac -q15m
    root    69     1   0 16:42:54 ?           0:00 devfsadmd
    root   457   320   0 16:43:06 ?           0:00 /usr/lib/hal/hald-addon-network-discovery
   dladm    15     1   0 16:42:48 ?           0:00 /sbin/dlmgmtd
    root   320   317   0 16:43:03 ?           0:00 hald-runner
    root   351     1   0 16:43:04 ?           0:00 /usr/lib/autofs/automountd
    root   338     1   0 16:43:04 ?           0:00 /usr/lib/inet/in.ndpd
    root   345     7   0 16:43:04 ?           0:00 /usr/lib/saf/sac -t 300
    root   129     1   0 16:42:58 ?           0:00 /usr/lib/sysevent/syseventd
    root   354   351   0 16:43:04 ?           0:00 /usr/lib/autofs/automountd
    root   317     1   0 16:43:03 ?           0:01 /usr/lib/hal/hald --daemon=yes
    root   349     7   0 16:43:04 console     0:00 /usr/lib/saf/ttymon -g -d /dev/console -l console -m ldterm,ttcompat -h -p open
    root   234     1   0 16:43:01 ?           0:00 /usr/sbin/cron
     gdm   526   502   0 16:43:15 ?           0:13 /usr/lib/gdmgreeter
  daemon   330     1   0 16:43:04 ?           0:00 /usr/sbin/rpcbind
    root   412     1   0 16:43:05 ?           0:00 /usr/sbin/syslogd
    root   142     1   0 16:42:59 ?           0:02 /usr/sbin/nscd
    root   178     1   0 16:43:00 ?           0:00 /usr/lib/picl/picld
    root   502   501   0 16:43:09 ?           0:00 /usr/sbin/gdm-binary
    root   149     1   0 16:42:59 ?           0:00 /usr/lib/power/powerd
    root   501     1   0 16:43:09 ?           0:00 /usr/sbin/gdm-binary
    root   313     1   0 16:43:02 ?           0:00 /usr/lib/dbus-daemon --system
    root   427     1   0 16:43:05 ?           0:00 /usr/lib/ssh/sshd
    root   353     1   0 16:43:04 ?           0:00 /usr/lib/utmpd
    root   350     1   0 16:43:04 ?           0:03 /usr/lib/inet/inetd start
    root   529     1   0 16:43:24 ?           0:00 /usr/lib/sendmail -bl -q15m
    root   503   502   0 16:43:09 ?           2:08 /usr/X11/bin/Xorg :0 -depth 24 -audit 0 -br -auth /var/lib/gdm/:0.Xauth
    root   471   320   0 16:43:07 ?           0:00 /usr/lib/hal/hald-addon-storage
  daemon   453     1   0 16:43:06 ?           0:00 /usr/sbin/avahi-daemon-bridge-dsd -D
    root   397   345   0 16:43:05 ?           0:00 /usr/lib/saf/ttymon
    root   461   320   0 16:43:06 ?           0:01 /usr/lib/hal/hald-addon-acpi
    root   460   320   0 16:43:06 ?           0:00 /usr/lib/hal/hald-addon-cpufreq
    root   490     1   0 16:43:07 ?           0:00 /usr/lib/rmvolmgr -s
    root   415     1   0 16:43:05 ?           0:01 /usr/lib/fm/fmd/fmd
noaccess   423     1   0 16:43:05 ?           0:00 /usr/lib/inet/mdnsd
    root   523   502   0 16:43:15 ?           0:00 /usr/openwin/bin/fbconsole -n -d :0
    root   480     1   0 16:43:07 ?           0:04 /usr/perl5/bin/perl /usr/lib/intrd
     plo  1913  1911   0 08:58:01 pts/2       0:00 -bash
     plo   673     1   0 16:50:00 ?           1:54 /export/home/plo/jdk1.6.0_14/bin/java -Dcom.sun.aas.instanceRoot=/export/home/p
    root  1911   350   0 08:58:01 ?           0:00 /usr/sbin/in.telnetd
     plo  1927  1913   0 08:59:39 pts/2       0:00 ps -ef



I would really appreciate if someone of you can help me by analysing these processs output that cause the system act weird.


Thanks and regards
PaulusSmilie

Last edited by DukeNuke2; 08-26-2009 at 03:27 AM.. Reason: added code tags
# 2  
Old 08-25-2009
We'll start with the simple stuff and focus on CPU issues, there's also IO and memory to think about but that's very hard to diagnose over a medium such as this.

Try running the following commands:
  • top
    Lists the most CPU intensive jobs running
  • uptime
    Shows how long the system has been running for but also lists the 'load average' (number of jobs waiting on CPU to run at any given time - a number less than 1 means it's not waiting) in 5, 10 and 15 minute averages.
At a guess from your ps output though I'm thinking your 'plo' tasks will be the culprit.
# 3  
Old 08-26-2009
the other thing you can do is an iostat.

Code:
$ iostat 5 5
   tty        md0           md1           md3           md4            cpu
 tin tout kps tps serv  kps tps serv  kps tps serv  kps tps serv   us sy wt id
   0  162   2   0   20    0   0    2    3   1   18   24   5    9    2  0  0 98
   0   69   0   0    0    0   0    0    0   0    0   71  13    8    5  1  0 94
   0   16   1   0   13    0   0    0    0   0   25   96  20    7    3  1  0 96
   0   37  15   6   23    0   0    0    2   3   20   43  11    9    6  1  0 93
   0   37   0   0    0    0   0    0    0   0   17   20   4    9    7  1  0 92

# 4  
Old 08-26-2009
Top isn't always installed on Solaris and has some deficiencies on it anyway. I would suggest running prstat instead.
# 5  
Old 08-26-2009
I have my own list for such issues

df -h -- to show if any disk partition is overloaded
iostat -ne -- to show some hard or soft errors
prstat -Z -- to show which process is taking how much CPU utilization
metastat -- to show if any disk is in sync.
"sccli" followed by "show disks" to check if there is any faulty disk (asuming extrenal harddisk ex. SE3510 is attached to this solaris machine, or any thing equivalent for other type of machine which may check for the disk's status)
Login or Register to Ask a Question

Previous Thread | Next Thread
Login or Register to Ask a Question