For any $FILE,

rpm -qf $FILE

will tell you the owning rpm.

In the present case, 

rpm -qf `which ps`  <-- note: backquotes

...will tell you the owning rpm of whichever ps happens to be in your
default search path, on the off chance that your system has more than
one installed.

Cheers,
-m

Ed Lazor wrote:
> 
> At 07:04 AM 11/9/2000 -0800, you wrote:
> >3) Reinstall the package with ps.  Look at ps output and see if there are
> >any unusual processes running.
> 
> Is there a way to find out which rpm installed ps?  If not, anyone know which
> one installs it?
> 
> -Ed
> 
> _______________________________________________
> Redhat-list mailing list
> [EMAIL PROTECTED]
> https://listman.redhat.com/mailman/listinfo/redhat-list



_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to