source: general/genutils/time.xml@ d19fb65

systemd-13485
Last change on this file since d19fb65 was cbc3f97, checked in by DJ Lucas <dj@…>, 9 years ago

Merge chapter 14 from trunk, merge recent updates from trunk to completed chapters, more -systemd.xml files cleanup.

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/branches/systemd@16869 af4574ff-66df-0310-9fd7-8a98e5e911e0

  • Property mode set to 100644
File size: 4.0 KB
RevLine 
[2d56483]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">
[cbc3f97]12 <!ENTITY time-time "less than 0.1 SBU">
[2d56483]13]>
14
[14ca05b]15<!-- Try to keep the indentation used in this file-->
16<sect1 id="time" xreflabel="time-&time-version;">
[2d56483]17 <?dbhtml filename="time.html"?>
18
19 <sect1info>
20 <othername>$LastChangedBy$</othername>
21 <date>$Date$</date>
22 </sect1info>
23
[14ca05b]24 <!-- No other tags inside any title.
25 Use Title Case in All Titles -->
[2d56483]26 <title>Time-&time-version;</title>
27
28 <indexterm zone="time">
[14ca05b]29 <primary sortas="a-time">time</primary>
[2d56483]30 </indexterm>
31
[14ca05b]32 <!--Required section-->
[2d56483]33 <sect2 role="package">
34 <title>Introduction to Time</title>
35
36 <para>
[14ca05b]37 The <application>time</application> utility is a program that
[2d56483]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
[726744f4]48 &lfs78_checked;
[2d56483]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
[5cb75dd]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;
[14ca05b]99
[5cb75dd]100./configure --prefix=/usr --infodir=/usr/share/info &amp;&amp;
[2d56483]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>
[14ca05b]118 <segtitle>Installed Program</segtitle>
[2d56483]119 <seglistitem>
120 <seg>
[3bdfdc61]121 time
122 </seg>
[2d56483]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>
[ac38e9dc]135 reports various statistics about an executed command.
[2d56483]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.