This is the command needrestart that can be run in the OnWorks free hosting provider using one of our multiple free online workstations such as Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator
PROGRAM:
NAME
needrestart - needrestart
DESCRIPTION
needrestart checks which daemons need to be restarted after library upgrades.
USAGE
Usage:
needrestart [-(v|q)] [-n] [-c <cfg>] [-r <mode>] [-f <fe>] [-(b|p)] [-kl]
-v be more verbose
-q be quiet
-n set default answer to 'no'
-c <cfg>
config filename
-r <mode>
set restart mode
l (l)ist only
i (i)nteractive restart
a (a)utomatically restart
-b enable batch mode
-p nagios plugin mode: makes output and exit codes nagios compatible
-f <fe>
overwrite debconf(7) frontend, sets the DEBIAN_FRONT environment variable to <fe>
By using one of the following options only the specified checks are performed:
-k check for obsolete kernel
-l check for obsolete libraries
Use needrestart online using onworks.net services