source: general/genutils/time.xml@ 5cb75dd

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 5cb75dd was 5cb75dd, checked in by Bruce Dubbs <bdubbs@…>, 10 years ago

Fix some minor errors in the time command

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

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