<html><head><meta http-equiv="Content-Type" content="text/html; charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">Here's something I put together that spits out most of the information about a system (other than e.g. the build log for a port that failed to install/update) that might be of interest when problems arise.  Sample output:<div class=""><br class=""></div><div class=""><div style="margin: 0px; font-stretch: normal; font-size: 18px; line-height: normal; font-family: "Andale Mono"; color: rgb(234, 234, 234); background-color: rgba(0, 0, 0, 0.8);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">sh-3.2$ vers</span></div><div style="margin: 0px; font-stretch: normal; font-size: 18px; line-height: normal; font-family: "Andale Mono"; color: rgb(234, 234, 234); background-color: rgba(0, 0, 0, 0.8);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">Hardware Version: MacBook Pro (15-inch, 2017)</span></div><div style="margin: 0px; font-stretch: normal; font-size: 18px; line-height: normal; font-family: "Andale Mono"; color: rgb(234, 234, 234); background-color: rgba(0, 0, 0, 0.8);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">Model Identifier: MacBookPro14,3</span></div><div style="margin: 0px; font-stretch: normal; font-size: 18px; line-height: normal; font-family: "Andale Mono"; color: rgb(234, 234, 234); background-color: rgba(0, 0, 0, 0.8);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">Mac OS X 10.13.6 17G65 (High Sierra)</span></div><div style="margin: 0px; font-stretch: normal; font-size: 18px; line-height: normal; font-family: "Andale Mono"; color: rgb(234, 234, 234); background-color: rgba(0, 0, 0, 0.8);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">Server Version: 5.6.1</span></div><div style="margin: 0px; font-stretch: normal; font-size: 18px; line-height: normal; font-family: "Andale Mono"; color: rgb(234, 234, 234); background-color: rgba(0, 0, 0, 0.8);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">System Integrity Protection status: disabled.</span></div><div style="margin: 0px; font-stretch: normal; font-size: 18px; line-height: normal; font-family: "Andale Mono"; color: rgb(234, 234, 234); background-color: rgba(0, 0, 0, 0.8);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">Xcode 9.4.1 9F2000</span></div><div style="margin: 0px; font-stretch: normal; font-size: 18px; line-height: normal; font-family: "Andale Mono"; color: rgb(234, 234, 234); background-color: rgba(0, 0, 0, 0.8);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">MacPorts Version: 2.5.3</span></div><div style="margin: 0px; font-stretch: normal; font-size: 18px; line-height: normal; font-family: "Andale Mono"; color: rgb(234, 234, 234); background-color: rgba(0, 0, 0, 0.8);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">warning: /usr/local exists</span></div></div><div class=""><span style="font-variant-ligatures: no-common-ligatures" class=""><br class=""></span></div><div class=""><br class=""></div><div class="">Some of those lines only appear if applicable, i.e. those starting with Server Version.</div><div class=""><br class=""></div><div class="">I may have posted this before, but it's had some updates.  The URL to fetch the marketing model name ("Hardware Version" above) now has to be https.  Added Mojave for conversion of OS version number to name.  I think that's most of the recent changes.</div><div class=""><br class=""></div><div class="">Just rename to "vers", and set the permissions to be executable; that should be all that's needed.  It should work whether or not Server or MacPorts is installed, although of course it won't say anything about them if they aren't there, and won't warn about /usr/local if MacPorts isn't installed.  Fetching the marketing model name does require being online, and passes the last four characters of the system's serial number to Apple.</div><div class=""><br class=""></div><div class="">If you can think of something else that might be interesting to add, let me know, keeping in mind that it's intended to cover the basics but <i class="">not</i> be a comprehensive hardware, OS, or application report; there are other tools, which the script mostly uses, that will provide more in one or another of those areas; bringing together just the right bits was what I wanted.  Having at least a GB or two free space in / would probably be good, but I'd hope people would have noticed that by other means.  Unless they've disabled swap or are very tight on disk space, RAM shouldn't be that relevant save for performance.</div><div class=""><br class=""></div><div class=""></div></body></html>