show file
The show file
command displays specified groups and files that you can access for diagnostic purposes. You can page through the display 10 lines at a time. Use this command to view files after you enable the bloxTools Environment service.
Syntax
show file {groups | group}
show file group file1 [file2 ...] [follow]
If you use the show file
command without any arguments, it displays all the files that you can manage with this command. If you use the groups argument, a list of all groups is shown.
If you use the show file
command with a group
argument but no file
,
it displays a list of all the files in the specified group. If you use the show file
command with group
and file
arguments, you can specify a real-time (live) view of the file—the same as the using tail -f arguments. You can interrupt the display by pressing Enter.
Argument | Description |
---|---|
groups | Displays a list of available groups. |
group | Displays a list of files for the specified group. |
group file1 [file2 ...] | Displays the specified (group) files. |
follow | Displays the contents of the file live, in real-time. |
Examples
Viewing bloxTools Files
Infoblox > show file bloxtools portal_access
Showing file /storage/web-portal/udata/logs/access.log
Infoblox > show file bloxtools portal_error
Showing file /storage/web-portal/udata/logs/error.log
[Thu Sep 04 11:07:59 2008] [warn] RSA server certificate CommonName (CN)
`www.infoblox.com' does NOT match server name!?
[Thu Sep 04 11:08:03 2008] [notice] Digest: generating secret for digest authentication
...
[Thu Sep 04 11:08:03 2008] [notice] Digest: done
[Thu Sep 04 11:08:04 2008] [warn] RSA server certificate CommonName (CN)
`www.infoblox.com' does NOT match server name!?
[Thu Sep 04 11:08:04 2008] [notice] Apache/2.2.6 (Unix) mod_ssl/2.2.6 OpenSSL/0.9.8h
DAV/2 mod_perl/2.0.3 Perl/v5.8.8 configured -- resuming normal operations
[Thu Sep 04 11:11:34 2008] [warn] RSA server certificate CommonName (CN)
`www.infoblox.com' does NOT match server name!?
[Thu Sep 04 11:11:39 2008] [notice] Digest: generating secret for digest authentication
...
[Thu Sep 04 11:11:39 2008] [notice] Digest: done
[Thu Sep 04 11:11:40 2008] [warn] RSA server certificate CommonName (CN)
`www.infoblox.com' does NOT match server name!?
[Thu Sep 04 11:11:40 2008] [notice] Apache/2.2.6 (Unix) mod_ssl/2.2.6 OpenSSL/0.9.8h
DAV/2 mod_perl/2.0.3 Perl/v5.8.8 configured -- resuming normal operations
Infoblox > show file bloxtools portal_log
Showing file /storage/web-portal/udata/logs/syslog.log
Sep 4 11:07:55 (none) kernel: Linux version 2.6.17.4 (root@buildvm2) (gcc version
3.2.1) #1 Thu Aug 28 02:20:30 EDT 2008
Sep 4 11:07:55 (none) kernel: On node 0 totalpages: 32768
Sep 4 11:07:55 (none) kernel: DMA zone: 32768 pages, LIFO batch:7
Sep 4 11:07:55 (none) kernel: Built 1 zonelists
Sep 4 11:07:55 (none) kernel: Kernel command line: root=/dev/root rootfstype=hostfs
rootflags=/storage/web-portal/root_fs ubdb=/storage/web-portal/swapfile
ubdc=/storage/web-portal/storagefile mem=128M eth0=tuntap,uml_htap0 con0=null con1=pts
con2=pts hostfs=/storage/web-portal
Sep 4 11:07:55 (none) kernel: PID hash table entries: 1024 (order: 10, 4096 bytes)
Sep 4 11:07:55 (none) kernel: Dentry cache hash table entries: 16384 (order: 4, 65536
bytes)
Sep 4 11:07:55 (none) kernel: Inode-cache hash table entries: 8192 (order: 3, 32768
bytes)
Sep 4 11:07:55 (none) kernel: Memory: 124372k available
Sep 4 11:07:55 (none) kernel: Calibrating delay loop... 1648.23 BogoMIPS (lpj=8241152)
Sep 4 11:07:55 (none) syslog-ng[699]: syslog-ng starting up; version='2.0.6'
Sep 4 11:07:55 (none) kernel: Mount-cache hash table entries: 512
Enter <return> to continue with More lines or enter q<return> to proceed to the next
file