Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

--noxh option does not work as expected #4

Open
ptalbert opened this issue Oct 16, 2016 · 1 comment
Open

--noxh option does not work as expected #4

ptalbert opened this issue Oct 16, 2016 · 1 comment

Comments

@ptalbert
Copy link

From the -h description the --nohx option should hide extra header output. It does not seem to work or I do not understand what it is supposed to be doing???

Version info: rsar v0.1.1 last mod 2013/08/21

$ rsar --noxh --hn -z -n DEV,EDEV,SOCK,IP,EIP,TCP,ETCP,UDP var/log/sa/sar14 -N eth0 -t '^0[3-4]'
Linux 2.6.32-573.18.1.el6.x86_64 (localhost)    2016-10-14  _x86_64_    (2 CPU)

00:00:01        IFACE   rxpck/s   txpck/s    rxkB/s    txkB/s   rxcmp/s   txcmp/s  rxmcst/s
03:00:01         eth0     43.07     40.44     26.47     12.38      0.00      0.00      0.72
03:10:01         eth0     42.59     39.73     25.85     11.52      0.00      0.00      0.73
03:20:01         eth0     43.21     41.40     29.40     12.19      0.00      0.00      0.73
03:30:01         eth0     42.71     40.05     26.36     11.66      0.00      0.00      0.72
03:40:01         eth0     43.43     40.47     28.38     11.87      0.00      0.00      0.72
03:50:01         eth0     42.53     39.91     25.65     11.46      0.00      0.00      0.72
04:00:01         eth0     43.23     41.51     30.07     12.59      0.00      0.00      0.72
04:10:01         eth0     42.39     39.57     25.86     11.28      0.00      0.00      0.73
04:20:01         eth0     42.88     40.38     25.87     11.87      0.00      0.00      0.73
04:30:01         eth0     44.74     42.31     32.85     13.18      0.00      0.00      0.72
04:40:01         eth0     41.90     39.89     25.75     11.83      0.00      0.00      0.72
04:50:01         eth0     42.70     39.83     25.78     11.10      0.00      0.00      0.72

Linux 2.6.32-573.18.1.el6.x86_64 (localhost)    2016-10-14  _x86_64_    (2 CPU)

00:00:01        IFACE   rxerr/s   txerr/s    coll/s  rxdrop/s  txdrop/s  txcarr/s  rxfram/s  rxfifo/s  txfifo/s
03:00:01         eth0      0.00      0.00      0.00      0.00      0.00      0.00      0.00      0.00      0.00
03:10:01         eth0      0.00      0.00      0.00      0.00      0.00      0.00      0.00      0.00      0.00
03:20:01         eth0      0.00      0.00      0.00      0.00      0.00      0.00      0.00      0.00      0.00
03:30:01         eth0      0.00      0.00      0.00      0.00      0.00      0.00      0.00      0.00      0.00
03:40:01         eth0      0.00      0.00      0.00      0.00      0.00      0.00      0.00      0.00      0.00
03:50:01         eth0      0.00      0.00      0.00      0.00      0.00      0.00      0.00      0.00      0.00
04:00:01         eth0      0.00      0.00      0.00      0.00      0.00      0.00      0.00      0.00      0.00
04:10:01         eth0      0.00      0.00      0.00      0.00      0.00      0.00      0.00      0.00      0.00
04:20:01         eth0      0.00      0.00      0.00      0.00      0.00      0.00      0.00      0.00      0.00
04:30:01         eth0      0.00      0.00      0.00      0.00      0.00      0.00      0.00      0.00      0.00
04:40:01         eth0      0.00      0.00      0.00      0.00      0.00      0.00      0.00      0.00      0.00
04:50:01         eth0      0.00      0.00      0.00      0.00      0.00      0.00      0.00      0.00      0.00

Linux 2.6.32-573.18.1.el6.x86_64 (localhost)    2016-10-14  _x86_64_    (2 CPU)

00:00:01       totsck    tcpsck    udpsck    rawsck   ip-frag    tcp-tw
03:00:01          325         8         9         0         0         1
03:10:01          324         8         9         0         0         1
03:20:01          324         8         9         0         0         1
03:30:01          328         8         9         0         0         1
03:40:01          324         8         9         0         0         1
03:50:01          322         8         9         0         0         3
04:00:01          328         8         9         0         0         1
04:10:01          324         8         9         0         0         1
04:20:01          322         8         9         0         0         2
04:30:01          328         8         9         0         0         1
04:40:01          324         8         9         0         0         1
04:50:01          322         8         9         0         0         2

Linux 2.6.32-573.18.1.el6.x86_64 (localhost)    2016-10-14  _x86_64_    (2 CPU)


Linux 2.6.32-573.18.1.el6.x86_64 (localhost)    2016-10-14  _x86_64_    (2 CPU)


Linux 2.6.32-573.18.1.el6.x86_64 (localhost)    2016-10-14  _x86_64_    (2 CPU)


Linux 2.6.32-573.18.1.el6.x86_64 (localhost)    2016-10-14  _x86_64_    (2 CPU)


Linux 2.6.32-573.18.1.el6.x86_64 (localhost)    2016-10-14  _x86_64_    (2 CPU)
@ryran
Copy link
Owner

ryran commented Oct 16, 2016

Yeah I notice oddness occasionally myself. Send me some SAR files and I'll
take a look.

On Sun, Oct 16, 2016, 11:47 ptalbert notifications@github.com wrote:

From the -h description the --nohx option should hide extra header output.
It does not seem to work or I do not understand what it is supposed to be
doing???

Version info: rsar v0.1.1 last mod 2013/08/21

$ rsar --noxh --hn -z -n DEV,EDEV,SOCK,IP,EIP,TCP,ETCP,UDP var/log/sa/sar14 -N eth0 -t '^0[3-4]'
Linux 2.6.32-573.18.1.el6.x86_64 (localhost) 2016-10-14 x86_64 (2 CPU)

00:00:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s
03:00:01 eth0 43.07 40.44 26.47 12.38 0.00 0.00 0.72
03:10:01 eth0 42.59 39.73 25.85 11.52 0.00 0.00 0.73
03:20:01 eth0 43.21 41.40 29.40 12.19 0.00 0.00 0.73
03:30:01 eth0 42.71 40.05 26.36 11.66 0.00 0.00 0.72
03:40:01 eth0 43.43 40.47 28.38 11.87 0.00 0.00 0.72
03:50:01 eth0 42.53 39.91 25.65 11.46 0.00 0.00 0.72
04:00:01 eth0 43.23 41.51 30.07 12.59 0.00 0.00 0.72
04:10:01 eth0 42.39 39.57 25.86 11.28 0.00 0.00 0.73
04:20:01 eth0 42.88 40.38 25.87 11.87 0.00 0.00 0.73
04:30:01 eth0 44.74 42.31 32.85 13.18 0.00 0.00 0.72
04:40:01 eth0 41.90 39.89 25.75 11.83 0.00 0.00 0.72
04:50:01 eth0 42.70 39.83 25.78 11.10 0.00 0.00 0.72

Linux 2.6.32-573.18.1.el6.x86_64 (localhost) 2016-10-14 x86_64 (2 CPU)

00:00:01 IFACE rxerr/s txerr/s coll/s rxdrop/s txdrop/s txcarr/s rxfram/s rxfifo/s txfifo/s
03:00:01 eth0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00
03:10:01 eth0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00
03:20:01 eth0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00
03:30:01 eth0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00
03:40:01 eth0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00
03:50:01 eth0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00
04:00:01 eth0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00
04:10:01 eth0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00
04:20:01 eth0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00
04:30:01 eth0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00
04:40:01 eth0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00
04:50:01 eth0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00

Linux 2.6.32-573.18.1.el6.x86_64 (localhost) 2016-10-14 x86_64 (2 CPU)

00:00:01 totsck tcpsck udpsck rawsck ip-frag tcp-tw
03:00:01 325 8 9 0 0 1
03:10:01 324 8 9 0 0 1
03:20:01 324 8 9 0 0 1
03:30:01 328 8 9 0 0 1
03:40:01 324 8 9 0 0 1
03:50:01 322 8 9 0 0 3
04:00:01 328 8 9 0 0 1
04:10:01 324 8 9 0 0 1
04:20:01 322 8 9 0 0 2
04:30:01 328 8 9 0 0 1
04:40:01 324 8 9 0 0 1
04:50:01 322 8 9 0 0 2

Linux 2.6.32-573.18.1.el6.x86_64 (localhost) 2016-10-14 x86_64 (2 CPU)

Linux 2.6.32-573.18.1.el6.x86_64 (localhost) 2016-10-14 x86_64 (2 CPU)

Linux 2.6.32-573.18.1.el6.x86_64 (localhost) 2016-10-14 x86_64 (2 CPU)

Linux 2.6.32-573.18.1.el6.x86_64 (localhost) 2016-10-14 x86_64 (2 CPU)

Linux 2.6.32-573.18.1.el6.x86_64 (localhost) 2016-10-14 x86_64 (2 CPU)


You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
#4, or mute the thread
https://github.com/notifications/unsubscribe-auth/ABCsCkJXNwhjX8bB6SNZyfkguVw4JsUPks5q0kcUgaJpZM4KYALW
.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants