Bug 736332 - lnstat -d prints tables to stderr rather than stdout
Summary: lnstat -d prints tables to stderr rather than stdout
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: iproute
Version: rawhide
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Petr Šabata
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-09-07 12:47 UTC by Petr Šabata
Modified: 2015-04-24 06:32 UTC (History)
5 users (show)

Fixed In Version: iproute-2.6.39-4.fc17
Doc Type: Bug Fix
Doc Text:
Clone Of: 736106
Environment:
Last Closed: 2011-09-07 12:57:03 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
lnstat: dump to stdout (330 bytes, patch)
2011-09-07 12:54 UTC, Petr Šabata
no flags Details | Diff

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.


Note You need to log in before you can comment on or make changes to this bug.