show app-engine logs
Syntax
show app-engine logs <compute-cluster compute-cluster-name> <compute-cluster compute-cluster-name compute-node compute-node-name>
Description
Displays log files regarding the state of the specified Guest VM or host OS, located in the /var/log/ directory.
Options
compute-cluster compute-cluster-name compute-node compute-node-name
—Name of the compute cluster and name of the compute node. On QFX switches with a host OS, the default compute cluster and compute node names are default-cluster and default-node, and the command applies to the host OS by default.
Additional Information
In the operational mode of the CLI when you type ? for a name, for example a compute-node name, you would expect to get a list of available compute nodes plus the option to type in a name not listed. This is the auto-complete feature in the CLI. However, in JunosV App Engine, if you specify compute cluster and compute node in the operational command, the auto-complete works only if the compute cluster is put before the compute node.
For commands with an optional compute-cluster compute-cluster-name
option, if that option is omitted,
the command will be executed on all compute nodes of all compute clusters.
For commands with an optional compute-node compute-node-name
option, if that option is omitted, the command will be executed
on all compute nodes of the specified compute cluster.
Required Privilege Level
view
Output Fields
For a description of the output fields, see Table 1. Output fields are listed in the approximate order in which they appear.
Field Name |
Field Description |
---|---|
|
Name of compute cluster. |
|
Name of compute node. |
|
List of log files. |
Sample Output
show app-engine logs (QFX5100 Switches)
user@host> show app-engine logs Compute cluster: default-cluster Compute node: default-node Logs Info ========= total 1012 drwxr-xr-x 2 root root 4096 Feb 2 13:53 audit -rw-r--r-- 1 root root 0 Feb 2 13:59 named.log -rw-r--r-- 1 root root 0 Feb 2 15:30 btmp drwxr-xr-x 2 root root 4096 Feb 2 17:11 ntpstats -rw------- 1 root root 0 Feb 2 17:27 tallylog drwxr-xr-x 2 root root 4096 Feb 7 10:10 stap-server -rw------- 1 root root 0 Feb 7 10:16 spooler -rw------- 1 root root 0 Feb 7 10:16 maillog -rw------- 1 root root 0 Feb 7 10:16 boot.log drwxr-xr-x 5 root root 4096 Feb 7 10:16 libvirt drwxr-x--- 2 root root 4096 Feb 7 10:16 watchdog -rw-r--r-- 1 root root 41693 Feb 10 04:27 dmesg.old drwxr-xr-x 2 root root 4096 Feb 10 04:30 sa -rw-r--r-- 1 root root 41693 Feb 10 09:35 dmesg -rw-rw-r-- 1 root root 1193 Feb 10 09:47 vjunos_install_log -rw-rw-r-- 1 root utmp 141312 Feb 10 10:08 wtmp -rw------- 1 root root 25514 Feb 10 10:08 secure -rw-r--r-- 1 root root 292 Feb 10 10:08 lastlog -rw------- 1 root root 338593 Feb 10 10:17 cron -rw-r--r-- 1 root root 383229 Feb 10 10:17 messages
Release Information
Command introduced in Junos OS Release 13.2X51-D15.