Veritas Access Appliance Command Reference Guide
- Overview
- Appendix A. Main > Appliance
- Appendix B. Main > Manage > Cluster
- Appendix C. Main > Manage > Software
- Appendix D. Main > Manage > Storage
- Appendix E. Main > Monitor
- Appendix F. Main > Network
- Appendix G. Main > Settings
- Appendix H. Main > Support
Name
Main > Support > Logs — Manage logging setting, view and share logs files.
SYNOPSIS
Browse
Share
VxLogView Minutes minutes_ago
VxLogView Module
DESCRIPTION
Use this command to do the following functions:
Browse the appliance log directories and files.
You can use the Browse command to view the log directories and log files that are configured in your appliance node. When you run the Browse command the command prompt changes to LOGROOT/>. From the LOGROOT/ command prompt you can run the following commands to list, view, and change directories:
ls - List the directories and files
tree - Provides a tree-view of the directories and files.
cd DIR - Use to change the directory, where DIR is the directory name. For example, you can use cd ., cd .., and cd -.
less FILE - Provides a read-only view of a file. You must enter the letter q or quit to exit this view.
exit|quit - Enables you to exit the log shell.
help|? - Use either of these two commands to display help.
From the LOGROOT/> command prompt, you can use the ls command to see the following log directories on the host:
APPLIANCE
OS
COREDUMP
To see the log files from within a log directory, you must change directories to the log directory that contains the log files that you want to view. After you change directories, the same commands that were available under the LOGROOT/ view are available for each of the log directories.
For example, to see the operating system (OS) log files, you must first enter cd OS at the LOGROOT/> command prompt. The command prompt changes to LOGROOT/OS>/. Then you can enter ls to see the file names. Finally, you can use the less filename command to view a read-only version of the log file.
Export or remove CIFS and NFS shares for the logs.
Use the Share Open command to export the CIFS and the NFS shares for the logs. The Share Close command removes the CIFS and the NFS shares for the logs.
Display debug information from the VxLog files.
Use the VxLogView command to display log files for specific job or by a set duration of time.
OPTIONS
- Browse
Use to show the appliance logs on the current node.
- Share
Use to extract the CIFS and the NFS shares for the logs.
For CIFS, you must map the share using the appliance "admin" user's credentials.
- VxLogView Minutes minutes_ago
Display debug information from the log files using time (in minutes) as the criteria by which the information is parsed.
Where minutes_ago is the amount of time, in minutes, used to determine how much of the past debug information to display.
- VxLogView Module
Use the command to display debug information from the log files by designating a specific logging module as the criteria by which the information is parsed. Type the number that corresponds to the appliance system component that contains the module that you want to view the VxLog of.