[comp.unix.ultrix] pids

douglas@dekalb.UUCP (Douglas B. Jones) (06/15/90)

%ps xtco
  PID TT STAT  TIME COMMAND
   38 co S     0:06 evl
19060 co I     0:11 dump 0usd 2400 10240 /dev/rra0g
19061 co D     1:27 dump 0usd 2400 10240 /dev/rra0g
21830 co I     0:01 -csh (csh)

I always thought new processes were given the next higher available pid.
So, why are the dumps that were executed from the csh (21830) given a
lower pid than the login shell. I am positive of the sequence of events,
since I did them myself.

Info:
	Mv3600, Ultrix 3.0
	Number of processes on the system right now:
		%ps ax|wc
		87     624    3592
		%ps xt20			# edited, I am on tty20
		  PID TT STAT  TIME COMMAND
		19265 20 R     0:01  (ps)
	Note that the newest pid is still lower than the login shell. So, the
	question is why the the login shell get such a higher pid number. This
	login shell was started this morning, so it is not left over from a
	previous day.
	%last -2 root
	root      console                   Thu Jun 14 12:38   still logged in
	root      console                   Fri Jun  8 11:59 - 15:53  (03:53)
	%date
	Thu Jun 14 13:19:58 EDT 1990
	Also, not so many process have come about that the pid counter would
	have rolled over at 30,000, back to 100 and up to the 19 thousands.

Any ideas?
Douglas

-- 
Doulas B. Jones					douglas@dekalb
Academic Computer Center		or	gatech!dekalb!douglas
DeKalb College
555 N. Indian Creek Drive/Clarkston, Ga. 30021