{"id":5188,"date":"2014-06-26T11:26:28","date_gmt":"2014-06-26T01:26:28","guid":{"rendered":"http:\/\/nsrd.info\/blog\/?p=5188"},"modified":"2018-12-11T14:06:44","modified_gmt":"2018-12-11T04:06:44","slug":"mminfo2html","status":"publish","type":"post","link":"https:\/\/nsrd.info\/blog\/2014\/06\/26\/mminfo2html\/","title":{"rendered":"mminfo2html"},"content":{"rendered":"<p>I&#8217;ve started working on a new&nbsp;eBook,&nbsp;<em>Turbocharged EMC NetWorker<\/em>, aimed squarely at NetWorker administrators who want to get more out of the&nbsp;product from&nbsp;the command line.&nbsp;It&#8217;s not designed to be a&nbsp;replacement to the NetWorker Command Line Reference Guide (or the man pages), but instead highlight various techniques&nbsp;I&#8217;ve learnt and used over the years to get more out of NetWorker.<\/p>\n<p>One of the examples is to&nbsp;take the XML output from mminfo and render it in a&nbsp;more viewable format,&nbsp;and I whipped it up this&nbsp;morning.<\/p>\n<p>A&nbsp;Perl script, I call it &#8216;mminfo2html.pl&#8217;, and it&#8217;s designed to be inserted into the mminfo output stream \u2013 i.e., pipe the&nbsp;XML output from mminfo into mminfo2html.pl, and write the resulting output out to a new file.&nbsp;Following is sample invocation:<\/p>\n<p><a href=\"https:\/\/nsrd.info\/blog\/wp-content\/uploads\/2014\/06\/mminfo2html.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-5189 size-full\" src=\"https:\/\/nsrd.info\/blog\/wp-content\/uploads\/2014\/06\/mminfo2html.png\" alt=\"mminfo2html\" width=\"572\" height=\"392\" srcset=\"https:\/\/nsrd.info\/blog\/wp-content\/uploads\/2014\/06\/mminfo2html.png 572w, https:\/\/nsrd.info\/blog\/wp-content\/uploads\/2014\/06\/mminfo2html-300x205.png 300w\" sizes=\"auto, (max-width: 572px) 100vw, 572px\" \/><\/a><\/p>\n<p>The utility comes with a very basic CSS layout for simplified tables, but you can replace the CSS with&nbsp;any design you&#8217;d like.&nbsp;The HTML output&nbsp;from&nbsp;the command above, for instance, is:<\/p>\n<p><a href=\"https:\/\/nsrd.info\/blog\/wp-content\/uploads\/2014\/06\/mminfo2html-output.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-5190\" src=\"https:\/\/nsrd.info\/blog\/wp-content\/uploads\/2014\/06\/mminfo2html-output.png\" alt=\"mminfo2html-output\" width=\"570\" height=\"802\" srcset=\"https:\/\/nsrd.info\/blog\/wp-content\/uploads\/2014\/06\/mminfo2html-output.png 570w, https:\/\/nsrd.info\/blog\/wp-content\/uploads\/2014\/06\/mminfo2html-output-213x300.png 213w\" sizes=\"auto, (max-width: 570px) 100vw, 570px\" \/><\/a><\/p>\n<p>Obviously in order to run mminfo2html.pl, you&#8217;ll need an accessible Perl interpreter \u2013 on Linux\/Unix\/Mac OS X systems you should be set; on Windows, I&#8217;d recommend installing <strong><a title=\"ActiveState Perl\" href=\"http:\/\/www.activestate.com\/activeperl\" target=\"_blank\">ActiveState Perl<\/a><\/strong>.<\/p>\n<p>You can download the <strong><a title=\"mminfo2html\" href=\"https:\/\/nsrd.info\/utils\/mminfo2html.zip\">zipped script here<\/a><\/strong>.<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I&#8217;ve started working on a new&nbsp;eBook,&nbsp;Turbocharged EMC NetWorker, aimed squarely at NetWorker administrators who want to get more out of&hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[16,20],"tags":[351,1177,594,1063,1176],"class_list":["post-5188","post","type-post","status-publish","format-standard","hentry","category-networker","category-scripting","tag-ebook","tag-html","tag-mminfo","tag-utility","tag-xml"],"aioseo_notices":[],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_shortlink":"https:\/\/wp.me\/pKpIN-1lG","jetpack_sharing_enabled":true,"jetpack_likes_enabled":true,"_links":{"self":[{"href":"https:\/\/nsrd.info\/blog\/wp-json\/wp\/v2\/posts\/5188","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/nsrd.info\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/nsrd.info\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/nsrd.info\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/nsrd.info\/blog\/wp-json\/wp\/v2\/comments?post=5188"}],"version-history":[{"count":2,"href":"https:\/\/nsrd.info\/blog\/wp-json\/wp\/v2\/posts\/5188\/revisions"}],"predecessor-version":[{"id":7459,"href":"https:\/\/nsrd.info\/blog\/wp-json\/wp\/v2\/posts\/5188\/revisions\/7459"}],"wp:attachment":[{"href":"https:\/\/nsrd.info\/blog\/wp-json\/wp\/v2\/media?parent=5188"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/nsrd.info\/blog\/wp-json\/wp\/v2\/categories?post=5188"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/nsrd.info\/blog\/wp-json\/wp\/v2\/tags?post=5188"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}