[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 |
|
---|
| 7 | <!ENTITY time-download-http "http://ftp.gnu.org/gnu/time/time-1.7.tar.gz">
|
---|
| 8 | <!ENTITY time-download-ftp "ftp://ftp.gnu.org/gnu/time/time-1.7.tar.gz">
|
---|
| 9 | <!ENTITY time-md5sum "e38d2b8b34b1ca259cf7b053caac32b3">
|
---|
| 10 | <!ENTITY time-size "101 KB">
|
---|
| 11 | <!ENTITY time-buildsize "640 KB">
|
---|
| 12 | <!ENTITY time-time "Less than 0.1 SBU">
|
---|
| 13 | ]>
|
---|
| 14 |
|
---|
[ac38e9dc] | 15 | <sect1 id="time" xreflabel="Time-&time-version;">
|
---|
[2d56483] | 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">
|
---|
[ac38e9dc] | 26 | <primary sortas="a-Time">Time</primary>
|
---|
[2d56483] | 27 | </indexterm>
|
---|
| 28 |
|
---|
| 29 | <sect2 role="package">
|
---|
| 30 | <title>Introduction to Time</title>
|
---|
| 31 |
|
---|
| 32 | <para>
|
---|
[ac38e9dc] | 33 | The <application>Time</application> utility is a program that
|
---|
[2d56483] | 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
|
---|
| 41 | functionalities, this utility is reuired by the LSB.
|
---|
| 42 | </para>
|
---|
| 43 |
|
---|
[726744f4] | 44 | &lfs78_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 |
|
---|
[5cb75dd] | 93 | <screen><userinput>sed -i 's/$(ACLOCAL)//' Makefile.in &&
|
---|
| 94 | sed -i 's/lu", ptok ((UL) resp->ru.ru_maxrss)/ld", resp->ru.ru_maxrss/' time.c &&
|
---|
| 95 | ./configure --prefix=/usr --infodir=/usr/share/info &&
|
---|
[2d56483] | 96 | make</userinput></screen>
|
---|
| 97 |
|
---|
| 98 | <para>
|
---|
| 99 | This package does not come with a test suite.
|
---|
| 100 | </para>
|
---|
| 101 |
|
---|
| 102 | <para>
|
---|
| 103 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
| 104 | </para>
|
---|
| 105 |
|
---|
| 106 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
[ac38e9dc] | 107 |
|
---|
[2d56483] | 108 | </sect2>
|
---|
| 109 |
|
---|
| 110 | <sect2 role="content">
|
---|
| 111 | <title>Contents</title>
|
---|
| 112 |
|
---|
| 113 | <segmentedlist>
|
---|
[3bdfdc61] | 114 | <segtitle>Installed Programs</segtitle>
|
---|
| 115 | <segtitle>Installed Libraries</segtitle>
|
---|
| 116 | <segtitle>Installed Directories</segtitle>
|
---|
[2d56483] | 117 |
|
---|
| 118 | <seglistitem>
|
---|
| 119 | <seg>
|
---|
[3bdfdc61] | 120 | time
|
---|
| 121 | </seg>
|
---|
| 122 | <seg>
|
---|
| 123 | None
|
---|
| 124 | </seg>
|
---|
| 125 | <seg>
|
---|
| 126 | None
|
---|
[2d56483] | 127 | </seg>
|
---|
| 128 | </seglistitem>
|
---|
| 129 | </segmentedlist>
|
---|
| 130 |
|
---|
| 131 | <variablelist>
|
---|
| 132 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 133 | <?dbfo list-presentation="list"?>
|
---|
| 134 | <?dbhtml list-presentation="table"?>
|
---|
| 135 |
|
---|
| 136 | <varlistentry id="time-prog">
|
---|
| 137 | <term><command>time</command></term>
|
---|
| 138 | <listitem>
|
---|
| 139 | <para>
|
---|
[ac38e9dc] | 140 | reports various statistics about an executed command.
|
---|
[2d56483] | 141 | </para>
|
---|
| 142 | <indexterm zone="time time-prog">
|
---|
| 143 | <primary sortas="b-time">time</primary>
|
---|
| 144 | </indexterm>
|
---|
| 145 | </listitem>
|
---|
| 146 | </varlistentry>
|
---|
[ac38e9dc] | 147 |
|
---|
[2d56483] | 148 | </variablelist>
|
---|
[ac38e9dc] | 149 |
|
---|
[2d56483] | 150 | </sect2>
|
---|
[ac38e9dc] | 151 |
|
---|
[2d56483] | 152 | </sect1>
|
---|