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