From owner-freebsd-isp Wed Sep 11 21:48:40 1996 Return-Path: owner-isp Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id VAA05053 for isp-outgoing; Wed, 11 Sep 1996 21:48:40 -0700 (PDT) Received: from final.dystopia.fi (root@final.dystopia.fi [194.100.42.1]) by freefall.freebsd.org (8.7.5/8.7.3) with SMTP id VAA05039 for ; Wed, 11 Sep 1996 21:48:32 -0700 (PDT) Received: (from kajtzu@localhost) by final.dystopia.fi (8.6.11/8.6.9) id HAA25021 for freebsd-isp@freebsd.org; Thu, 12 Sep 1996 07:48:21 +0300 From: "Kaj J. Niemi" Message-Id: <199609120448.HAA25021@final.dystopia.fi> Subject: Re: Can background processes be accounted for? To: freebsd-isp@freebsd.org Date: Thu, 12 Sep 1996 07:48:21 +0300 (EET DST) In-Reply-To: <32368EFC.1D53@hon.hn> from "Samuel E. Romero" at Sep 11, 96 04:05:48 pm X-Mailer: ELM [version 2.4 PL24] MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Sender: owner-isp@freebsd.org X-Loop: FreeBSD.org Precedence: bulk > If I left a background process running and hangup, the process is not > logged (is not shown at least), by 'ac ...' or 'sa ...'. > How can I find out the time used for the process? (not using 'time', but > for the system wide usage). ps -aux should show every active process in the system. So if you have a user called joebob you'd get his process list by "ps -aux | grep joebob". Personally I don't think it's worth the time to mess around with an accounting system to make it do something like this. *way* too complicated :) -- Kaj - kajtzu@dystopia.fi/04800-30565 - PGP: C1EA5FC1657D9CDF-017C33F44433E712 "Hmm.. I need a ride to the morgue.. Hey! that's what Emergency-911 is for!!" "Only the tough work a code in the buff!" - "Quod erat demonstrandum, baby.."