glfs/general/genutils/time.xml

144 lines
3.8 KiB
XML
Raw Normal View History

<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
"http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
<!ENTITY % general-entities SYSTEM "../../general.ent">
%general-entities;
<!ENTITY time-download-http "&gnu-http;/time/time-&time-version;.tar.gz">
<!ENTITY time-download-ftp "&gnu-ftp;/time/time-&time-version;.tar.gz">
<!ENTITY time-md5sum "d2356e0fe1c0b85285d83c6b2ad51b5f">
<!ENTITY time-size "584 KB">
<!ENTITY time-buildsize "4.0 MB (with tests)">
<!ENTITY time-time "0.1 SBU (with tests)">
]>
<sect1 id="time" xreflabel="time-&time-version;">
<?dbhtml filename="time.html"?>
<title>Time-&time-version;</title>
<indexterm zone="time">
<primary sortas="a-time">time</primary>
</indexterm>
<sect2 role="package">
<title>Introduction to Time</title>
<para>
The <application>time</application> utility is a program that
measures many of the CPU resources, such as time and memory, that
other programs use. The GNU version can format the output in
arbitrary ways by using a printf-style format string to include
various resource measurements.
</para>
<para>
Although the shell has a builtin command providing similar
functionalities, this utility is required by the LSB.
</para>
2022-08-23 04:41:07 +08:00
&lfs112_checked;
<bridgehead renderas="sect3">Package Information</bridgehead>
<itemizedlist spacing="compact">
<listitem>
<para>
Download (HTTP): <ulink url="&time-download-http;"/>
</para>
</listitem>
<listitem>
<para>
Download (FTP): <ulink url="&time-download-ftp;"/>
</para>
</listitem>
<listitem>
<para>
Download MD5 sum: &time-md5sum;
</para>
</listitem>
<listitem>
<para>
Download size: &time-size;
</para>
</listitem>
<listitem>
<para>
Estimated disk space required: &time-buildsize;
</para>
</listitem>
<listitem>
<para>
Estimated build time: &time-time;
</para>
</listitem>
</itemizedlist>
<para condition="html" role="usernotes">
User Notes: <ulink url="&blfs-wiki;/time"/>
</para>
</sect2>
<sect2 role="installation">
<title>Installation of Time</title>
<para>
Install <application>Time</application> by running the following
commands:
</para>
<screen><userinput>./configure --prefix=/usr &amp;&amp;
make</userinput></screen>
<para>
To test the results, issue: <command>make check</command>.
</para>
<para>
Now, as the <systemitem class="username">root</systemitem> user:
</para>
<screen role="root"><userinput>make install</userinput></screen>
</sect2>
<sect2 role="content">
<title>Contents</title>
<segmentedlist>
<segtitle>Installed Program</segtitle>
<segtitle>Installed Library</segtitle>
<segtitle>Installed Directory</segtitle>
<seglistitem>
<seg>
time
</seg>
<seg>
None
</seg>
<seg>
None
</seg>
</seglistitem>
</segmentedlist>
<variablelist>
<bridgehead renderas="sect3">Short Descriptions</bridgehead>
<?dbfo list-presentation="list"?>
<?dbhtml list-presentation="table"?>
<varlistentry id="time-prog">
<term><command>time</command></term>
<listitem>
<para>
reports various statistics about an executed command
</para>
<indexterm zone="time time-prog">
<primary sortas="b-time">time</primary>
</indexterm>
</listitem>
</varlistentry>
</variablelist>
</sect2>
</sect1>