Bug 697479

Summary: ziomon: Option '--output' should be '--outfile' as documented.
Product: Red Hat Enterprise Linux 5 Reporter: IBM Bug Proxy <bugproxy>
Component: s390utilsAssignee: Dan HorĂ¡k <dhorak>
Status: CLOSED ERRATA QA Contact: qe-baseos-daemons
Severity: medium Docs Contact:
Priority: medium    
Version: 5.6CC: azelinka, balkov, jkachuck, ovasik
Target Milestone: rc   
Target Release: ---   
Hardware: s390x   
OS: All   
Whiteboard:
Fixed In Version: s390utils-1.8.1-15.el5 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-07-21 07:52:30 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Bug Depends On:    
Bug Blocks: 684940    
Attachments:
Description Flags
s390-tools-rhel5-ziomon-outfile-invalid-option.patch none

Description IBM Bug Proxy 2011-04-18 12:31:17 UTC
s390-tools-rhel5-ziomon-outfile-invalid-option.patch

Description:  ziomon: Option '--output' should be '--outfile' as documented.
Symptom:      Using documented command line option '--outfile' results in error.
Problem:      Code checks for '--output' instead of '--outfile'.
Solution:     Accept command line option '--outfile' instead of '--output'.

The patch has been tested, fixes the problem, and will be included in the next
upstream release of the s390-tools.

With best regards,
     Hendrik

Comment 1 IBM Bug Proxy 2011-04-18 12:31:22 UTC
Created attachment 492885 [details]
s390-tools-rhel5-ziomon-outfile-invalid-option.patch

Comment 5 IBM Bug Proxy 2011-06-13 11:30:28 UTC
------- Comment From sachinp.com 2011-06-13 07:21 EDT-------
# uname -r
2.6.18-264.el5

# ziomon --help
Usage: ziomon [-h] [-V] [-v] [-f] [-l <sz_limit>] [-i n] -d n
-o <logfile> <device>...

Collect performance data for the specified zfcp devices or multipath devices.
Example: ziomon -d 5 -o log /dev/sda

-h, --help            Print usage information and exit.
-v, --version         Print version information and exit.
-V, --verbose         Be verbose.
-i, --interval-length Elapsed time between recording data in seconds.
All samples in this timeframe will be aggregated.
Must be an even number.
Defaults to 60 seconds.
-d, --duration        Total duration to sample data in minutes.
-f, --force           Force run even with insufficient disk space.
-o, --outfile         Specify logfile name.
-l, --size-limit      Specify an upper limit for the data output.
Use suffixes M (megabytes), G (Gigabytes)
or T (Terabytes) to specify a unit measure.
Unit measure defaults to megabytes.

Man pages for ziomon also reflects the correct option.

Comment 6 errata-xmlrpc 2011-07-21 07:52:30 UTC
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on therefore solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.

http://rhn.redhat.com/errata/RHBA-2011-1021.html