supervision - discussion about system services, daemon supervision, init, runlevel management, and tools such as s6 and runit
 help / color / mirror / Atom feed
From: "Laurent Bercot" <ska-supervision@skarnet.org>
To: "supervision@list.skarnet.org" <supervision@list.skarnet.org>
Subject: Re: Generic interrupt command?
Date: Tue, 05 Feb 2019 19:30:22 +0000	[thread overview]
Message-ID: <emd84433ec-c077-4491-a2c7-7a9c821304ff@elzian> (raw)
In-Reply-To: <CAPCpfp901i5nSXuyrqhRsth+7-PaK6nnQaz_VHGzgPRmLEhGoA@mail.gmail.com>

>Not outputting anything causes kill (on my system at least) to exit non 
>0

  Not outputting anything isn't an option, for the case where -o pid is
used in addition to other fields. The field number and order must be
respected.

  It's probably best to use some OOB indicator. How about NA, which I
already use for non-numeric fields? it makes kill correctly choke.
Would it be better to use NA in all the numeric fields, too?

--
  Laurent



  reply	other threads:[~2019-02-05 19:30 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-02-02  2:36 Steve Litt
2019-02-02  9:07 ` Laurent Bercot
2019-02-02 19:30   ` Steve Litt
2019-02-02 21:08     ` Colin Booth
2019-02-02 21:40       ` Steve Litt
2019-02-05  3:09         ` John O'Meara
2019-02-05  4:15           ` Roger Pate
2019-02-05  7:20           ` Laurent Bercot
2019-02-05 14:16             ` John O'Meara
2019-02-05 19:30               ` Laurent Bercot [this message]
2019-02-10  4:14                 ` John O'Meara
2019-02-10 11:41                   ` Laurent Bercot
2019-02-02 22:31       ` Jonathan de Boyne Pollard

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=emd84433ec-c077-4491-a2c7-7a9c821304ff@elzian \
    --to=ska-supervision@skarnet.org \
    --cc=supervision@list.skarnet.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).