background image

System Configuration Repository

User’s Reference

HP-UX/HP 9000 Computers

Edition 1.2

April 2001

Printed in: USA

Summary of Contents for 705 Workstation

Page 1: ...System Configuration Repository User s Reference HP UX HP 9000 Computers Edition 1 2 April 2001 Printed in USA ...

Page 2: ... ii of the Rights in Technical Data and Computer Software clause in DFARS 252 227 7013 Hewlett Packard Company 3000 Hanover Street Palo Alto CA 94304 U S A Rights for non DOD U S Government Departments and Agencies are as set forth in FAR 52 227 19 c 1 2 All rights reserved Trademark Acknowledgments UNIX is a registered trademark in the United States and other countries licensed exclusively throug...

Page 3: ...ng Configuration Changes with SCR 20 Checking Node Differences 21 Using Tags to Simplify Node Management 23 Using Filters 25 Simple Filter Example 26 Standard Filters 28 Using the Probe Filter 29 Additional Uses of SCR 30 Inventory Tracking 30 Change Management 31 Disaster Recovery 32 SCR Reference man Pages 33 scr 5 34 scrconfig 1M 43 scrdelete 1M 48 scrdiff 1M 50 scrfilter 1M 53 scrhist 1M 64 sc...

Page 4: ...4 Contents ...

Page 5: ...hout changing the printing date The manual part number will change when extensive changes are made Manual updates may be issued between editions to correct errors or document product changes To ensure that you receive these updates or new editions see your HP sales representative for details April 2001 Edition 1 2 April 2000 Edition 1 1 ...

Page 6: ...Chapter 1 Introduction provides an introduction to this manual Chapter 2 SCR Overview provides an overview of the System Configuration Repository Chapter SCR Reference man Pages includes the man pages for the System Configuration Repository Appendix A SCR File Set describes the file set for the System Configuration Repository Comments about this manual no technical questions please can be directed...

Page 7: ...e For example cd Italics Manual titles and emphasized words appear in italics as do values that you supply For example in the command below you would substitute an actual directory name such as mydir for directory_name cd directory_name Enter Text in a bold sans serif font denotes a keyboard key A notation like CTRL Q indicates that you should hold the control key down then press Q Softkey Select ...

Page 8: ...8 ...

Page 9: ...shots stored in the repository can be compared with each other to identify any differences SCR configuration snapshots include all relevant configuration information included in the Management Information Format MIF for the Desktop Management Interface DMI See the DMI User s Reference for information about DMI and the MIF SCR shows you quickly what is going on in a system As root user you can ente...

Page 10: ...10 Chapter1 Introduction ...

Page 11: ...ag Management Presentation Repository Management Log Components The Repository component provides the internal software interface The other components provide the external user interface to SCR Figure 2 1 shows the SCR Component structure Figure 2 1 SCR Component Structure scrconfig 1m scrstatus 1m scrfilter 1m scrtag 1m scrdaemon scrupdate 1m scrdelete 1m scrhist 1m scrdiff 1m scrviewer 1m scrlog...

Page 12: ...aintained by Configuration Management component The Filter Management component provides the scrfilter command to refer to and update view filters View filters are stored in the SCR Repository The Presentation component provides the scrhist scrdiff and scrviewer commands These commands retrieve stored configuration information and display it in human readable format The Tag Management component pr...

Page 13: ...an only work on system nodes that have been configured to be managed by DMI See the DMI User s Reference document for an explanation of DMI installation concepts and operations When SCR DMI has been installed and the system configured you can begin using SCR commands to monitor your system as described in the next section ...

Page 14: ... must include the CMS IP address in that server s var dmi dmiMachines file You also must add the CMS IP address in each managed node s var dmi dmiMachines file to allow access from the CMS The next step is to configure SCR to perform the data collection and reporting you want as described in the next section Table 2 1 SCR Management Systems System Type Description Central Management Server CMS An ...

Page 15: ...mmand applies the command to a particular node The sign tells SCR to add the node A sign would remove the node This node is named elsa NOTE The request to register a managed node may fail if DMI is not properly configured on the node or disallows access to the node from the CMS Repeat this operation for each system node that you want to track You can add multiple nodes with one command scrconfig n...

Page 16: ...he l option tells SCR to list the schedule details for elsa on stdout The result resembles the following example NODE SCHEDULE TIME INTERVAL EXPIRATION TIMEOUT elsa 02 07 1999 13 05 PST 1 day 3 months 5 minutes This example shows that data will be collected from node elsa at 1 05 PM Pacific Standard Time on February 7 1999 and will occur each day after that at the same time Snapshots will be delet...

Page 17: ...ud scrupdate n ortrud You will see a message similar to the following Configuration data ortrud time is collected Collection can take from 5 to 15 minutes and sometimes longer depending on the node size network load and how much data is collected See Using the Probe Filter Chapter 3 to learn how to control the amount of information that SCR collects from a node If configuration data for ortrud has...

Page 18: ...e TIME START STOP NODE STATUS DETAIL 02 06 199912 05 12 08 PST elsa Completed 02 06 199912 15 12 17 PST ortrud Warning AcErr 02 07 199916 37 PST ortrud Executing 02 07 199900 05 PST ortrud Scheduled 02 07 199912 05 PST elsa Scheduled This report appears in three blocks separated by vertical space The first block above the first two lines reports the most recent data collection The second block sho...

Page 19: ... to the tag The report tells us what that time is scrviewer elsa latest elsa 04 10 1999 13 05 PDT latest COMPONENT NAME VALUE GROUP NAME ATTRIBUTE NAME HP Visualize Workstation HP UX Standard Groups Definition General Information System Name elsa System Location 3000 Hanover St Palo Alto CA If we wanted data from an earlier snapshot we would have to enter the time of the snapshot instead of the la...

Page 20: ... expired The SCR tag oldest stands for the oldest configuration update that has not expired SCR does not store a snapshot if there are no differences in the node configuration since the previous snapshot You can use this feature to observe how often the configuration of certain nodes changes If data has been automatically collected weekly this report shows that node elsa s configuration changed be...

Page 21: ...nd to produce a report that resembles the example below it scrdiff elsa 199902141205 elsa latest This command calls for configuration differences in the node elsa between 12 05 February 14 1999 and the latest configuration report available The report looks like the following example BASE elsa 02 14 1999 12 05 PST TARGET elsa 04 10 1999 13 05 PDT latest COMPONENT NAME BASE TARGET GROUP NAME ATTRIBU...

Page 22: ... ortrud 04 10 1999 13 25 PDT latest TARGET elsa 04 10 1999 13 05 PDT latest COMPONENT NAME BASE TARGET GROUP NAME ATTRIBUTE NAME HP UX Standard Groups Definition Host Processor Host Processor Index 1 1 Processor Firmware ID HP PA RISC1 1 HP PA RISC2 0 Processor Load 1 1 Host Processor Index 1 Processor Firmware ID HP PA RISC2 0 Processor Load 1 The result highlights the processor difference ortrud...

Page 23: ...expire You can delete the configuration with scrdelete when you want to You can remove the tag with scrtag Use the scrtag command to create or use tags For example suppose the node elsa has frequent configuration changes lately as shown below scrhist NODE TIME ERR TAG elsa 02 07 1999 12 05 PST oldest 04 14 1999 13 05 PDT 04 15 1999 13 05 PDT 04 17 1999 13 05 PDT 04 18 1999 13 05 PDT latest You can...

Page 24: ...ands Tags can be modified or deleted using options with scrtag For example to move the tag StandardConfig for node elsa to the next snapshot now labeled latest enter the following command scrtag m elsa StandardConfig 199904181305 To remove a tag enter the following command scrtag d elsa StandardConfig This command removes only the tag not the configuration ...

Page 25: ...ormation you see or print the probe filter see Using the Probe Filter on page 29 actually determines the data collected by SCR With the scrfilter command you can designate a filter extension flag for a MIF component group or attribute If the extension flag is on information about the object will be viewed If it is off the information will not be viewed Simple Filter Example on page 26 Default scrv...

Page 26: ...AME HP UX Installed Software Definition Subproducts scr dmi class HPUX_Subproducts_ scr dmi version 001 scr dmi key Subproduct Software Specification Subproduct Software Specification C ANSI C Development l opt ansic r B 10 20 09 a HP UX_B 10 20_700 800 v HP Create Time Description Programs that are needed to run C compiler Modification Time Size 8072794 Title C Runtime environment Contents C Subp...

Page 27: ...luded from the report You will see none of the information shown in the example Suppose you only wanted to filter out a group from the HP UX Installed Software Definition component and not the entire component You could filter the Subproducts group from the report with the following command scrfilter p NoSoftware HP UX Installed Software Definition Subproducts off Since the example showed subprodu...

Page 28: ... Template filter is meant to be used as a template to help you create new view display filters for your specific needs You copy it and change the copy as described above The other standard view display filters are designed to display the information we suppose you would most likely want about certain DMI groups Please change them to meet your needs Changing them will have no effect on system resou...

Page 29: ...following considerations If you capture too much information the process may take too much time and use a lot of system resources If you capture too little information you might miss data that is important to managing your system The Probe filter setting is a large factor in determining the number of nodes you can manage from a server It determines the Repository size and the time required to capt...

Page 30: ...ange Management on page 31 Disaster Recovery on page 32 Inventory Tracking You can use SCR to generate a system inventory document You can use this document to maintain inventory plan for future changes and help third party vendors establish what you need Use the following com mand to generate such a document scrviewer elsa latest lp dprinter This command generates and prints a complete list of ea...

Page 31: ...scrupdate scrconfig and scrhist commands to perform change management as follows 1 Complete the initial configuration steps described in this chapter 2 Take an initial snapshot of the systems as they are to provide a base for detecting future changes scrupdate a 3 Set SCR to collect data weekly or as often as you wish scrconfig i lw 4 Have SCR email a system history report to you Remember that SCR...

Page 32: ...for access by the CMS 2 Collect data from the restored system scrupdate n node1 3 Make sure the data collection was successful scrstatus 4 Compare that data with the data that existed before the disaster recovery scrdiff node1 time node1 lastest 5 Make changes to the system to complete the restoration if necessary This disaster recovery process can be used for more routine situations such as prepa...

Page 33: ... SCR software page 43 scrdelete 1m Delete specific configuration information page 48 scrdiff 1m Report differences between two sets of configuration information page 48 scrfilter 1m Generate modify or delete view filter page 53 scrhist 1m Report configuration history page 64 scrstatus 1m Report data collection status table page 66 scrtag 1m Manage tag names for snapshots page 69 scrupdate 1m Colle...

Page 34: ...ation Management commands scrconfig maintains the configuration data collection schedule and managed node list scrstatus generates summary status of data collection activity Data Management commands scrupdate collects configuration data from managed nodes through DMI and stores the data in database scrdelete removes specified or expired configuration data from the database scrupdate is invoked aut...

Page 35: ...t status of SCR data collection scrtag list create modify and delete SCR tag names scrupdate update SCR contents scrviewer view SCR configuration information scrlog_viewer view and or save SCR logfile SCR Logging Actions taken by SCR are logged into the SCR log file var opt scr log scrlog log The log entries in this file can be viewed with the SCR command scrlog_viewer scrlog_viewer can filter the...

Page 36: ...ctly or does not allow access from the management server the request to register the managed node may fail For scheduled data collection set the data collection schedule with the scrconfig command For example type in the following line to set the scheduled data collection time to 12 05 Feb 7 1999 scrconfig n node2 s 199902071205 In order to confirm current parameters use the following command scrc...

Page 37: ...6 1999 12 05 12 08 PST node2 Completed 02 06 1999 12 15 12 17 PST node1 Warning AcErr 02 07 1999 16 37 PST node1 Executing 02 07 1999 00 05 PST node1 Scheduled 02 07 1999 12 05 PST node2 Scheduled The first entry above shows past data collection The second entry shows incomplete data collection and the detail entry indicates the node was not accessible The third entry shows data collection current...

Page 38: ... indicated with an asterisk at the beginning of each line For example the change to managed node node2 at two time periods is displayed below scrdiff node2 199902141205 node2 latest BASE node2 02 14 1999 12 05 PST TARGET node2 04 10 1999 13 05 PDT latest No filter applied COMPONENT NAME BASE TARGET GROUP NAME ATTRIBUTE NAME HP UX Standard Groups Definition Host File System Host File System Index 1...

Page 39: ... Processor Index 1 Processor Firmware ID HP PA RISC2 0 Processor Load 1 The output describes a processor difference base node1 is a PA 1 1 single processor model and target node2 is PA2 0 multi processor model View configuration information by time and managed node with the scrviewer command which lists one set of configuration information at a time on a node scrviewer node2 latest node2 04 10 199...

Page 40: ...th a user defined tag For example the following command generates the tag name StandardConfig scrtag a node2 StandardConfig 199904171305 scrtag NODE TAG TIME node2 StandardConfig 04 17 1999 13 05 PDT latest 04 18 1999 13 05 PDT oldest 02 07 1999 12 05 PST Tags can be modified or deleted For example to move the tag StandardConfig for node node2 to the next latest snapshot use the command scrtag m n...

Page 41: ...ation scr dmi class HPUX_BundleContents_ scr dmi version 001 Domain Name dom1 hp com To mask the component the following steps can be taken 1 Create a view filter named filter1 2 scrfilter c Template filter1 3 Set the mask for the component with 4 scrfilter s filter1 HP UX Installed Software Definition off 5 Use the filter1 filter with the scrviewer command to successfully exclude the HP UX Instal...

Page 42: ... SCR executable files opt scr lbin Contains SCR backend executables for other commands opt scr lib Contains SCR shared libraries and SCR tcl extension libraries opt scr share man Contains SCR online documentations var opt scr db Contains repository configuration tag and status files var opt scr log Contains commands and backends log file var opt scr tmp Temporary directory for using SCR commands a...

Page 43: ...ion Repository SCR specific configuration parameters The configuration parameters are Managed Node List hostnames targeted by management Data Collection Schedule next scheduled collection time and current collection interval Database Expiration amount of time to keep new information Probe Timeout length of time scrupdate will attempt to collect configuration data from a node The latter three param...

Page 44: ... with node name is provided with the i option list or set the interval time of the specified node l List current parameter values The parameters consist of managed node list collection schedule data expiration and timeout n node If node is not specified list the managed node list If node is specified update the managed node list with node node with prefix plus is added to the list and with prefix ...

Page 45: ...t value the data collection is canceled If the n option with node name is provided with the s option list or set the timeout value of the specified node Formats If configuration parameters or managed nodes are modified some of the following messages are output node is registered as a managed node Default parameters are applied Schedule time MM DD YYYY hh mm tz Interval n days Expiration period n m...

Page 46: ...egistered 7 Specified node is already registered EXAMPLES List Managed Nodes and Parameters View current parameters scrconfig l NODE SCHEDULE TIME INTERVAL EXPIRATION TIMEOUT node1 02 01 1999 15 30 PST 1 day 3 months 5 minutes node3 Off 1 day 3 months 10 minutes List Managed Nodes View the managed node list scrconfig n node1 node3 Update Managed Node Targets Add node2 and remove node1 from managed...

Page 47: ...hedule Stop monitoring activity for node2 scrconfig n node2 s off NOTE Default parameters are effective only for managed nodes registered after the default value is set or modified The value is not applied to the nodes registered before the default value is modified FILES var opt scr log scrlog log Contains managed node addition or deletion parameter modification log SEE ALSO scrdelete 1M scrupdat...

Page 48: ...iguration information is associated with user defined tags by scrtag the information is not removed without the f option Options a Examine configuration information of all nodes to remove f Force removal of configuration information associated with user defined tags in addition to information not associated with any user defined tags n node Examine configuration information of the specified node t...

Page 49: ...e environ 5 and tztab 4 RETURN VALUE Upon completion scrdelete returns with one of the following exit values 0 Successful completion 1 Syntax error 2 Insufficient privilege 3 Insufficient System resource process file or memory 4 Runtime error cannot locate commands or files 6 Specified node is not registered FILES var opt scr log scrlog log Contains data removal log SEE ALSO scrconfig 1M scrtag 1M...

Page 50: ... 1M If hour and minute are not specified the default is 2359 If minute is not specified the default is 59 If a configuration snapshot is not registered at the specified time the snapshot effective at the time is displayed instead Options a All components groups and attributes are listed whether or not differences exist An asterisk at the beginning of a line indicates that a difference exists betwe...

Page 51: ...ween the system time in UTC and the time in the user s local time zone See environ 5 and tztab 4 RETURN VALUE Upon completion scrdiff returns with one of the following exit values 0 Successful completion 1 Syntax error 2 Insufficient privilege 3 Insufficient System resource process file or memory 4 Runtime error cannot locate commands or files 6 Specified node is not registered 7 Specified snapsho...

Page 52: ...1999 and latest configuration of node2 scrdiff node1 199904231200 node2 latest BASE node1 04 22 1999 20 52 PDT TARGET node2 04 23 1999 10 15 PDT latest No filter applied COMPONENT NAME BASE TARGET GROUP NAME ATTRIBUTE NAME HP UX Standard Groups Definition General Information System Name node1 node2 System Location E 110 W 206 FILES var opt scr log scrlog log Contains execution log SEE ALSO scrfilt...

Page 53: ...eresting configuration data The collection filter Probe is used by scrupdate to filter out collection configuration data scrfilter lists defined filter names creates deletes and renames filters displays filter settings sets view or collection flags for specified component group attribute values and updates filters with current DMI information provided by DMI from the managed nodes Filter names mus...

Page 54: ...roup attribute on off Set view or collection flag for specified component group or attribute configuration data or set the default for newly detected information If component group and attribute are omitted the extension flag to control defaults for newly detected information is set If component group or attribute is specified the view or collection flag for view filters or the collection filter i...

Page 55: ... filter Probe u filter Update specified filter settings by accessing the configuration data name available on managed nodes If new data is detected the data name is imported to the filter The update option does not remove existing data names The view or collection flag value for the new data is defined by the extension flag with the exception that off is set merely on the highest data See NOTE for...

Page 56: ...cified has the following format Where flag above is either on or off The syntax of pattern is the same as that of pattern of search condition S option The only one pattern can be specified to a group If two or more patterns are specified to a group scrfilter returns with error Each group needs Attribute attribute2 fla g op ti on Filter File Version file_version Filter Name filter Data Version data...

Page 57: ...ter outputs the following messages Filter original_name copied to name Filter name removed Filter name renamed new_name Filter name set on off for the following information Component component1 Group group1 Attribute attribute2 Filter name updated No new information detected Filter name unchanged Search condition pattern for the filter name is set to the following information ...

Page 58: ...llowing exit values 0 Successful completion 1 Syntax error or update request to overwrite existing filter 2 Insufficient privilege 3 Insufficient System resource process file or memory 4 Runtime error cannot locate commands or files 5 Communication error DMI or network problem 6 Specified filter is not registered 7 Specified component group or attribute is not identified 8 Collection or template v...

Page 59: ...ese attributes greatly increases the disk space consumed by SCR This filter is prohibited from removing and renaming by d and m options Template Read only template view filter The filter can be used to generate new filters It is prohibited to modify the filter by d i m o s S and u options Disk FileSystem LVM Network Patch Software and SystemProperty These are examples of view filter These are free...

Page 60: ...filter l Disk FileSystem LVM Network Patch Probe Software SystemProperty Template myFilter List Filter Contents List filter Template settings scrfilter l Template Filter Name Template Data Version 1 Extension on Component DMI 2 0 Service Provider off Group ComponentID on Attribute Manufacturer on Attribute Product on Create Filter Create filter myFilter from filter Template scrfilter c Template my...

Page 61: ...arameter for Host Physical Memory group in HP UX Standard Groups Definition component scrfilter l myFilter HP UX Standard Groups Definition Host Physical Memory on Set or Reset search condition Set search condition for Host Device group Only the rows in which the Device Type value matches with DiskStorage will be shown by scrviewer scrfilter S DiskDevice HP UX Standard Groups Definition Host Devic...

Page 62: ...st Device Index 12 Device Type 6 DiskStorage Device Description HP C2247 Device ID 0 0 2 2 0 0 0 0 190 67 Device Status 2 Running Device Errors 0 Reset search condition scrfilter S DiskDevice HP UX Standard Groups Definition Host Device Device Type reset Modify filter setting using filter file Generate filter file SettingFile from filter myFilter scrfilter o myFilter SettingFile Edit view flags of...

Page 63: ...er 1M FILES Apply the new setting from filter file SettingFile to filter myFilter scrfilter i SettingFile FILES var opt scr log scrlog log Contains filter creation deletion and modification log SEE ALSO scrdiff 1M scrupdate 1M scrviewer 1M scr 5 ...

Page 64: ...minute are omitted the defaults are 0000 for start_time and 2359 for end_time If minute is omitted the defaults are 00 for the start_time and 59 for the end_time Formats The output to standard out has the following format node is the hostname of the managed node If the same node appears multiple times only the first line indicates the node name the rest of the lines are left blank The time field f...

Page 65: ...0 Successful completion 1 Syntax error 2 Insufficient privilege 3 Insufficient system resource process file or memory 4 Runtime error cannot locate commands or files 6 Specified node is not registered EXAMPLES scrhist n node1 node2 p 19980101 latest NODE TIME ERR TAG node1 03 23 1998 10 10 PST 04 21 1998 09 18 PDT W 06 21 1998 19 56 PDT StableSystem latest node2 01 31 1998 11 23 PST 04 21 1998 09 ...

Page 66: ...es Previous collection information appears first with current collection below it and future scheduled collection below that For each node scrupdate shows the time of the last current or scheduled collection the node name the collection status and any relevant details Options a Output detailed statistics information n node Limit the report to specified node only r Reset status information includin...

Page 67: ...events SCR from collecting data Fix the DMI or network problem If a runtime error occurs a resource shortage such as file system memory or process resource prevented data collection Increase the limiting resource The MEAN collection time is calculated using Normal NML terminations The MAX maximum time is the longest data collection time with Normal NML no error or Warning WRN partial error termina...

Page 68: ...or memory 4 Runtime error cannot locate commands or files EXAMPLES List Status Summary List status information scrstatus TIME START STOP NODE STATUS DETAIL 04 10 1998 00 05 00 09 PDT node2 Completed 04 10 1998 00 20 00 23 PDT node1 Warning AcErr 04 11 1998 00 05 PDT node2 Executing 04 11 1998 00 20 PDT node1 Scheduled 04 12 1998 00 05 PDT node2 Scheduled FILES var opt scr log scrlog log Contains r...

Page 69: ...pshot time to and from tag registers a tag associated with a snapshot modified the association between tag and time removes a specified tag The tag name must start with an alphabetic character Optional following characters can be alphabet A Z a z digit 0 9 plus hyphen or underscore _ Options l node tag Specified tag for node is converted to time r node time Specified time for node is converted to ...

Page 70: ...Upon completion scrtag returns with one of the following exit values 0 Successful completion 1 Syntax error or update request to system managed tags 2 Insufficient privilege 3 Insufficient System resource process file or memory 4 Runtime error cannot locate commands or files 6 Specified node is not registered 7 Specified tag is not registered 8 Specified tag is already registered 9 Specified snaps...

Page 71: ...2071300 Remove Tag Remove the tag Standard for node node1 scrtag d node1 Standard NOTE The System Configuration Repository maintains the latest and oldest tags for each node as scrupdate probes each managed node These tags are controlled by the system and treated as read only tags Any attempt to add modify or remove these tags are checked out The expiration period of configuration data can be set ...

Page 72: ...ts the new information is not registered in the repository Options a Collect configuration information from all managed nodes n node Collect configuration information for a specified node node t name Set name as a tag for the collected snapshot scrdiff or scrviewer can use the tag See scrtag 1M for more information Formats Upon completion some of the following messages are output Configuration dat...

Page 73: ...mands or files 5 Communication error DMI or network problem 6 Specified node is not registered EXAMPLES Collect configuration information for node node1 scrupdate n node1 Configuration data for node1 199904101205 collected Data registered in the repository Collect configuration information for node node2 and label it with a tag called Stable scrupdate t Stable n node2 Configuration data for node2 ...

Page 74: ... is omitted the default is 59 If a snapshot of the specified time is not in the repository the snapshot effective at the time is displayed Options f filter Specify view filter name If not specified all stored configuration information is reported See scrfilter 1M for filter management Formats The output message format is as follows When a group consists of multiple rows of information attribute_na...

Page 75: ...rocess file or memory 4 Runtime error cannot locate commands or files 6 Specified managed node is not registered 7 Specified snapshot is not registered in repository 8 Specified filter is not registered in repository 9 Specified tag is not registered in repository EXAMPLES List Configuration Information List the configuration information of node node1 on June 23 12 00 1998 PDT scrviewer node1 1998...

Page 76: ...76 Reference SCR Reference man Pages scrviewer 1M FILES FILES var opt scr log scrlog log Contains execution log SEE ALSO scrfilter 1M scrtag 1M scr 5 ...

Page 77: ... does not modify the contents of the SCR logfile The contents of the log file are filtered and displayed according to the settings of the available filters Multiple instances of scrlog_viewer can be run simultaneously Filters scrlog_viewer supports four types of filters level of detail component date time and user filters These filters can be used in combination to provide highly selective logfile...

Page 78: ... root privilege to operate Options The following options enable you to set up filtering and other attributes If scrlog_viewer runs interactively these attributes may also be set and modified in the various supported menus and displays The available options are s MMDDhhmm CC YY The s option sets the start date time filter to the date time given by its argument The date time is specified in the foll...

Page 79: ...e is D c component The c option sets the desired component component must be specified and may have the value C D F T R P O or A The component is set as follows C Configuration D Data Management F Filter Management T Tag Management R Repository P Presentation O Other reserved A All If the c option is not specified the default value is A u user The u option sets the user filter to the user name or ...

Page 80: ... interactively If given file must be the last argument specified on the command line EXAMPLES Capture the current contents of the SCR logfile using default filtering and put into the file scr out scrlog_viewer n scr out The following example does the same thing scrlog_viewer o scr out View only the commands executed between 8am June 5 1999 and 10pm August 14 1999 scrlog_viewer s 0605080099 e 08142...

Page 81: ...Reference 81 SCR Reference man Pages scrlog_viewer 1M SEE ALSO SEE ALSO scrconfig 1M scrdelete 1M scrdiff 1M scrfilter 1M scrhist 1M scrstatus 1M scrtag 1M scrupdate 1M scrviewer 1M scr 5 ...

Page 82: ...82 Reference SCR Reference man Pages scrlog_viewer 1M SEE ALSO ...

Page 83: ...SCR MAN and SCR MX If more information regarding the fileset contents and their attributes is needed then the following command can be executed usr sbin swlist v l file SCR SCR RUN SCR SCR MAN SCR SCR MX This command will display the directories and files for each fileset and their attributes such as size owner group and type ...

Page 84: ...84 AppendixA SCR File Set ...

Reviews: