Add the "time" utility

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@12853 af4574ff-66df-0310-9fd7-8a98e5e911e0
This commit is contained in:
Pierre Labastie 2014-03-11 21:47:06 +00:00
parent a2f1705743
commit 2d564832bb
4 changed files with 157 additions and 0 deletions

View File

@ -324,6 +324,7 @@ export -f as_root</userinput></screen>
<!ENTITY screen-version "4.0.3">
<!ENTITY sharutils-version "4.14">
<!ENTITY tidy-version "cvs_20101110">
<!ENTITY time-version "1.7">
<!ENTITY tree-version "1.6.0">
<!ENTITY unixodbc-version "2.3.2">
<!ENTITY xscreensaver-version "5.26">

View File

@ -39,6 +39,7 @@ $Date$
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="shared-mime-info.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="sharutils.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="tidy.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="time.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="tree.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="unixodbc.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="xscreensaver.xml"/>

150
general/genutils/time.xml Normal file
View File

@ -0,0 +1,150 @@
<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
"http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
<!ENTITY % general-entities SYSTEM "../../general.ent">
%general-entities;
<!ENTITY time-download-http "http://ftp.gnu.org/gnu/time/time-1.7.tar.gz">
<!ENTITY time-download-ftp "ftp://ftp.gnu.org/gnu/time/time-1.7.tar.gz">
<!ENTITY time-md5sum "e38d2b8b34b1ca259cf7b053caac32b3">
<!ENTITY time-size "101 KB">
<!ENTITY time-buildsize "640 KB">
<!ENTITY time-time "Less than 0.1 SBU">
]>
<!-- Try to keep the indentation used in this file-->
<sect1 id="time" xreflabel="time-&time-version;">
<?dbhtml filename="time.html"?>
<sect1info>
<othername>$LastChangedBy$</othername>
<date>$Date$</date>
</sect1info>
<!-- No other tags inside any title.
Use Title Case in All Titles -->
<title>Time-&time-version;</title>
<indexterm zone="time">
<primary sortas="a-time">time</primary>
</indexterm>
<!--Required section-->
<sect2 role="package">
<title>Introduction to Time</title>
<para>
The <application>time</application> utility is a program that
measures many of the CPU resources, such as time and memory, that
other programs use. The GNU version can format the output in
arbitrary ways by using a printf-style format string to include
various resource measurements.
</para>
<para>
Although the shell has a builtin command providing similar
functionalities, this utility is reuired by the LSB.
</para>
&lfs75_checked;
<bridgehead renderas="sect3">Package Information</bridgehead>
<itemizedlist spacing="compact">
<listitem>
<para>
Download (HTTP): <ulink url="&time-download-http;"/>
</para>
</listitem>
<listitem>
<para>
Download (FTP): <ulink url="&time-download-ftp;"/>
</para>
</listitem>
<listitem>
<para>
Download MD5 sum: &time-md5sum;
</para>
</listitem>
<listitem>
<para>
Download size: &time-size;
</para>
</listitem>
<listitem>
<para>
Estimated disk space required: &time-buildsize;
</para>
</listitem>
<listitem>
<para>
Estimated build time: &time-time;
</para>
</listitem>
</itemizedlist>
<para condition="html" role="usernotes">
User Notes: <ulink url="&blfs-wiki;/time"/>
</para>
</sect2>
<sect2 role="installation">
<title>Installation of Time</title>
<para>
Install <application>Time</application> by running the following
commands:
</para>
<screen><userinput>./configure --prefix=/usr --infodir=/usr/share/info &amp;&amp;
make</userinput></screen>
<para>
This package does not come with a test suite.
</para>
<para>
Now, as the <systemitem class="username">root</systemitem> user:
</para>
<screen role="root"><userinput>make install</userinput></screen>
</sect2>
<sect2 role="content">
<title>Contents</title>
<segmentedlist>
<segtitle>Installed Program(s)</segtitle>
<!-- If there were no programs, libraries, or directories created, then
we would list the section as "None". However, a decision must have
been made to change the "None" to just removing the whole section
because I've noticed that many packages have had the "None"
removed and the section completely removed as well. The reasoning
was that by putting "None", it appears as we know there are none.
Without anything it appears as we are not sure. -->
<seglistitem>
<seg>
time.
</seg>
</seglistitem>
</segmentedlist>
<variablelist>
<bridgehead renderas="sect3">Short Descriptions</bridgehead>
<?dbfo list-presentation="list"?>
<?dbhtml list-presentation="table"?>
<varlistentry id="time-prog">
<term><command>time</command></term>
<listitem>
<para>
reports various srtatistics about an executed command.
</para>
<indexterm zone="time time-prog">
<primary sortas="b-time">time</primary>
</indexterm>
</listitem>
</varlistentry>
</variablelist>
</sect2>
</sect1>

View File

@ -47,6 +47,11 @@
<listitem>
<para>March 11th, 2014</para>
<itemizedlist>
<listitem>
<para>[pierre] - Add the <application>time</application>
utility, as required by the LSB. Partially fulfills
<ulink url="&blfs-ticket-root;4736">#4736</ulink>.</para>
</listitem>
<listitem>
<para>[fernando] - Update to udisks-2.1.3. Fixes
<ulink url="&blfs-ticket-root;4776">#4776</ulink>.</para>