Bug 736332

Summary: lnstat -d prints tables to stderr rather than stdout
Product: [Fedora] Fedora Reporter: Petr Šabata <psabata>
Component: iprouteAssignee: Petr Šabata <psabata>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: medium    
Version: rawhideCC: psabata, psimerda, rvokal, tgummels, twoerner
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: iproute-2.6.39-4.fc17 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: 736106 Environment:
Last Closed: 2011-09-07 12:57:03 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
lnstat: dump to stdout none

Description Petr Šabata 2011-09-07 12:47:39 UTC
Description of problem:

lnstat -d prints tables to stderr rather than stdout

[ben@snog Desktop]$ lnstat -d 2>/dev/null
[ben@snog Desktop]$ lnstat -d >/dev/null
/proc/net/stat/arp_cache:
	 1: entries
	 2: allocs
	 3: destroys
	 4: hash_grows
	 5: lookups
	 6: hits
	 7: res_failed
	 8: rcv_probes_mcast
	 9: rcv_probes_ucast
	10: periodic_gc_runs
	11: forced_gc_runs
	12: unresolved_discards


Version-Release number of selected component (if applicable):
iproute-2.6.32-16.el6

How reproducible:
100%

Steps to Reproduce:
1. lnstat -d 2>/dev/null

Actual results:
Output to stderr

Expected results:
Output to stdout

Additional info:

Comment 1 Petr Šabata 2011-09-07 12:54:50 UTC
Created attachment 521870 [details]
lnstat: dump to stdout

Comment 2 Pavel Šimerda (pavlix) 2015-04-24 06:32:58 UTC
Fixed in upstream Git.