Subject: more info on stuck processes.
To: None <port-sparc@NetBSD.ORG>
From: Neil J. McRae <neil@domino.org>
List: port-sparc
Date: 09/17/1995 12:43:58
Here is a more fuller process list, I just did a make clean and the 
process hung...

USER       PID %CPU %MEM   VSZ  RSS TT  STAT STARTED       TIME COMMAND
neil     24634  2.0  0.3   432  188 p3  R+   12:43PM    0:00.37 vi /tmp/snd.24632 
neil     28115  1.1  0.4  7704  232 co  RN   Sat11AM  243:42.37 X :0 (Xsun)
root         1  0.0  0.3   272  196 ??  Is    6Sep95    0:00.78 /sbin/init 
root         2  0.0  0.0     0    0 ??  DL    6Sep95    0:00.00 (pagedaemon)
daemon      43  0.0  0.2    88  116 ??  Is    6Sep95    0:00.25 portmap 
root        48  0.0  0.2   332  128 ??  Is    6Sep95    0:00.03 mountd 
root        50  0.0  0.1   116   80 ??  Is    6Sep95    0:00.03 nfsd: master (nfsd)
root        52  0.0  0.1   104   40 ??  I     6Sep95    0:00.01 nfsd: server (nfsd)
root        53  0.0  0.1   104   40 ??  I     6Sep95    0:00.01 nfsd: server (nfsd)
root        54  0.0  0.1   104   40 ??  I     6Sep95    0:00.01 nfsd: server (nfsd)
root        55  0.0  0.1   104   40 ??  I     6Sep95    0:00.01 nfsd: server (nfsd)
root        59  0.0  0.0    92    8 ??  I     6Sep95    0:00.00 nfsiod -n 4 
root        60  0.0  0.0    92    8 ??  I     6Sep95    0:00.00 nfsiod -n 4 
root        61  0.0  0.0    92    8 ??  I     6Sep95    0:00.00 nfsiod -n 4 
root        62  0.0  0.0    92    8 ??  I     6Sep95    0:00.00 nfsiod -n 4 
root        66  0.0  0.4   432  224 ??  Ss    6Sep95   36:42.26 syslogd 
root        69  0.0  0.1   368   84 ??  Is    6Sep95    0:10.91 timed 
root        84  0.0  0.1    20   52 ??  Ss    6Sep95    2:41.79 update 
root        86  0.0  0.2   180  144 ??  Is    6Sep95    0:40.65 cron 
root        91  0.0  0.4  1232  264 ??  Is    6Sep95    1:26.68 named 
root        97  0.0  0.2    88   92 ??  Is    6Sep95    0:00.06 lpd 
root       100  0.0  0.2   340  100 ??  Is    6Sep95    0:32.29 sendmail: accepting connections (sendmail)
root       103  0.0  0.2   108  140 ??  Is    6Sep95    0:05.67 inetd 
root       116  0.0  0.4   284  244 ??  S<s   6Sep95    7:00.59 /usr/sbin/xntpd 
root       122  0.0  0.2    28  108 ??  I     6Sep95    0:00.07 /usr/libexec/getty std.9600 ttya 
neil     28060  0.0  0.3   672  216 co  Is   Sat11AM    0:01.85 -bash (bash)
neil     28109  0.0  0.2   396  116 co  I+   Sat11AM    0:00.08 /bin/sh /usr/X11R6/bin/startx 
neil     28114  0.0  0.3    64  160 co  I+   Sat11AM    0:00.26 xinit /home/neil/.xinitrc -- 
neil     28116  0.0  0.2   380  116 co  I    Sat11AM    0:00.07 sh /home/neil/.xinitrc 
neil     28117  0.0  0.6   936  400 co  I    Sat11AM    0:27.28 xconsole 
neil     28120  0.0  0.5   296  316 co  I    Sat11AM    0:19.87 fvwm 
neil     28123  0.0  0.4   308  264 co  S    Sat11AM    5:04.40 /usr/X11R6/bin/xscreensaver 
neil     28124  0.0  0.4   132  232 co  I    Sat11AM    0:00.84 /usr/X11R6/lib/X11/fvwm/GoodStuff 9 4 /home/neil/.fvwmrc 0 8 
neil     28125  0.0  0.4   168  276 co  I    Sat11AM    0:02.24 /usr/X11R6/lib/X11/fvwm/FvwmIconBox 11 4 /home/neil/.fvwmrc 0 8 
neil     28126  0.0  0.1    20   88 co  I    Sat11AM    0:00.71 /usr/X11R6/lib/X11/fvwm/FvwmAuto 13 4 /home/neil/.fvwmrc 0 8 200 EndPopup 
neil     28132  0.0  0.2   384  108 co  I    Sat11AM    0:00.04 /bin/sh -c xclock -bg \\#908090 -geometry -1500-1500 -padding 0 
neil     28133  0.0  0.4   152  220 co  S    Sat11AM    0:03.65 xclock 
neil     28134  0.0  0.3   120  212 co  I    Sat11AM    0:02.02 /usr/X11R6/lib/X11/fvwm/FvwmPager 13 4 /home/neil/.fvwmrc 0 8 0 3 
neil     28135  0.0  0.3   172  184 co  SN   Sat11AM    1:06.48 /usr/X11R6/bin/xbuffy 
root     28156  0.0  0.5   348  304 co  S    Sat11AM    0:40.17 xterm -e bash 
neil     28157  0.0  0.3   680  180 p0  Is   Sat11AM    0:00.41 bash 
root     28182  0.0  0.5   328  304 co  I    Sat11AM    0:33.75 xterm -e bash 
neil     28183  0.0  0.3   680  192 p4  Is   Sat11AM    0:01.15 bash 
neil     17818  0.0  0.5   368  308 p4  D     6:58PM    0:00.60 make -k -k -k -k -k -k -k -k CDEBUGFLAGS LDSTRIPFLAGS all 
neil     17890  0.0  0.3   112  176 p4  D     7:01PM    0:00.13 gcc -c -O2 -ansi -Dasm=__asm -I. -I../include -I../../../../../../X11 -I../../../include -I../../../../../../programs/Xserver/include -I../../../../../.. -DCSRG_BASED -DSHAPE -DGCCUSESGAS miLight.c 
neil     17895  0.0  0.5   416  296 p4  D     7:02PM    0:00.38 as 
root     19929  0.0  0.1   180   76 ??  I     2:00AM    0:00.02 CRON (cron)
root     19933  0.0  0.2   384  104 ??  Is    2:00AM    0:00.08 /bin/sh -c /bin/sh /etc/daily 2>&1 | tee /var/log/daily.out | mail -s "daily output" root 
root     19937  0.0  0.2   400  120 ??  I     2:00AM    0:00.16 /bin/sh /etc/daily 
root     19938  0.0  0.2    32  100 ??  I     2:00AM    0:00.08 tee /var/log/daily.out 
root     19939  0.0  0.3   156  200 ??  I     2:00AM    0:00.10 mail -s daily output root 
root     19960  0.0  0.5   444  316 ??  D     2:00AM    0:16.74 / (find)
neil     21685  0.0  0.2   408  116 p4  D     4:24AM    0:00.22 /bin/sh -c case ' ' in *[ik]*) set +e;; esac;  case ' ' in *n*) executeit="no";; esac;  for i in dipex/dispatch dipex/swap dipex/objects ddpex/mi/level1 \t\tddpex/mi/level2 ddpex/mi/level3 ddpex/mi/level4 \t\tddpex/mi/shared ospex ; do  case "programs/Xserver/PEX5" in  .) curdir= ;;  *) curdir=programs/Xserver/PEX5/ ;;  esac;  echo "making Makefiles in $curdir$i...";  itmp="$i"  curtmp="programs/Xserver/PEX5"  toptmp="";  case "$itmp" in  ../?*)  while echo "$itmp" | grep '^../' > /dev/null; do  toptmp="/`basename $curtmp`$toptmp";  curtmp="`dirname $curtmp`";  itmp="`echo $itmp | sed 's;../;;'`";  done  ;;  esac;  case "$itmp" in  */?*/?*/?*/?*)\tnewtop=../../../../..;;  */?*/?*/?*)\tnewtop=../../../..;;  */?*/?*)\tnewtop=../../..;;  */?*)\t\tnewtop=../..;;  *)\t\tnewtop=..;;  esac;  newtop="$newtop$toptmp";  case "../../.." in  /?*) imaketop=../../..  imakeprefix= ;;  .) imaketop=$newtop  imakeprefix=$newtop/ !
 ;;  *) imaketop=$newtop/../../..  imakeprefix=$newtop/ ;;  esac;  cd $i;  rm -f Makefile.bak;  if [ -f Makefile ]; then  echo "\tmv Makefile Makefile.bak";  if [ "$executeit" != "no" ]; then  mv Makefile Makefile.bak;  fi;  fi;  if [ "$executeit" != "no" ]; then  $imakeprefix../../../config/imake/imake -I$imakeprefix../../../config/cf  -DTOPDIR=$imaketop -DCURDIR=$curdir$i;  fi;  make   Makefiles;  cd $newtop;  done 
root     22924  0.0  0.3   680  168 p4  I    12:06PM    0:00.47 bash 
root     23886  0.0  0.2   408  116 p4  D    12:09PM    0:00.22 /bin/sh -c case ' ' in *[ik]*) set +e;; esac;  case ' ' in *n*) executeit="no";; esac;  for i in dipex/dispatch dipex/swap dipex/objects ddpex/mi/level1 \t\tddpex/mi/level2 ddpex/mi/level3 ddpex/mi/level4 \t\tddpex/mi/shared ospex ; do  case "programs/Xserver/PEX5" in  .) curdir= ;;  *) curdir=programs/Xserver/PEX5/ ;;  esac;  echo "making Makefiles in $curdir$i...";  itmp="$i"  curtmp="programs/Xserver/PEX5"  toptmp="";  case "$itmp" in  ../?*)  while echo "$itmp" | grep '^../' > /dev/null; do  toptmp="/`basename $curtmp`$toptmp";  curtmp="`dirname $curtmp`";  itmp="`echo $itmp | sed 's;../;;'`";  done  ;;  esac;  case "$itmp" in  */?*/?*/?*/?*)\tnewtop=../../../../..;;  */?*/?*/?*)\tnewtop=../../../..;;  */?*/?*)\tnewtop=../../..;;  */?*)\t\tnewtop=../..;;  *)\t\tnewtop=..;;  esac;  newtop="$newtop$toptmp";  case "../../.." in  /?*) imaketop=../../..  imakeprefix= ;;  .) imaketop=$newtop  imakeprefix=$newtop/ !
 ;;  *) imaketop=$newtop/../../..  imakeprefix=$newtop/ ;;  esac;  cd $i;  rm -f Makefile.bak;  if [ -f Makefile ]; then  echo "\tmv Makefile Makefile.bak";  if [ "$executeit" != "no" ]; then  mv Makefile Makefile.bak;  fi;  fi;  if [ "$executeit" != "no" ]; then  $imakeprefix../../../config/imake/imake -I$imakeprefix../../../config/cf  -DTOPDIR=$imaketop -DCURDIR=$curdir$i;  fi;  make   Makefiles;  cd $newtop;  done 
root     23928  0.0  0.5   328  304 co  I    12:13PM    0:02.30 xterm -e bash 
neil     23929  0.0  0.3   680  180 p7  Is   12:13PM    0:00.48 bash 
root     23958  0.0  0.3   684  176 p7  I+   12:15PM    0:01.06 bash 
root     24029  0.0  0.5   328  304 co  I    12:19PM    0:04.44 xterm -e bash 
neil     24030  0.0  0.3   680  180 p2  Is+  12:19PM    0:00.27 bash 
neil     24086  1.0  0.4   596  240 p0  S+   12:27PM    0:18.82 irc (irc-2.8)
root     24117  0.0  0.5   348  308 p4  IN+  12:32PM    0:00.42 make clean 
root     24122  0.0  0.2   388  108 p4  IN+  12:32PM    0:00.07 /bin/sh -ec case ' ' in *[ik]*) set +e;; esac;  for i in config include lib nls programs workInProgress fonts doc ; do  (cd $i ; echo "cleaning" "in ./$i...";  make   RM_CMD='rm -f' clean);  done 
root     24366  0.0  0.5   316  308 p4  IN+  12:33PM    0:00.33 make RM_CMD clean 
root     24369  0.0  0.2   392  108 p4  IN+  12:33PM    0:00.33 /bin/sh -ec case ' ' in *[ik]*) set +e;; esac;  for i in appres bdftopcf bitmap editres fsinfo fslsfonts fstobdf iceauth \tmkfontdir oclock rgb rstart smproxy \ttwm x11perf xauth xclipboard xclock \txcmsdb xconsole xdm xdpyinfo xfd xfs xhost xieperf \txinit  xkill xlogo xlsatoms xlsclients xlsfonts \txmag xmh xmodmap xprop xrdb xrefresh xset xsetroot xstdcmap xterm \txwd xwininfo xwud Xserver scripts ; do  (cd $i ; echo "cleaning" "in programs/$i...";  make   RM_CMD='rm -f' clean);  done 
root     24589  0.0  0.5   368  308 p4  IN+  12:34PM    0:00.44 make RM_CMD clean 
root     24594  0.0  0.2   388  108 p4  IN+  12:34PM    0:00.08 /bin/sh -ec case ' ' in *[ik]*) set +e;; esac;  for i in include dix os mi Xext   XIE PEX5                     mfb cfb   hw/sun     ; do  (cd $i ; echo "cleaning" "in programs/Xserver/$i...";  make   RM_CMD='rm -f' clean);  done 
root     24611  0.0  0.5   324  308 p4  IN+  12:34PM    0:00.33 make RM_CMD clean 
root     24614  0.0  0.2   388  108 p4  IN+  12:34PM    0:00.04 /bin/sh -ec case ' ' in *[ik]*) set +e;; esac;  for i in dixie mixie ; do  (cd $i ; echo "cleaning" "in programs/Xserver/XIE/$i...";  make   RM_CMD='rm -f' clean);  done 
root     24615  0.0  0.5   328  308 p4  IN+  12:34PM    0:00.33 make RM_CMD clean 
root     24616  0.0  0.2   408  120 p4  IN+  12:34PM    0:00.06 /bin/sh -ec rm -f *.CKP *.ln *.BAK *.bak *.o core errs ,* *~ *.a .emacs_* tags TAGS make.log MakeOut   "#"* 
root     24617  0.0  0.1   180   60 p4  DN+  12:34PM    0:00.02 rm -f *.CKP *.ln *.BAK Makefile.bak *.o core errs ,* *~ libdixie.a .emacs_* tags TAGS make.log MakeOut #* 
root     24624  0.6  0.5   328  304 co  S    12:42PM    0:00.95 xterm -e bash 
neil     24625  0.0  0.3   680  180 p3  Is   12:42PM    0:00.31 bash 
neil     24632  0.0  0.2   500  128 p3  S+   12:42PM    0:00.18 elm port-sparc@netbsd.org 
neil     24633  0.0  0.2   384  108 p3  S+   12:43PM    0:00.05 sh -c vi /tmp/snd.24632 
neil     17889  0.0  0.0     0    0 p4  Z    -          0:00.00 (sh)
neil     24635  0.0  0.2   328  152 p3  R+   12:43PM    0:00.03 ps -auwwwx 
root         0  0.0  0.0     0    0 ??  DLs   6Sep95    0:05.04 (swapper)

--  neil@domino.org                     Domino: In the glow of the night.  --