Re: difference between output of "yum ps" and "needs-restarting"?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, 2013-03-29 at 23:29 -0400, 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.

Trying "yum info yum-plugin-ps" we get:

        When this plugin is installed it adds the yum command "ps",
        which allows you to see which running processes are accociated
        with which packages (and if they need rebooting, or have
        updates, etc.)

Ignoring the glaring spelling error, this seems to imply that it also
detects packages which have been updated and would affect running
processes (rather like needs-restarting).

"yum ps" on its own appears to do nothing. A look at the source
indicates that for a complete listing you need to do "yum ps all" (as
root of course), while "yum ps foo\*" restricts output to packages (or
is it processes?) starting with "foo". However as far as I can see this
doesn't work. IOW not only is there no usable documentation, but the
source comments are wrong.

This stuff really needs to be documented. Same goes for
needs-restarting.

poc

-- 
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org




[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux