From owner-freebsd-hackers Tue Aug 29 15: 7:35 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from smtp.tor3.targetnet.com (smtp.tor3.targetnet.com [207.176.132.71]) by hub.freebsd.org (Postfix) with ESMTP id AC38037B43C for ; Tue, 29 Aug 2000 15:07:30 -0700 (PDT) Received: from james by smtp.tor3.targetnet.com with local (Exim 3.16 #1) id 13TOIx-0008vY-00 for hackers@freebsd.org; Mon, 28 Aug 2000 08:46:23 -0400 Date: Mon, 28 Aug 2000 08:46:23 -0400 From: James FitzGibbon To: hackers@freebsd.org Subject: Determining multi or single user ? Message-ID: <20000828084623.C32812@targetnet.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i Organization: Targetnet.com Inc. Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Greetings... Is there an standard programmatic method for determining if a FreeBSD system is running in single or multi-user ? Sysctl doesn't seem to have a specific entry, but I suspect that the value of other less-well defined sysctl values might allow me to infer what I need. Any thoughts ? -- j. James FitzGibbon james@targetnet.com Targetnet.com Inc. Voice/Fax +1 416 306-0466/0452 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message