[2d56483] | 1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
| 2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
---|
| 3 | "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
---|
| 4 | <!ENTITY % general-entities SYSTEM "../../general.ent">
|
---|
| 5 | %general-entities;
|
---|
| 6 |
|
---|
[ac21604] | 7 | <!ENTITY time-download-http "&gnu-http;/time/time-&time-version;.tar.gz">
|
---|
| 8 | <!ENTITY time-download-ftp "&gnu-ftp;/time/time-&time-version;.tar.gz">
|
---|
[d385aba] | 9 | <!ENTITY time-md5sum "d2356e0fe1c0b85285d83c6b2ad51b5f">
|
---|
| 10 | <!ENTITY time-size "584 KB">
|
---|
| 11 | <!ENTITY time-buildsize "4.0 MB (with tests)">
|
---|
[ac21604] | 12 | <!ENTITY time-time "0.1 SBU (with tests)">
|
---|
[2d56483] | 13 | ]>
|
---|
| 14 |
|
---|
| 15 | <sect1 id="time" xreflabel="time-&time-version;">
|
---|
| 16 | <?dbhtml filename="time.html"?>
|
---|
| 17 |
|
---|
| 18 | <sect1info>
|
---|
| 19 | <othername>$LastChangedBy$</othername>
|
---|
| 20 | <date>$Date$</date>
|
---|
| 21 | </sect1info>
|
---|
| 22 |
|
---|
| 23 | <title>Time-&time-version;</title>
|
---|
| 24 |
|
---|
| 25 | <indexterm zone="time">
|
---|
| 26 | <primary sortas="a-time">time</primary>
|
---|
| 27 | </indexterm>
|
---|
| 28 |
|
---|
| 29 | <sect2 role="package">
|
---|
| 30 | <title>Introduction to Time</title>
|
---|
| 31 |
|
---|
| 32 | <para>
|
---|
| 33 | The <application>time</application> utility is a program that
|
---|
| 34 | measures many of the CPU resources, such as time and memory, that
|
---|
| 35 | other programs use. The GNU version can format the output in
|
---|
| 36 | arbitrary ways by using a printf-style format string to include
|
---|
| 37 | various resource measurements.
|
---|
| 38 | </para>
|
---|
| 39 | <para>
|
---|
| 40 | Although the shell has a builtin command providing similar
|
---|
[ac21604] | 41 | functionalities, this utility is required by the LSB.
|
---|
[2d56483] | 42 | </para>
|
---|
| 43 |
|
---|
[43b1dad3] | 44 | &lfs83_checked;
|
---|
[2d56483] | 45 |
|
---|
| 46 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 47 | <itemizedlist spacing="compact">
|
---|
| 48 | <listitem>
|
---|
| 49 | <para>
|
---|
| 50 | Download (HTTP): <ulink url="&time-download-http;"/>
|
---|
| 51 | </para>
|
---|
| 52 | </listitem>
|
---|
| 53 | <listitem>
|
---|
| 54 | <para>
|
---|
| 55 | Download (FTP): <ulink url="&time-download-ftp;"/>
|
---|
| 56 | </para>
|
---|
| 57 | </listitem>
|
---|
| 58 | <listitem>
|
---|
| 59 | <para>
|
---|
| 60 | Download MD5 sum: &time-md5sum;
|
---|
| 61 | </para>
|
---|
| 62 | </listitem>
|
---|
| 63 | <listitem>
|
---|
| 64 | <para>
|
---|
| 65 | Download size: &time-size;
|
---|
| 66 | </para>
|
---|
| 67 | </listitem>
|
---|
| 68 | <listitem>
|
---|
| 69 | <para>
|
---|
| 70 | Estimated disk space required: &time-buildsize;
|
---|
| 71 | </para>
|
---|
| 72 | </listitem>
|
---|
| 73 | <listitem>
|
---|
| 74 | <para>
|
---|
| 75 | Estimated build time: &time-time;
|
---|
| 76 | </para>
|
---|
| 77 | </listitem>
|
---|
| 78 | </itemizedlist>
|
---|
| 79 |
|
---|
| 80 | <para condition="html" role="usernotes">
|
---|
| 81 | User Notes: <ulink url="&blfs-wiki;/time"/>
|
---|
| 82 | </para>
|
---|
| 83 | </sect2>
|
---|
| 84 |
|
---|
| 85 | <sect2 role="installation">
|
---|
| 86 | <title>Installation of Time</title>
|
---|
| 87 |
|
---|
| 88 | <para>
|
---|
| 89 | Install <application>Time</application> by running the following
|
---|
| 90 | commands:
|
---|
| 91 | </para>
|
---|
| 92 |
|
---|
[ac21604] | 93 | <screen><userinput>./configure --prefix=/usr &&
|
---|
[2d56483] | 94 | make</userinput></screen>
|
---|
| 95 |
|
---|
| 96 | <para>
|
---|
[ac21604] | 97 | To test the results, issue: <command>make check</command>.
|
---|
[2d56483] | 98 | </para>
|
---|
| 99 |
|
---|
| 100 | <para>
|
---|
| 101 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
| 102 | </para>
|
---|
| 103 |
|
---|
| 104 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
| 105 | </sect2>
|
---|
| 106 |
|
---|
| 107 | <sect2 role="content">
|
---|
| 108 | <title>Contents</title>
|
---|
| 109 |
|
---|
| 110 | <segmentedlist>
|
---|
[752ca2d] | 111 | <segtitle>Installed Program</segtitle>
|
---|
[ac21604] | 112 | <segtitle>Installed Library</segtitle>
|
---|
| 113 | <segtitle>Installed Directory</segtitle>
|
---|
| 114 |
|
---|
[2d56483] | 115 | <seglistitem>
|
---|
| 116 | <seg>
|
---|
[752ca2d] | 117 | time
|
---|
[2d56483] | 118 | </seg>
|
---|
[ac21604] | 119 | <seg>
|
---|
| 120 | None
|
---|
| 121 | </seg>
|
---|
| 122 | <seg>
|
---|
| 123 | None
|
---|
| 124 | </seg>
|
---|
[2d56483] | 125 | </seglistitem>
|
---|
| 126 | </segmentedlist>
|
---|
| 127 |
|
---|
| 128 | <variablelist>
|
---|
| 129 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 130 | <?dbfo list-presentation="list"?>
|
---|
| 131 | <?dbhtml list-presentation="table"?>
|
---|
| 132 |
|
---|
| 133 | <varlistentry id="time-prog">
|
---|
| 134 | <term><command>time</command></term>
|
---|
| 135 | <listitem>
|
---|
| 136 | <para>
|
---|
[752ca2d] | 137 | reports various statistics about an executed command.
|
---|
[2d56483] | 138 | </para>
|
---|
| 139 | <indexterm zone="time time-prog">
|
---|
| 140 | <primary sortas="b-time">time</primary>
|
---|
| 141 | </indexterm>
|
---|
| 142 | </listitem>
|
---|
| 143 | </varlistentry>
|
---|
| 144 | </variablelist>
|
---|
| 145 | </sect2>
|
---|
| 146 | </sect1>
|
---|