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