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: Avi Kivity
Subject: Re: [Qemu-devel] [PATCH] Allow setting qemu process name
Date: Wed, 01 Jul 2009 18:08:42 +0300
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1b3pre) Gecko/20090513 Fedora/3.0-2.3.beta2.fc11 Lightning/1.0pre Thunderbird/3.0b2

On 07/01/2009 05:06 PM, Andi Kleen wrote:
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.

I often use 'pkill qemu', but no idea which process name that looks at.

--
error compiling committee.c: too many arguments to function





reply via email to

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