rpms/psacct/devel psacct-6.3.2-man-pages.patch, NONE, 1.1 psacct.spec, 1.39, 1.40

Ivana Varekova varekova at fedoraproject.org
Wed Dec 2 13:37:43 UTC 2009


Author: varekova

Update of /cvs/pkgs/rpms/psacct/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv5350

Modified Files:
	psacct.spec 
Added Files:
	psacct-6.3.2-man-pages.patch 
Log Message:
- add dump-utmp.8 and dump-acct.8 man-pages



psacct-6.3.2-man-pages.patch:
 dump-acct.8 |   37 +++++++++++++++++++++++++++++++++++++
 dump-utmp.8 |   29 +++++++++++++++++++++++++++++
 2 files changed, 66 insertions(+)

--- NEW FILE psacct-6.3.2-man-pages.patch ---
diff -up acct-6.3.2/dump-acct.8.orig acct-6.3.2/dump-acct.8
--- acct-6.3.2/dump-acct.8.orig	2009-12-02 13:56:58.000000000 +0100
+++ acct-6.3.2/dump-acct.8	2009-12-02 13:56:58.000000000 +0100
@@ -0,0 +1,37 @@
+.\" Copyright (C) 2009 Red Hat, Inc. All Rights Reserved.
+.\" Written by Ivana Hutarova Varekova <varekova at redhat.com>
+.TH DUMP_ACCT 8 "2009 December 2" "Linux accounting system"
+
+.SH NAME
+dump\-acct \- print an acct/pacct file in human-readable format
+
+.SH SYNOPSYS
+\fBdump-acct\fR [\fB-hrR\fR] [\fB-n\fR <\fIrecs\fR>] <\fBfiles\fR>
+       [\fB--num\fR <\fIrecs\fR>] [\fB--raw\fR] [\fB--reverse\fR] [\fB--help\fR]
+
+.SH DESCRIPTION
+The dump-acct command transforms the output \fBfile\fR from the
+accton format to the human-readable format: one record per line.
+Each record consists of severald fields which are separated by
+character "|" (the meaning of concreate field depends on the
+version of kernel package - with which the accton file was created).
+
+.SH OPTIONS
+The following options are supported:
+.TP
+.B -h, --help
+Print a help message and the default location of the process accounting file
+and exit.
+.TP
+.B -r, --reverse
+Print the output in reverse order.
+.TP
+.B -R, --raw
+The records will be printed without any parsing.
+.TP
+.B -n, --num NUMRECS
+Display only the first NUMRECS number of records.
+
+.SH SEE ALSO
+accton (8), lastcomm (1)
+
diff -up acct-6.3.2/dump-utmp.8.orig acct-6.3.2/dump-utmp.8
--- acct-6.3.2/dump-utmp.8.orig	2009-12-02 13:57:05.000000000 +0100
+++ acct-6.3.2/dump-utmp.8	2009-12-02 13:57:05.000000000 +0100
@@ -0,0 +1,29 @@
+.\" Copyright (C) 2009 Red Hat, Inc. All Rights Reserved.
+.\" Written by Ivana Hutarova Varekova <varekova at redhat.com>
+.TH DUMP_UTMP 8 "2009 December 2" "Linux accounting system"
+
+.SH NAME
+dump\-utmp \- print a utmp file in human-readable format
+
+.SH SYNOPSYS
+\fBdump-utmp\fR [\fB-hrR\fR] [\fB-n\fR <\fIrecs\fR>] <\fBfiles\fR>
+      [\fB--num\fR <\fIrecs\fR>] [\fB--raw\fR] [\fB--reverse\fR] [\fB--help\fR]
+
+.SH OPTIONS
+The following options are supported:
+.TP
+.B -h, --help
+Print a help message and the default location of the process accounting file
+and exit.
+.TP
+.B -r, --reverse
+Print the output in reverse order.
+.TP
+.B -R, --raw
+The records will be printed without any parsing.
+.TP
+.B -n, --num NUMRECS
+Display only the first NUMRECS number of records.
+
+.SH SEE ALSO
+accton (8), lastcomm (1), utmp (5)


Index: psacct.spec
===================================================================
RCS file: /cvs/pkgs/rpms/psacct/devel/psacct.spec,v
retrieving revision 1.39
retrieving revision 1.40
diff -u -p -r1.39 -r1.40
--- psacct.spec	16 Sep 2009 07:20:45 -0000	1.39
+++ psacct.spec	2 Dec 2009 13:37:42 -0000	1.40
@@ -12,7 +12,7 @@
 Summary: Utilities for monitoring process activities
 Name: psacct
 Version: 6.3.2
-Release: 55%{?dist}
+Release: 56%{?dist}
 License: GPLv2+
 Group: Applications/System
 Source: ftp://ftp.gnu.org/pub/gnu/acct-6.3.2.tar.gz
@@ -30,6 +30,7 @@ Patch6: psacct-6.3.2-sa-manfix.patch
 Patch7: psacct-6.3.2-LargeFile.patch
 Patch8: psacct-6.3.2-lastcomm_man.patch
 Patch9: acct-6.3.2-sa_manpage.patch
+Patch11: psacct-6.3.2-man-pages.patch
 
 Buildroot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 Requires: /sbin/chkconfig /sbin/install-info
@@ -64,6 +65,7 @@ commands.
 %patch7 -p1 -b .lfs
 %patch8 -p1 -b .man
 %patch9 -p1 -b .pct
+%patch11 -p1 -b .new
 
 %build
 %if ! %{FHS_compliant}
@@ -82,6 +84,7 @@ mkdir -p $RPM_BUILD_ROOT{/sbin,%{_bindir
 make install prefix=$RPM_BUILD_ROOT%{_prefix} \
         bindir=$RPM_BUILD_ROOT%{_bindir} sbindir=$RPM_BUILD_ROOT%{_sbindir} \
         infodir=$RPM_BUILD_ROOT%{_datadir}/info mandir=$RPM_BUILD_ROOT%{_mandir}
+cp dump-acct.8 dump-utmp.8 $RPM_BUILD_ROOT%{_mandir}/man8/
 
 # move accton to /sbin -- leave historical symlink
 mv $RPM_BUILD_ROOT%{_sbindir}/accton $RPM_BUILD_ROOT/sbin/accton
@@ -171,9 +174,14 @@ fi
 %{_mandir}/man1/lastcomm.1*
 %{_mandir}/man8/sa.8*
 %{_mandir}/man8/accton.8*
+%{_mandir}/man8/dump-acct.8*
+%{_mandir}/man8/dump-utmp.8*
 %{_infodir}/accounting.info.gz
 
 %changelog
+* Wed Dec  2 2009 Ivana Hutarova Varekova <varekova at redhat.com> - 6.2.3-56
+- add dump-utmp.8 and dump-acct.8 man-pages
+
 * Wed Sep 16 2009 Ivana Varekova <varekova at redhat.com> - 6.2.3-55
 - fix init script (#521195)
 




More information about the scm-commits mailing list