File: //usr/share/doc/acct/html/accton.html
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<!-- Created by GNU Texinfo 6.8, https://www.gnu.org/software/texinfo/ -->
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>accton (Accounting Utilities Manual)</title>
<meta name="description" content="accton (Accounting Utilities Manual)">
<meta name="keywords" content="accton (Accounting Utilities Manual)">
<meta name="resource-type" content="document">
<meta name="distribution" content="global">
<meta name="Generator" content="makeinfo">
<meta name="viewport" content="width=device-width,initial-scale=1">
<link href="index.html" rel="start" title="Top">
<link href="index.html#SEC_Contents" rel="contents" title="Table of Contents">
<link href="index.html" rel="up" title="Top">
<link href="lastcomm.html" rel="next" title="lastcomm">
<link href="ac.html" rel="prev" title="ac">
<style type="text/css">
<!--
a.copiable-anchor {visibility: hidden; text-decoration: none; line-height: 0em}
a.summary-letter {text-decoration: none}
blockquote.indentedblock {margin-right: 0em}
div.display {margin-left: 3.2em}
div.example {margin-left: 3.2em}
kbd {font-style: oblique}
pre.display {font-family: inherit}
pre.format {font-family: inherit}
pre.menu-comment {font-family: serif}
pre.menu-preformatted {font-family: serif}
span.nolinebreak {white-space: nowrap}
span.roman {font-family: initial; font-weight: normal}
span.sansserif {font-family: sans-serif; font-weight: normal}
span:hover a.copiable-anchor {visibility: visible}
ul.no-bullet {list-style: none}
-->
</style>
</head>
<body lang="en">
<div class="chapter" id="accton">
<div class="header">
<p>
Next: <a href="lastcomm.html" accesskey="n" rel="next"><code>lastcomm</code></a>, Previous: <a href="ac.html" accesskey="p" rel="prev"><code>ac</code></a>, Up: <a href="index.html" accesskey="u" rel="up">Top</a> [<a href="index.html#SEC_Contents" title="Table of contents" rel="contents">Contents</a>]</p>
</div>
<hr>
<span id="accton-1"></span><h2 class="chapter">2 <code>accton</code></h2>
<p><code>accton</code> turns process accounting on or off. To save process
accounting information in <var>accountingfile</var>, use:
</p>
<p><code>accton <var>accountingfile</var></code>
</p>
<ul class="section-toc">
<li><a href="#Flags-1" accesskey="1">Flags</a></li>
</ul>
<div class="section" id="Flags-1">
<h3 class="section">2.1 Flags</h3>
<dl compact="compact">
<dt><span><code>-V</code></span></dt>
<dt><span><code>--version</code></span></dt>
<dd><p>Print <code>accton</code>’s version number.
</p>
</dd>
<dt><span><code>-h</code></span></dt>
<dt><span><code>--help</code></span></dt>
<dd><p>Print <code>accton</code>’s usage string and default locations of system files
to standard output.
</p>
</dd>
<dt><span><code>on</code></span></dt>
<dd><p>Turns on process accounting using the default accounting file.
</p>
</dd>
<dt><span><code>off</code></span></dt>
<dd><p>Turns off process accounting.
</p>
</dd>
</dl>
</div>
</div>
</body>
</html>