Date: Mon, 12 Apr 1999 20:37:16 +0100 From: Dom Mitchell <Dom.Mitchell@palmerharvey.co.uk> To: Joe Greco <jgreco@ns.sol.net> Cc: stable@freebsd.org Subject: Re: Odd process numbers ... Message-ID: <E10WmWC-000LG0-00@voodoo.pandhm.co.uk> In-Reply-To: Joe Greco's message of "Mon, 12 Apr 1999 14:37:52 CDT" <199904121937.OAA06767@aurora.sol.net>
next in thread | previous in thread | raw e-mail | index | archive | help
On 12 April 1999, Joe Greco proclaimed: > I noticed the following when conserver freaked out... look at the PID's. > > 2:19PM up 38 days, 2:54, 1 user, load averages: 0.00, 0.03, 0.03 > USER PID %CPU %MEM VSZ RSS TT STAT STARTED TIME COMMAND > root 91810 0.0 0.8 396 240 p0 R+ 2:19PM 0:00.01 ps -agxuww % grep PID /usr/include/sys/proc.h * We use process IDs <= PID_MAX; PID_MAX + 1 must also fit in a pid_t, #define PID_MAX 99999 #define NO_PID 100000 #define PIDHASH(pid) (&pidhashtbl[(pid) & pidhash]) Doesn't seem to be a problem. :-) -- Dom Mitchell -- Palmer & Harvey McLane -- Unix Systems Administrator "Value of 2 may go down as well as up" -- FORTRAN programmers manual -- ********************************************************************** This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the system manager. This footnote also confirms that this email message has been swept by MIMEsweeper for the presence of computer viruses. ********************************************************************** To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E10WmWC-000LG0-00>