Jump to content

Template:OriginalGetBackup

Unchecked
From pool

{{{1}}}

 Need an Example


Syntax Examples - Only Specify the Command:

{{Get|command}}

Show alternative Text:

{{Get|command|alt text}}

Show alternative Text and specify code sample:

{{Get|command|alt text|<pre>sample code</pre>}}

The Word "open" can be added as the last parameter in any of the above examples this ensures the code sample is shown by default:

{{Get|command|alt text|<pre>sample code</pre>|open}}

example code:

{{Get|cms show|
<pre>
cms show
<6306 (?)>
6306 05/01/2013-12:49:29 CONFIG Util Execute shellCommand.cpp 2475
0 SHELLCommand ID:      1:11:37:13.637_199_821| (cms show)

 [6306] Virtualization:CopyMirrorSwap 05/01/2013 12:49:29 PM

 Index  DestVolume SourceVolume    Type     Priority    Current       Total     CurrentPitc  SuspendState            State             Maintain      Active
                                                        Position     CopySize                                                         ActivePitc   Controller
======= ========== ============ ========== ========== ============ ============ =========== ============== ========================= ============= ==========
    254        499          322 (2) Mirror (2) Medium   1472098304            0         795 (1) Running    (51) Retrying                         0       6306
    258        503          479 (2) Mirror (2) Medium            0   1572864000         113 (1) Running    (10) Synced                           0       6307
    267        514          513 (2) Mirror (2) Medium    384393216            0          14 (1) Running    (51) Retrying                         0       6307
    268        515          327 (2) Mirror (2) Medium            0    251658240         444 (1) Running    (10) Synced                           0       6306
    269        516          326 (2) Mirror (2) Medium            0    335544320         448 (1) Running    (10) Synced                           0       6307
    273        520          329 (2) Mirror (2) Medium            0     41943040         444 (1) Running    (10) Synced                           0       6307
    279        527          476 (2) Mirror (2) Medium            0    157286400          90 (1) Running    (10) Synced                           0       6307
    280        528          452 (2) Mirror (2) Medium            0    629145600         253 (1) Running    (10) Synced                           0       6307
Walk: Display 8 of 8
</pre>}}

example output:

cms show
<6306 (?)>
6306 05/01/2013-12:49:29 CONFIG Util Execute shellCommand.cpp 2475
0 SHELLCommand ID:      1:11:37:13.637_199_821| (cms show)

 [6306] Virtualization:CopyMirrorSwap 05/01/2013 12:49:29 PM

 Index  DestVolume SourceVolume    Type     Priority    Current       Total     CurrentPitc  SuspendState            State             Maintain      Active
                                                        Position     CopySize                                                         ActivePitc   Controller
======= ========== ============ ========== ========== ============ ============ =========== ============== ========================= ============= ==========
    254        499          322 (2) Mirror (2) Medium   1472098304            0         795 (1) Running    (51) Retrying                         0       6306
    258        503          479 (2) Mirror (2) Medium            0   1572864000         113 (1) Running    (10) Synced                           0       6307
    267        514          513 (2) Mirror (2) Medium    384393216            0          14 (1) Running    (51) Retrying                         0       6307
    268        515          327 (2) Mirror (2) Medium            0    251658240         444 (1) Running    (10) Synced                           0       6306
    269        516          326 (2) Mirror (2) Medium            0    335544320         448 (1) Running    (10) Synced                           0       6307
    273        520          329 (2) Mirror (2) Medium            0     41943040         444 (1) Running    (10) Synced                           0       6307
    279        527          476 (2) Mirror (2) Medium            0    157286400          90 (1) Running    (10) Synced                           0       6307
    280        528          452 (2) Mirror (2) Medium            0    629145600         253 (1) Running    (10) Synced                           0       6307
Walk: Display 8 of 8
Need an Example



This content is in the Template Namespace. Used for page-templates that can be re-used across the wiki.