diff options
author | emellor@leeni.uk.xensource.com <emellor@leeni.uk.xensource.com> | 2005-11-28 01:47:28 +0000 |
---|---|---|
committer | emellor@leeni.uk.xensource.com <emellor@leeni.uk.xensource.com> | 2005-11-28 01:47:28 +0000 |
commit | 74f2b3c56d96838f6e4bec8c746e09e9e18b756c (patch) | |
tree | 0d41398e04246d2c6d111db0161b8569e3c16b11 /tools/misc/xen-bugtool | |
parent | 65b2887f8508af066707ff08a4eef8dbebd5799f (diff) | |
download | xen-74f2b3c56d96838f6e4bec8c746e09e9e18b756c.tar.gz xen-74f2b3c56d96838f6e4bec8c746e09e9e18b756c.tar.bz2 xen-74f2b3c56d96838f6e4bec8c746e09e9e18b756c.zip |
Added xen-bugtool, an application that collects various system logs and can
save them as a tarball, or submit them to a pre-existing bugzilla bug.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
Diffstat (limited to 'tools/misc/xen-bugtool')
-rw-r--r-- | tools/misc/xen-bugtool | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/tools/misc/xen-bugtool b/tools/misc/xen-bugtool new file mode 100644 index 0000000000..cf41c8c957 --- /dev/null +++ b/tools/misc/xen-bugtool @@ -0,0 +1,20 @@ +#!/usr/bin/env python + +# -*- mode: python; -*- + +# Copyright (c) 2005, XenSource Ltd. + +import sys + +sys.path.append('/usr/lib/python') +sys.path.append('/usr/lib64/python') + +from xen.util import bugtool + + +if __name__ == "__main__": + try: + sys.exit(bugtool.main()) + except KeyboardInterrupt: + print "\nInterrupted." + sys.exit(1) |