Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
From: Michal Jaegermann <michal@ellpspace.math.ualberta.ca>
To: axp-list@redhat.com
Subject: Re: what's a amd daemon?
Date: Sat, 28 Aug 1999 09:07:31 -0600 (MDT)	[thread overview]
Message-ID: <199908281507.JAA08440@ellpspace.math.ualberta.ca> (raw)
In-Reply-To: <37C79C19.E9308182@oz.net> from "Ric Tibbetts" at Aug 28, 99 01:21:45 am

Ric Tibbetts wrote:
> 
> Want an easy way?
> 
> rpm -qa | grep amd

With only this catch that the package recently was renamed to am-utils
so this may not work.

> When it lists the amd pkg...

rpm -q amd

will do the same if 'amd' is really its name.

This one will work does not matter what is the current name:

  rpm -qf /etc/rc.d/init.d/amd

Run 'rpm -qif ....' if you want a short description what all of this
is about and 'rpm -qivlf ...' to find the whole contents and basic
information about a package to which belongs a given file.

> 
> rpm -e <amd pkg>
> 	It'll rempove itself from all the run-levels.
> 
> then: ps -ef | grep amd (to get the PID)
> kill <pid> (to kill the daemon.
> 
> there's a longer harder way to do this..

/etc/rc.d/init.d/amd stop

**before** removal strikes me as a simpler, shorter and more reliable
way which will not leave some dead lock files if they were indeed
created.  There is also 'pidof' utility if you are after pid of
something.

   Michal


  reply	other threads:[~1999-08-28 15:07 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-08-28  3:14 what's a amd daemon? Michael Rich
1999-08-28  8:21 ` Ric Tibbetts
1999-08-28 15:07   ` Michal Jaegermann [this message]
1999-08-28 18:08     ` Ric Tibbetts
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox