mirror of
https://github.com/xen-project/xen.git
synced 2026-10-28 18:21:39 +01:00
Rename vm-top to xentop. Make "xm top" invoke xentop. Make libxenstat a static library, and do not install it.
# HG changeset patch # User josht@us.ibm.com # Node ID ea025493dfe39540075ee9e4e75b2146f25bdbd3 # Parent ce557cc4fdc764ac2ce07b8d4bcae77ecf847c29 Rename vm-top to xentop. Make "xm top" invoke xentop. Make libxenstat a static library, and do not install it.
This commit is contained in:
1 parent
97af2bfb93
commit
3df6bc01b6
8 files changed
+55
-48
No files matched your search
@@ -49,6 +49,7 @@ xm common subcommands:
|
||||
restore <File> create a domain from a saved state file
|
||||
save <DomId> <File> save domain state (and config) to file
|
||||
shutdown <DomId> shutdown a domain
|
||||
top monitor system and domains in real-time
|
||||
unpause <DomId> unpause a paused domain
|
||||
|
||||
For a complete list of subcommands run 'xm help --long'
|
||||
@@ -87,6 +88,7 @@ xm full list of subcommands:
|
||||
dmesg [--clear] read or clear Xen's message buffer
|
||||
info get information about the xen host
|
||||
log print the xend log
|
||||
top monitor system and domains in real-time
|
||||
|
||||
Scheduler Commands:
|
||||
bvt <options> set BVT scheduler parameters
|
||||
@@ -452,6 +454,9 @@ def xm_console(args):
|
||||
os.execvp('/usr/libexec/xen/xenconsole', cmd.split())
|
||||
console = sxp.child(info, "console")
|
||||
|
||||
def xm_top(args):
|
||||
os.execv('/usr/sbin/xentop', ['/usr/sbin/xentop'])
|
||||
|
||||
def xm_dmesg(args):
|
||||
|
||||
gopts = Opts(use="""[-c|--clear]
|
||||
@@ -540,6 +545,8 @@ def xm_block_destroy(args):
|
||||
commands = {
|
||||
# console commands
|
||||
"console": xm_console,
|
||||
# xenstat commands
|
||||
"top": xm_top,
|
||||
# domain commands
|
||||
"domid": xm_domid,
|
||||
"domname": xm_domname,
|
||||
|
||||