{"id":8413,"date":"2020-07-26T08:12:56","date_gmt":"2020-07-26T00:12:56","guid":{"rendered":"https:\/\/www.linuxcool.com\/?p=8413"},"modified":"2020-07-26T08:12:57","modified_gmt":"2020-07-26T00:12:57","slug":"auvirt","status":"publish","type":"post","link":"https:\/\/www.linuxcool.com\/auvirt","title":{"rendered":"auvirt\u547d\u4ee4 – \u663e\u793a\u4e0e\u865a\u62df\u673a\u76f8\u5173\u7684\u6570\u636e"},"content":{"rendered":"\n
auvirt\u547d\u4ee4\u663e\u793a\u5728\u5ba1\u6838\u65e5\u5fd7\u4e2d\u53d1\u73b0\u7684\u8bbf\u5ba2\u4f1a\u8bdd\u5217\u8868\u3002\u5982\u679c\u6307\u5b9a\u4e86\u8bbf\u5ba2\uff0c\u5219\u4ec5\u8003\u8651\u4e0e\u8be5\u8bbf\u5ba2\u76f8\u5173\u7684\u4e8b\u4ef6\u3002\u82e5\u8981\u6307\u5b9a\u8bbf\u5ba2\uff0c\u53ef\u4ee5\u540c\u65f6\u63d0\u4f9b UUID \u6216 VM \u540d\u79f0\u3002<\/p>\n\n\n\n
\u5bf9\u4e8e\u6bcf\u4e2a\u8bbf\u5ba2\u4f1a\u8bdd\uff0c\u8be5\u5de5\u5177\u5c06\u6253\u5370\u4e00\u4e2a\u5e26\u57df\u540d\u7684\u8bb0\u5f55\u3001\u542f\u52a8\u8bbf\u5ba2\u7684\u7528\u6237\u3001\u8bbf\u5ba2\u542f\u52a8\u7684\u65f6\u95f4\u4ee5\u53ca\u8bbf\u5ba2\u505c\u6b62\u7684\u65f6\u95f4\u3002<\/p>\n\n\n\n
\u5982\u679c\u6307\u5b9a\u53c2\u6570”--all-events”\uff0c\u5c06\u663e\u793a\u66f4\u8be6\u7ec6\u7684\u8f93\u51fa\u3002\u5728\u6b64\u6a21\u5f0f\u4e0b\uff0c\u5c06\u663e\u793a\u5176\u4ed6\u8bb0\u5f55\uff0c\u7528\u4e8e\u8bbf\u5ba2\u7684\u505c\u9760\u70b9\u3001\u8d44\u6e90\u5206\u914d\u3001\u4e3b\u673a\u5173\u95ed\u548c AVC \u548c\u5f02\u5e38\u4e8b\u4ef6\u3002\u7b2c\u4e00\u4e2a\u5b57\u6bb5\u6307\u793a\u4e8b\u4ef6\u7c7b\u578b\uff0c\u53ef\u4ee5\u5177\u6709\u4ee5\u4e0b\u503c\uff1a\u542f\u52a8\u3001\u505c\u6b62\u3001res\u3001avc\u3001anom \u548c\u5411\u4e0b\uff08\u7528\u4e8e\u4e3b\u673a\u5173\u95ed\uff09\u3002<\/p>\n\n\n\n
\u9ed8\u8ba4\u60c5\u51b5\u4e0b\uff0cauvirt \u4ece\u7cfb\u7edf\u5ba1\u6838\u65e5\u5fd7\u6587\u4ef6\u4e2d\u8bfb\u53d6\u8bb0\u5f55\u3002\u4f46\u662f\uff0c\u53ef\u4ee5\u6307\u5b9a\u00a0--stdin\u548c --file\u53c2\u6570\u6765\u66f4\u6539\u6b64\u884c\u4e3a\u3002<\/p>\n\n\n\n
\u8bed\u6cd5\u683c\u5f0f\uff1a<\/strong>auvirt [\u53c2\u6570]<\/p>\n\n\n\n \u5e38\u7528\u53c2\u6570\uff1a<\/strong><\/p>\n\n\n\n \u53c2\u8003\u5b9e\u4f8b<\/strong><\/p>\n\n\n\n \u67e5\u770b\u8bbf\u5ba2\u540d\u4e3alinuxcool\u7684\u672c\u6708\u7684\u6240\u6709\u8bb0\u5f55\uff1a<\/p>\n\n\n\n \u4ece\u6307\u5b9a\u5b9a\u6587\u4ef6\u4e2d\u8bfb\u53d6\u8bb0\u5f55\uff1a<\/p>\n\n\n\n \u5c06\u6240\u6709\u8bbf\u5ba2\u7684 UUID \u6dfb\u52a0\u5230\u6bcf\u4e2a\u8bb0\u5f55\u4e2d\uff0c\u6211\u4eec\u9700\u8981\u6307\u5b9a\u4e00\u4e2a\u8f93\u51fa\u6587\u4ef6\uff1a<\/p>\n\n\n\n auvirt\u547d\u4ee4\u663e\u793a\u5728\u5ba1\u6838\u65e5\u5fd7\u4e2d\u53d1\u73b0\u7684\u8bbf\u5ba2\u4f1a\u8bdd\u5217\u8868\u3002\u5982\u679c\u6307\u5b9a\u4e86\u8bbf\u5ba2\uff0c\u5219\u4ec5\u8003\u8651\u4e0e\u8be5\u8bbf\u5ba2\u76f8\u5173\u7684\u4e8b\u4ef6\u3002\u82e5\u8981\u6307\u5b9a\u8bbf\u5ba2\uff0c […]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[11],"tags":[],"_links":{"self":[{"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/posts\/8413"}],"collection":[{"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/comments?post=8413"}],"version-history":[{"count":2,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/posts\/8413\/revisions"}],"predecessor-version":[{"id":8430,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/posts\/8413\/revisions\/8430"}],"wp:attachment":[{"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/media?parent=8413"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/categories?post=8413"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/tags?post=8413"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}--all-events<\/td> \u663e\u793a\u6240\u6709\u865a\u62df\u5316\u76f8\u5173\u4e8b\u4ef6\u7684\u8bb0\u5f55<\/td><\/tr> --debug<\/td> \u5c06\u8c03\u8bd5\u6d88\u606f\u6253\u5370\u5230\u6807\u51c6\u8f93\u51fa<\/td><\/tr> -f,\u00a0--file\u00a0file<\/em><\/td> \u4ece\u7ed9\u5b9a\u6587\u4ef6\u4e2d\u8bfb\u53d6\u8bb0\u5f55\uff0c\u800c\u4e0d\u662f\u4ece\u7cfb\u7edf\u5ba1\u6838\u65e5\u5fd7\u6587\u4ef6<\/td><\/tr> -h,\u00a0--help<\/td> \u6253\u5370\u5e2e\u52a9\u6d88\u606f<\/td><\/tr> --proof<\/td> \u5728\u6bcf\u4e2a\u4e8b\u4ef6\u4e4b\u540e\u6dfb\u52a0\u4e00\u884c\uff0c\u5176\u4e2d\u5305\u542b\u7528\u4e8e\u8ba1\u7b97\u4e8b\u4ef6\u7684\u5ba1\u6838\u8bb0\u5f55\u7684\u6240\u6709\u6807\u8bc6\u7b26\u3002\u6bcf\u4e2a\u6807\u8bc6\u7b26\u7531 unix \u65f6\u95f4\u3001\u6beb\u79d2\u548c\u5e8f\u5217\u53f7\u7ec4\u6210<\/td><\/tr> --show-uuid<\/td> \u5c06\u8bbf\u5ba2\u7684 UUID \u6dfb\u52a0\u5230\u6bcf\u4e2a\u8bb0\u5f55\u4e2d<\/td><\/tr> --stdin<\/td> \u4ece\u6807\u51c6\u8f93\u5165\u8bfb\u53d6\u8bb0\u5f55\uff0c\u800c\u4e0d\u662f\u4ece\u7cfb\u7edf\u5ba1\u6838\u65e5\u5fd7\u6587\u4ef6\u8bfb\u53d6\u8bb0\u5f55<\/td><\/tr> --summary<\/td> \u6253\u5370\u5305\u542b\u6709\u5173\u627e\u5230\u7684\u4e8b\u4ef6\u7684\u4fe1\u606f\u7684\u6458\u8981\u3002\u6458\u8981\u5305\u542b\u8003\u8651\u7684\u65f6\u95f4\u8303\u56f4\u3001\u6765\u5bbe\u542f\u52a8\u548c\u505c\u6b62\u6570\u3001\u8d44\u6e90\u5206\u914d\u6570\u3001AVC \u548c\u5f02\u5e38\u4e8b\u4ef6\u6570\u3001\u4e3b\u673a\u5173\u95ed\u6570\u548c\u5931\u8d25\u64cd\u4f5c\u6570<\/td><\/tr> -u,\u00a0--uuid\u00a0UUID<\/em><\/td> \u4ec5\u663e\u793a\u4e0e\u8bbf\u5ba2\u76f8\u5173\u7684\u4e8b\u4ef6\u4e0e\u7ed9\u5b9a\u7684 UUID<\/td><\/tr> -v,\u00a0--vm\u00a0name<\/em><\/td> \u4ec5\u663e\u793a\u4e0e\u5177\u6709\u7ed9\u5b9a\u540d\u79f0\u7684\u8bbf\u5ba2\u76f8\u5173\u7684\u4e8b\u4ef6<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n [root@linuxcool ~]# auvirt --start this-month --vm linuxcool --all-events<\/pre>\n\n\n\n
[root@linuxcool ~]# auvirt -f file<\/pre>\n\n\n\n
[root@linuxcool ~]# auvirt --show-uuid > file<\/pre>\n","protected":false},"excerpt":{"rendered":"