|
|
|
|
|
|
|
|
|
|
xen-devel
[Xen-devel] How to get the physical CPU number, total memory and free me
Hi,
friends,
I'm doing a
porting project on XEN2.0.7. I need to get the XENDNODE's physical cpu number,
total memory and free memory.
So far, I'm
using "xm info" command to get them.
$ xm
info system
:
Linux host
:
nvg06b04 release
:
2.6.11.12-xen0 version
: #1 Wed Sep 14 18:55:26 EDT
2005 machine
:
i686 cores
:
1
<==== this is ncpus hyperthreads_per_core :
2 cpu_mhz
:
3065 memory
: 2559 <==== this
is total
memory free_memory
: 2405 <==== this
is free memory.
To use the
"xm" command, it depends on the "xend" up.
I want to
know if there is better solution, such as reading the data from some
file.
Who can give
me a hand? Thank you very much.
Bill
|
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
|
<Prev in Thread] |
Current Thread |
[Next in Thread> |
- [Xen-devel] How to get the physical CPU number, total memory and free memory?,
Hongbin Hao <=
|
|
|
|
|