|
|
|
|
|
|
|
|
|
|
xen-devel
[Xen-devel] [PATCH] Fix the xm uptime command
Hi,
I saw the following Traceback message.
# xm uptime
Name ID Uptime
Unexpected error: exceptions.TypeError
Please report to xen-devel@xxxxxxxxxxxxxxxxxxx
Traceback (most recent call last):
File "/usr/sbin/xm", line 10, in ?
main.main(sys.argv)
File "/usr/lib/python/xen/xm/main.py", line 1606, in main
rc = cmd(args)
File "/usr/lib/python/xen/xm/main.py", line 1169, in xm_uptime
upstring = ("%(name)-32s %(domid)3d " % d) + upstring
TypeError: int argument required
This patch fixes the xm uptime command.
# xm uptime
Name ID Uptime
Domain-0 0 19:25:56
vm1 1 7:05:45
# xm uptime -s
18:37:35 up 19:26, Domain-0 (0)
18:37:35 up 7:05, vm1 (1)
Signed-off-by: Masaki Kanno <kanno.masaki@xxxxxxxxxxxxxx>
Best regards,
Kan
uptime.patch
Description: Binary data
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
|
<Prev in Thread] |
Current Thread |
[Next in Thread>
|
- [Xen-devel] [PATCH] Fix the xm uptime command,
Masaki Kanno <=
|
|
|
|
|