public inbox for kvm@vger.kernel.org
 help / color / mirror / Atom feed
From: Pekka Enberg <penberg@kernel.org>
To: Sasha Levin <levinsasha928@gmail.com>
Cc: mingo@elte.hu, asias.hejun@gmail.com, prasadjoshi124@gmail.com,
	gorcunov@gmail.com, kvm@vger.kernel.org
Subject: Re: [PATCH] kvm tools: Add 'kvm stat' command
Date: Mon, 15 Aug 2011 17:55:39 +0300 (EEST)	[thread overview]
Message-ID: <alpine.DEB.2.00.1108151754360.2447@tiger> (raw)
In-Reply-To: <1313418780-4171-1-git-send-email-levinsasha928@gmail.com>

On Mon, 15 Aug 2011, Sasha Levin wrote:
> +static int do_memstat(const char *name, int pid)
> +{
> +	printf("Sending memstat command to %s, output should be on the targets' terminal.\n", name);
> +	return kill(pid, SIGKVMMEMSTAT);
> +}

I applied the patch but I think we should come up with a mechanism to 
transport the output back to the command. Doing the printout in the guest 
terminal isn't going to work in the long run.

 			Pekka

  parent reply	other threads:[~2011-08-15 14:55 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-08-15 14:32 [PATCH] kvm tools: Add 'kvm stat' command Sasha Levin
2011-08-15 14:33 ` [PATCH] kvm tools: Use correct data type for pid Sasha Levin
2011-08-15 14:55 ` Pekka Enberg [this message]
2011-08-16  3:10   ` [PATCH] kvm tools: Add 'kvm stat' command walimis
2011-08-16  5:48     ` Pekka Enberg
2011-08-16  3:09 ` walimis

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=alpine.DEB.2.00.1108151754360.2447@tiger \
    --to=penberg@kernel.org \
    --cc=asias.hejun@gmail.com \
    --cc=gorcunov@gmail.com \
    --cc=kvm@vger.kernel.org \
    --cc=levinsasha928@gmail.com \
    --cc=mingo@elte.hu \
    --cc=prasadjoshi124@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox