11.1SagcThe sys_info script is a small script which will show the version
21.1Sagcinformation for installed utilities.  It also works on the kernel, and
31.1Sagcon most libraries.
41.1Sagc
51.1SagcIts use is as follow:
61.1Sagc
71.2Sreed	[19:41:13] agc@netbsd-002 ...external/bsd/sys_info [4568] > ./sys_info
81.1Sagc	awk-20121220
91.1Sagc	bind-9.10.3pl3
101.1Sagc	bzip2-1.0.6
111.1Sagc	calendar-20160601
121.1Sagc	ftpd-20110904
131.1Sagc	g++-4.8.5
141.1Sagc	gcc-4.8.5
151.1Sagc	grep-2.5.1anb1
161.1Sagc	gzip-20150113
171.1Sagc	bozohttpd-20151231
181.1Sagc	NetBSD-7.99.26
191.1Sagc	netpgp-3.99.17
201.1Sagc	netpgpverify-20160214
211.1Sagc	ntp-4.2.8pl5
221.1Sagc	openssl-1.0.1r
231.1Sagc	sqlite3-3.12.2
241.1Sagc	openssh-7.1
251.1Sagc	opensshd-7.1
261.1Sagc	tcsh-6.19.00
271.1Sagc	xz-5.2.1
281.1Sagc	[19:41:20] agc@netbsd-002 ...external/bsd/sys_info [4569] > ./sys_info ntp ssh netpgp
291.1Sagc	ntp-4.2.8pl5
301.1Sagc	openssh-7.1
311.1Sagc	netpgp-3.99.17
321.1Sagc	[19:41:31] agc@netbsd-002 ...external/bsd/sys_info [4570] > ./sys_info ntp ssh netbsd
331.1Sagc	ntp-4.2.8pl5
341.1Sagc	openssh-7.1
351.1Sagc	NetBSD-7.99.26
361.1Sagc	[19:41:38] agc@netbsd-002 ...external/bsd/sys_info [4571] >
371.1Sagc
381.1SagcThe sys_info script also works on libraries, returning their
391.1Sagc"versions" as given by the shared object version numbers.
401.1Sagc
411.1Sagc	[19:45:06] agc@netbsd-002 ...external/bsd/sys_info [4572] > ./sys_info libevent libXfont libc netbsd
421.1Sagc	libevent-4.0
431.1Sagc	libXfont-3.0
441.1Sagc	libc-12.200
451.1Sagc	NetBSD-7.99.26
461.1Sagc	[19:45:27] agc@netbsd-002 ...external/bsd/sys_info [4573] >
471.1Sagc
481.1SagcAlistair Crooks
491.1SagcWed Jun  1 19:44:01 PDT 2016
50