source: general/genutils/time.xml@ 2d56483

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 7.10 7.6 7.6-blfs 7.6-systemd 7.7 7.8 7.9 8.0 8.1 8.2 8.3 8.4 9.0 9.1 basic bdubbs/svn elogind gnome kde5-13430 kde5-14269 kde5-14686 kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts krejzi/svn lazarus lxqt nosym perl-modules plabs/newcss plabs/python-mods python3.11 qt5new rahul/power-profiles-daemon renodr/vulkan-addition systemd-11177 systemd-13485 trunk upgradedb xry111/intltool xry111/llvm18 xry111/soup3 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since 2d56483 was 2d56483, checked in by Pierre Labastie <pieere@…>, 10 years ago

Add the "time" utility

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@12853 af4574ff-66df-0310-9fd7-8a98e5e911e0

  • Property mode set to 100644
File size: 4.3 KB
Line 
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
48 &lfs75_checked;
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
97<screen><userinput>./configure --prefix=/usr --infodir=/usr/share/info &amp;&amp;
98make</userinput></screen>
99
100 <para>
101 This package does not come with a test suite.
102 </para>
103
104 <para>
105 Now, as the <systemitem class="username">root</systemitem> user:
106 </para>
107
108<screen role="root"><userinput>make install</userinput></screen>
109 </sect2>
110
111 <sect2 role="content">
112 <title>Contents</title>
113
114 <segmentedlist>
115 <segtitle>Installed Program(s)</segtitle>
116
117 <!-- If there were no programs, libraries, or directories created, then
118 we would list the section as "None". However, a decision must have
119 been made to change the "None" to just removing the whole section
120 because I've noticed that many packages have had the "None"
121 removed and the section completely removed as well. The reasoning
122 was that by putting "None", it appears as we know there are none.
123 Without anything it appears as we are not sure. -->
124
125 <seglistitem>
126 <seg>
127 time.
128 </seg>
129 </seglistitem>
130 </segmentedlist>
131
132 <variablelist>
133 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
134 <?dbfo list-presentation="list"?>
135 <?dbhtml list-presentation="table"?>
136
137 <varlistentry id="time-prog">
138 <term><command>time</command></term>
139 <listitem>
140 <para>
141 reports various srtatistics about an executed command.
142 </para>
143 <indexterm zone="time time-prog">
144 <primary sortas="b-time">time</primary>
145 </indexterm>
146 </listitem>
147 </varlistentry>
148 </variablelist>
149 </sect2>
150</sect1>
Note: See TracBrowser for help on using the repository browser.