From owner-svn-doc-head@FreeBSD.ORG Mon Mar 31 17:56:13 2014 Return-Path: Delivered-To: svn-doc-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 5ED29608; Mon, 31 Mar 2014 17:56:13 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 316A9F4F; Mon, 31 Mar 2014 17:56:13 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.8/8.14.8) with ESMTP id s2VHuD7p007677; Mon, 31 Mar 2014 17:56:13 GMT (envelope-from dru@svn.freebsd.org) Received: (from dru@localhost) by svn.freebsd.org (8.14.8/8.14.8/Submit) id s2VHuDQ4007676; Mon, 31 Mar 2014 17:56:13 GMT (envelope-from dru@svn.freebsd.org) Message-Id: <201403311756.s2VHuDQ4007676@svn.freebsd.org> From: Dru Lavigne Date: Mon, 31 Mar 2014 17:56:13 +0000 (UTC) To: doc-committers@freebsd.org, svn-doc-all@freebsd.org, svn-doc-head@freebsd.org Subject: svn commit: r44400 - head/en_US.ISO8859-1/books/handbook/security X-SVN-Group: doc-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-doc-head@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: SVN commit messages for the doc tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 31 Mar 2014 17:56:13 -0000 Author: dru Date: Mon Mar 31 17:56:12 2014 New Revision: 44400 URL: http://svnweb.freebsd.org/changeset/doc/44400 Log: Editorial review of Process Accounting. This section is a bit lean. Sponsored by: iXsystems Modified: head/en_US.ISO8859-1/books/handbook/security/chapter.xml Modified: head/en_US.ISO8859-1/books/handbook/security/chapter.xml ============================================================================== --- head/en_US.ISO8859-1/books/handbook/security/chapter.xml Mon Mar 31 17:01:17 2014 (r44399) +++ head/en_US.ISO8859-1/books/handbook/security/chapter.xml Mon Mar 31 17:56:12 2014 (r44400) @@ -3492,12 +3492,17 @@ UWWemqWuz3lAZuORQ9KX their allocation among users, provide for system monitoring, and minimally track a user's commands. - This indeed has both positive and negative points. One + Process accounting has both positive and negative points. One of the positives is that an intrusion may be narrowed down to the point of entry. A negative is the amount of logs generated by process accounting, and the disk space they may require. This section walks an administrator through the basics of process accounting. + + + If more fine-grained accounting is needed, refer to + . + Enabling and Utilizing Process Accounting @@ -3513,16 +3518,17 @@ UWWemqWuz3lAZuORQ9KX Once enabled, accounting will begin to track information such as CPU statistics and executed commands. All accounting logs are in a non-human readable - format which can be viewed using &man.sa.8;. If issued - without any options, &man.sa.8; prints information relating to + format which can be viewed using sa. If issued + without any options, sa prints information relating to the number of per-user calls, the total elapsed time in minutes, total CPU and user time in - minutes, and the average number of I/O operations. - - To view information about commands being issued, use - &man.lastcomm.1;. This command displays the commands issued - by users on specific &man.ttys.5;. For example, this command - prints out all known usage of &man.ls.1; by I/O operations. Refer to + &man.sa.8; for the list of available options which control the + output. + + To display the commands issued + by users, use lastcomm. For example, this command + prints out all usage of ls by trhodes on the ttyp1 terminal: