Product Documentation and Knowledge Base - HomeDocumentation


Charon-VAXCharon-AXPCharon-PDPCharon-SSPCharon-PAR

Additional command lines

Table of Contents

Virtual machines list and status (vmlist)

Usage

# vmlist

Description

Display the list of managed virtual machines and their status

Parameters

-h            : display help text

Example

Virtual machine log view (logview)

Usage

# logview [options] [logfile]

(info) The log files can also be edited from the menu → "Service management" → "View latest guest log file"

Description

Uses 'vim' editor to view a CHARON virtual machine log file with highlights.

If <logfile> is empty, the script will look for available log files in the virtual machines list managed by the Toolkit. If only one is managed, the current log will be selected, if more than one virtual machine is present, a selection menu will appear.

(info) It is recommended to enlarge the current terminal window to at least 132 columns. If using the graphical version of 'vim' (# logview -g) the window size is set to 32 lines and 160 columns by default.

Parameters

-h            : display help text

-g or --gui   : use 'gvim' instead of 'vim' (if installed)

-s or --short : edit a copy of the log file without 'regular license check'  messages

Example

(lightbulb) For ease of use, it is also possible to copy the charonlog.vimrc file to $HOME/.vimrc. Doing so will make 'vim' highlight log lines by default (if you prefer to use 'vim' rather than 'logview')


Virtual machine log tail (logtail)

Usage

# logtail [options] [logfile]

(info) The log files can also be continuously viewed from the menu → "Service management" → "View latest guest log file"

Description

Continuous view of a CHARON virtual machine log file with highlights.

Press <CTRL-C> to stop the view.

If <logfile> is empty, the script will look for available log files in the virtual machines list managed by the Toolkit. If only one is managed, the current log will be selected, if more than one virtual machine is present, a selection menu will appear.

(info) It is recommended to enlarge the current terminal window to at least 132 columns.

Parameters

  -h : display help text

Example

logtail /charon/logs/myds20.log



© Stromasys, 1999-2024  - All the information is provided on the best effort basis, and might be changed anytime without notice. Information provided does not mean Stromasys commitment to any features described.