netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Stephen Hemminger <stephen@networkplumber.org>
To: Chander Govindarajan <mail@chandergovind.org>
Cc: netdev@vger.kernel.org
Subject: Re: [PATCH iproute2] misc/ifstat: ignore json_output when run using "-d"
Date: Tue, 11 Jul 2023 13:30:40 -0700	[thread overview]
Message-ID: <20230711133040.2fef3caf@hermes.local> (raw)
In-Reply-To: <2d76c788-4957-b0eb-bd5f-40ea2d497962@chandergovind.org>

On Mon, 10 Jul 2023 16:15:22 +0530
Chander Govindarajan <mail@chandergovind.org> wrote:

> If ifstat is run with a command like:
> ifstat -d 5 -j
> 
> subsequent commands (with or without the "-j" flag) fail with:
> Aborted (core dumped)
> 
> Unsets json_ouput when using the "-d" flag. Also, since the "-d"
> daemon behaviour is not immediately obvious, add a 1 line
> description in the man page.
> 
> Signed-off-by: ChanderG <mail@chandergovind.org>

Rather than avoiding the problem, why not have ifstat support json in daemon mode?

  reply	other threads:[~2023-07-11 20:30 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-07-10 10:45 [PATCH iproute2] misc/ifstat: ignore json_output when run using "-d" Chander Govindarajan
2023-07-11 20:30 ` Stephen Hemminger [this message]
2023-07-12  5:09   ` Chander Govindarajan
2023-07-14 16:04 ` Stephen Hemminger
2023-07-17  9:26   ` [PATCH iproute2 v2] " Chander Govindarajan

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20230711133040.2fef3caf@hermes.local \
    --to=stephen@networkplumber.org \
    --cc=mail@chandergovind.org \
    --cc=netdev@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).