From owner-freebsd-questions Sun Dec 31 7:36:43 2000 From owner-freebsd-questions@FreeBSD.ORG Sun Dec 31 07:36:42 2000 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from ren.sasknow.com (ren.sasknow.com [207.195.92.131]) by hub.freebsd.org (Postfix) with ESMTP id 8668237B400 for ; Sun, 31 Dec 2000 07:36:41 -0800 (PST) Received: from localhost (ryan@localhost) by ren.sasknow.com (8.9.3/8.9.3) with ESMTP id JAA76767; Sun, 31 Dec 2000 09:35:53 -0600 (CST) (envelope-from ryan@sasknow.com) Date: Sun, 31 Dec 2000 09:35:53 -0600 (CST) From: Ryan Thompson To: Jahanur R Subedar Cc: freebsd-questions@freebsd.org Subject: Re: How to find the time.... In-Reply-To: Message-ID: Organization: SaskNow Technologies [www.sasknow.com] MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Jahanur R Subedar wrote to freebsd-questions@FreeBSD.ORG: > Hi Folks, > I am trying to find the time of when a particular command was executed. > We ussually use c shell and the history command only tells the what > command was executed. It is important for us to find the time of a > particular user when it was executed. Is there any log file foruser > activity or this kind. > Or Is there anyway to find this? > > Thanks in advance. > > > Jahanur R Subedar > WWW.JJSOFT.COM Assuming you have accounting enabled, see man pages for acct(5), acct(2), or (more practically), lastcomm(1). Hope this helps, - Ryan -- Ryan Thompson Network Administrator, Accounts SaskNow Technologies - http://www.sasknow.com #106-380 3120 8th St E - Saskatoon, SK - S7H 0W2 Tel: 306-664-3600 Fax: 306-664-1161 Saskatoon Toll-Free: 877-727-5669 (877-SASKNOW) North America To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message