{"id":402,"date":"2009-05-10T07:20:26","date_gmt":"2009-05-09T21:20:26","guid":{"rendered":"http:\/\/nsrd.wordpress.com\/?p=402"},"modified":"2009-05-10T07:20:26","modified_gmt":"2009-05-09T21:20:26","slug":"determining-your-networker-binary-build-details","status":"publish","type":"post","link":"https:\/\/nsrd.info\/blog\/2009\/05\/10\/determining-your-networker-binary-build-details\/","title":{"rendered":"Determining your NetWorker binary build details"},"content":{"rendered":"<p>Occasionally, depending on the issue you are having, EMC support or EMC engineering may request that you provide your NetWorker binary <em>build<\/em> details. This isn&#8217;t necessarily the same as the version information, since patches will obviously have different build details.<\/p>\n<p>Usually they just say something along the lines of &#8220;can you run <em>what filename <\/em>and return the output?&#8221; or something along those lines. Well, <em>what<\/em> isn&#8217;t always a useful command depending on the Unix environment you&#8217;re on, and I&#8217;m even seeing some sites where it&#8217;s not installed (e.g., Solaris platforms where the \/usr\/ccs area doesn&#8217;t exist).<\/p>\n<p>So, it&#8217;s handy to know how to retrieve this information without the benefit of <em>what<\/em>. It&#8217;s actually easy. For Unix, all you need to do is:<\/p>\n<pre># strings \/path\/to\/file | grep '@('<\/pre>\n<p>For example, if I wanted to know the build details for \/usr\/sbin\/save on my laptop, I&#8217;d run:<\/p>\n<pre>[Sun May 10 07:12:30]\npreston@archon ~\n$ strings \/usr\/sbin\/save | grep '@('\n@(#) Product:\u00a0\u00a0\u00a0\u00a0\u00a0 NetWorker\n@(#) Release:\u00a0\u00a0\u00a0\u00a0\u00a0 7.5.1.Build.269\n@(#) Build number: 269\n@(#) Build date:\u00a0\u00a0 Fri Mar 20 23:05:02 PDT 2009\n@(#) Build arch.:\u00a0 darwin\n@(#) Build info:\u00a0\u00a0 DBG=0,OPT=-O2 -fno-strict-aliasing<\/pre>\n<p>This is all the information that support\/engineering are going to be after when they&#8217;re wanting the <em>build<\/em> number of a binary, so knowing how to use <em>strings<\/em> and <em>grep<\/em> to retrieve it gives you a solution that will work on every Unix platform.<\/p>\n<p>On Windows, you can readily find the build information by right-clicking the binary, choosing Properties, and then going to the &#8220;Version&#8221; tab. You&#8217;ll get something like the following:<\/p>\n<figure id=\"attachment_403\" aria-describedby=\"caption-attachment-403\" style=\"width: 368px\" class=\"wp-caption aligncenter\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-403\" title=\"NetWorker build details on Windows\" src=\"http:\/\/nsrd.files.wordpress.com\/2009\/05\/version-details.png\" alt=\"NetWorker build details on Windows\" width=\"368\" height=\"501\" \/><figcaption id=\"caption-attachment-403\" class=\"wp-caption-text\">NetWorker build details on Windows<\/figcaption><\/figure>\n<p>You can see in the above screenshot that the first three information sections are &#8220;Build Date&#8221;, &#8220;Build Info&#8221; and &#8220;Build Number&#8221; \u2013 clicking on each of those will give you the information you need to provide.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Occasionally, depending on the issue you are having, EMC support or EMC engineering may request that you provide your NetWorker&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":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[16,23],"tags":[184,1248,631,1043,1258],"class_list":["post-402","post","type-post","status-publish","format-standard","hentry","category-networker","category-support","tag-build","tag-linux","tag-networker-build","tag-unix","tag-windows"],"aioseo_notices":[],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_shortlink":"https:\/\/wp.me\/pKpIN-6u","jetpack_sharing_enabled":true,"jetpack_likes_enabled":true,"_links":{"self":[{"href":"https:\/\/nsrd.info\/blog\/wp-json\/wp\/v2\/posts\/402","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=402"}],"version-history":[{"count":0,"href":"https:\/\/nsrd.info\/blog\/wp-json\/wp\/v2\/posts\/402\/revisions"}],"wp:attachment":[{"href":"https:\/\/nsrd.info\/blog\/wp-json\/wp\/v2\/media?parent=402"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/nsrd.info\/blog\/wp-json\/wp\/v2\/categories?post=402"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/nsrd.info\/blog\/wp-json\/wp\/v2\/tags?post=402"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}