qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH] Allow setting qemu process name


From: Andi Kleen
Subject: Re: [Qemu-devel] [PATCH] Allow setting qemu process name
Date: Wed, 1 Jul 2009 16:06:44 +0200
User-agent: Mutt/1.4.2.2i

On Wed, Jul 01, 2009 at 08:57:47AM -0500, Anthony Liguori wrote:
> Andi Kleen wrote:
> >On Wed, Jul 01, 2009 at 08:29:22AM -0500, Anthony Liguori wrote:
> >  
> >It's only default with -name. I don't think anyone would look through
> >/proc matching for process names, that would be too broken anyways.
> >If they look through ps ax they would still work.
> >  
> 
> If someone has a script today that uses top -n 1 | grep 
> qemu-system-x86_64 that script will break.

That would already break if qemu-system-x86_64 is by chance not in 
the ~20 or so processes that take the most CPU time. That is what I meant
with already broken. I consider it very likely that the scripts
all use ps at least, which is not affected.

-Andi
-- 
address@hidden -- Speaking for myself only.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]