You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
https://github.com/liske/needrestart/blob/master/README.batch.md is presumably designed to document how consumers are supposed to parse the --batch output. yet it's surprisingly terse. it does document the NEEDRESTART-KSTA and shows an example output with the following fields:
it obliquely refers to the apt-dater protocol but that is a directory listing on github. presumably one should load one of the ADP-X files there. the ADP-0.8 protocol, unfortunately, points us back to needrestart, this way:
There should be NEEDRESTART line indicating the presence and the
version of the needrestart(1) script:
NEEDRESTART-VER: ${Version}
needrestart(1) is called in batch mode printing informations about
services requiring restarts and outdated running kernels. The
definition of the lines prefixed with 'NEEDRESTART-' are defined by
the needrestart package. The following lines are currently known:
NEEDRESTART-KCUR: ${running kernel version}
NEEDRESTART-KEXP: ${expected kernel version}
NEEDRESTART-KSTA: ${kernel status}
NEEDRESTART-SVC: ${service}
which, again, doesn't tell us much.
could you expand on this? what to the following lines mean:
If I would venture a guess, I'd say that NEEDRESTART-UCSTA: 1 means the same as the KSTA but for microcode updates? and in this case it would mean "no update"?
please advise.
The text was updated successfully, but these errors were encountered:
The user sessions present in the normal and nagios output is
mysteriously missing from the batch output. This remedies that
limitation by reusing the user-readable output from the Nagios output.
We also update the README.batch documentation, but that's still
lacking a little, see liske#230.
Closes: liske#231
https://github.com/liske/needrestart/blob/master/README.batch.md is presumably designed to document how consumers are supposed to parse the
--batch
output. yet it's surprisingly terse. it does document theNEEDRESTART-KSTA
and shows an example output with the following fields:yet it doesn't explain any of those.
it obliquely refers to the apt-dater protocol but that is a directory listing on github. presumably one should load one of the
ADP-X
files there. the ADP-0.8 protocol, unfortunately, points us back to needrestart, this way:which, again, doesn't tell us much.
could you expand on this? what to the following lines mean:
here I also have lines like this:
... when running as a user, and this:
... when running as root.
If I would venture a guess, I'd say that
NEEDRESTART-UCSTA: 1
means the same as the KSTA but for microcode updates? and in this case it would mean "no update"?please advise.
The text was updated successfully, but these errors were encountered: