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 "&gnu-http;/time/time-&time-version;.tar.gz">
|
---|
8 | <!ENTITY time-download-ftp "&gnu-ftp;/time/time-&time-version;.tar.gz">
|
---|
9 | <!ENTITY time-md5sum "d2356e0fe1c0b85285d83c6b2ad51b5f">
|
---|
10 | <!ENTITY time-size "584 KB">
|
---|
11 | <!ENTITY time-buildsize "4.0 MB (with tests)">
|
---|
12 | <!ENTITY time-time "0.1 SBU (with tests)">
|
---|
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
|
---|
40 | functionalities, this utility is required by the LSB.
|
---|
41 | </para>
|
---|
42 |
|
---|
43 | &lfs110a_checked;
|
---|
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 |
|
---|
92 | <screen><userinput>./configure --prefix=/usr &&
|
---|
93 | make</userinput></screen>
|
---|
94 |
|
---|
95 | <para>
|
---|
96 | To test the results, issue: <command>make check</command>.
|
---|
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>
|
---|
110 | <segtitle>Installed Program</segtitle>
|
---|
111 | <segtitle>Installed Library</segtitle>
|
---|
112 | <segtitle>Installed Directory</segtitle>
|
---|
113 |
|
---|
114 | <seglistitem>
|
---|
115 | <seg>
|
---|
116 | time
|
---|
117 | </seg>
|
---|
118 | <seg>
|
---|
119 | None
|
---|
120 | </seg>
|
---|
121 | <seg>
|
---|
122 | None
|
---|
123 | </seg>
|
---|
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>
|
---|
136 | reports various statistics about an executed command
|
---|
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>
|
---|
145 |
|
---|
146 | </sect1>
|
---|