Package: kvm
Version: 72+dfsg-5~lenny5
Severity: normal

If you have multiple kvm virtual machines running then programs such as top(1)
display them all as "kvm".  It would be really handy if top could show which
virtual machine is the one that is hogging the CPU.

If there was an option "-name foo" which would change the value of argv[0] to
"kvm-foo" then the output of top(1) would be more useful.

It seems that with the way command line parameters are used in Linux, there is
a fixed amount of memory for them which may be overwritten by the application.
The string "kvm\0-name foo" is longer than "kvm-foo" so such a change would not
risk running off the end of an array.  NB It doesn't matter where the -name
option appeared on the command-line, the command-line could be compressed and
re-written without the -name option.



-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to