source: general/genutils/time.xml@ c8385bb7

10.0 10.1 11.0 11.1 11.2 8.1 8.2 8.3 8.4 9.0 9.1 basic bdubbs/svn elogind lazarus perl-modules plabs/python-mods qt5new trunk upgradedb xry111/intltool xry111/soup3 xry111/test-20220226
Last change on this file since c8385bb7 was c8385bb7, checked in by Douglas R. Reno <renodr@…>, 5 years ago

Tags and some text updates

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

  • Property mode set to 100644
File size: 4.0 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 "&gnu-http;/time/time-1.7.tar.gz">
8 <!ENTITY time-download-ftp "&gnu-ftp;/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 &lfs81_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
100./configure --prefix=/usr --infodir=/usr/share/info &amp;&amp;
101make</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>
118 <segtitle>Installed Program</segtitle>
119 <seglistitem>
120 <seg>
121 time
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>
135 reports various statistics about an executed command.
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>
Note: See TracBrowser for help on using the repository browser.