macOS / binaries /

serverinfo

/usr/sbin/serverinfo
Server information

serverinfo tool is intended to be used in shell script conditionals.

source: ss64.com
/System/Library/PrivateFrameworks/ServerInformation.framework/Versions/A/Resources/serverinfo

The binary is a part of ServerInformation private framework.

There is no exact information for this framework. Please, contribute some or search for another.