qemu-devel
[Top][All Lists]
Advanced

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

[Qemu-devel] Re: [CFR 10/10] qmp: query_balloon command


From: Anthony Liguori
Subject: [Qemu-devel] Re: [CFR 10/10] qmp: query_balloon command
Date: Wed, 16 Jun 2010 13:54:36 -0500
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.9) Gecko/20100423 Lightning/1.0b1 Thunderbird/3.0.4

On 06/16/2010 10:46 AM, Stefan Hajnoczi wrote:
query-balloon
-------------

Show balloon information.

Make an asynchronous request for balloon info.

s/asynchronous//.  All requests are asynchronous.

  When the request completes a
json-object will be returned containing the following data:

- "actual": current balloon value in bytes (json-int)
- "mem_swapped_in": Amount of memory swapped in bytes (json-int, optional)
- "mem_swapped_out": Amount of memory swapped out in bytes (json-int, optional)
- "major_page_faults": Number of major faults (json-int, optional)
- "minor_page_faults": Number of minor faults (json-int, optional)
- "free_mem": Total amount of free and unused memory in
               bytes (json-int, optional)
- "total_mem": Total amount of available memory in bytes (json-int, optional)

Should mention the behavior when a timeout occurs.

Regards,

Anthony Liguori

Example:

->  { "execute": "query-balloon" }
<- {
       "return":{
          "actual":1073741824,
          "mem_swapped_in":0,
          "mem_swapped_out":0,
          "major_page_faults":142,
          "minor_page_faults":239245,
          "free_mem":1014185984,
          "total_mem":1044668416
       }
    }





reply via email to

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