1The sys_info script is a small script which will show the version 2information for installed utilities. It also works on the kernel, and 3on most libraries. 4 5Its use is as follow: 6 7 [19:41:13] agc@netbsd-002 ...external/bsd/sys_info [4568] > ./sys_info -a 8 awk-20121220 9 bind-9.10.3pl3 10 bzip2-1.0.6 11 calendar-20160601 12 ftpd-20110904 13 g++-4.8.5 14 gcc-4.8.5 15 grep-2.5.1anb1 16 gzip-20150113 17 bozohttpd-20151231 18 NetBSD-7.99.26 19 netpgp-3.99.17 20 netpgpverify-20160214 21 ntp-4.2.8pl5 22 openssl-1.0.1r 23 sqlite3-3.12.2 24 openssh-7.1 25 opensshd-7.1 26 tcsh-6.19.00 27 xz-5.2.1 28 [19:41:20] agc@netbsd-002 ...external/bsd/sys_info [4569] > ./sys_info ntp ssh netpgp 29 ntp-4.2.8pl5 30 openssh-7.1 31 netpgp-3.99.17 32 [19:41:31] agc@netbsd-002 ...external/bsd/sys_info [4570] > ./sys_info ntp ssh netbsd 33 ntp-4.2.8pl5 34 openssh-7.1 35 NetBSD-7.99.26 36 [19:41:38] agc@netbsd-002 ...external/bsd/sys_info [4571] > 37 38The -a option can be given to the script to print out the information 39on all known components. 40 41The sys_info script also works on libraries, returning their 42"versions" as given by the shared object version numbers. 43 44 [19:45:06] agc@netbsd-002 ...external/bsd/sys_info [4572] > ./sys_info libevent libXfont libc netbsd 45 libevent-4.0 46 libXfont-3.0 47 libc-12.200 48 NetBSD-7.99.26 49 [19:45:27] agc@netbsd-002 ...external/bsd/sys_info [4573] > 50 51Alistair Crooks 52Wed Jun 1 19:44:01 PDT 2016 53