Bill Davidsen wrote:
Georg Wittig wrote:
> Hi,
>
> can anyone please explain the difference between the output of
> yum ps (from the RPM yum-plugin-ps)
> and
> needs-restarting (from the RPM yum-utils)
>
> I couldn't find many infos about those 2 commands.
I'll take a whack at clarifying.
yum ps - tells you what packages are associated with which processes. Can be
used before the fact to determine if doing that update is a good idea.
needs-restarting identifies (after update) processes using packages (typically
libraries) which have been updated.
Is that enough?
NOTE: I discovered what I think is a bug in needs-restarting, when started as a
normal user it runs for some time before going out with permission issues. If it
were mine I would check for root at the start and give a user-friendly "you need
to be root to run this package" message.
Since it's a matter of taste (I like to avoid user questions) not function, I
guess I shouldn't report it, but ugly.
--
Bill Davidsen <davidsen(a)tmr.com>
"We have more to fear from the bungling of the incompetent than from
the machinations of the wicked." - from Slashdot