source: general/genutils/time.xml

trunk
Last change on this file was 5d0e7b8, checked in by Douglas R. Reno <renodr@…>, 2 months ago

A bunch of tags

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