which

which


wheret Index Level which-line
Syntax which {(option}
Category TCL
Type Verb
Description displays the implementation being used, the release level, the boot monitor date, the boot abs date, the boot abs data file date, the system data files date, and the system serial #.

This verb displays the version of the elements used to create the Pick Operating System. The display includes:

"Virgin Install Monitor"
 is the date on the monitor diskette most recently used to do a virgin install.

"Boot Monitor"
 is the date on the monitor diskette most recently used to boot the system.

"Executable ABS"
 is the date on the boot ABS diskette most recently used to do an ABS restore.

"ABS Data File"
 is the date on the ABS data file on the most recent F-level restore file save diskette. This date should match the date of the executable ABS. If the dates do not match, a message displays. "verify-system", "where", and the system debugger do not work correctly if they don't match.

"System Data Files"
 is the date the system data files were originally created.

"System Serial Number"
 is the number assigned to this copy of the Pick System operating software.

In D3/Unix systems, the following fields have a different meaning than the standard "which" command, and are presented in the format:

D3/UNIX: system;filename:name;rel;ver;hw

Where:

"system"
 is the system name. This field may contain spaces.

"filename"
 is the configuration file name.

"name"
 is the content of the 'name' statement in the  configuration file.

"rel"
 is the Unix system release.

"ver"
 is the Unix system version.

"hw"
 is the machine hardware name (or serial number).

Virgin Install Monitor is not used.

Boot Monitor is the Monitor generation date.

All other fields are standard.

With the "z" option, only the Release and Boot Monitor are displayed.
Options a  Displays highest abs patch level loaded on the system.
p  Output to printer
s  Displays the system id number. (releases 6.2 and higher)  
z  Displays release implementation and date only.
See Also what who which (R83) config options config (R83) c/release
Example On release 7.0:
which
                 System Release Information           
                 ==========================          
  D3 Release Version  7.0.1.SCO16                                        
  Most recent mload into boot abs performed at 11:37:46 on 12 Jun 1996.  
         
  Implementation. . . . . . 6386              
  System Serial Number. . . 00001010          
  System ID Number  . . . .             
  Release . . . . . . . . . AP/UNIX:  386
  Unix Information. . . . . SCO_SV;pick0:SCO;3.2;2;0285FE12                                               
  Boot Monitor. . . . . . . 7.0.1.M2
  Boot ABS. . . . . . . . . 7.0.1.A4
  Boot ABS Data File. . . . 7.0.1.A4
  System Data Files . . . . 7.0.1.D5
  Flash Revision. . . . . . 7.0.1.F2
  SQL Revision. . . . . . . 7.0.1.s3
Warnings
Compatibility AP AP 6.1 D3 7.0
wheret Index Level which-line