Sun N1 Service Provisioning System 5.2 Command-Line Interface Reference Manual

pe.p.en

This command displays the output of an <execNative> or an <execJava> step.

Table 11–3 Arguments and Result for the pe.p.en Command

Argument/Result 

Syntax 

Description 

ID 

Required or Optional 

StepDescriptionContainer 

Which step in the plan to display. This can be gathered from the output of pe.p.lo command or specified by label. 

IDs 

Required or Optional 

StepDescriptionContainerArray 

Which steps in the plan to display. These can be gathered from the output of pe.p.lo command or specified by label. IDs must be specified if ID is not. If both ID and IDs is specified, IDs is ignored. 

output 

Optional 

Either “so” or “se” 

Here for backward compatibility. The output will contain both the standard error and standard out. When available the exit status is also included.  

result 

ExecNativeOutputArray 

Output of the step or steps indicated. 

Examples Using the Command

A StepDescriptionContainer can be either a stepID or a Label. You should use a single StepDescriptionContainer for the -ID argument. The -IDs argument should be a comma-separated list of StepDescriptionContainers. The examples use the following information to create valid commands.

taskID

1001

stepID

2011 with a label value of label1

2012 with a label value of label2

hostID

3001 with a hostname of host1


Example 11–1 Using a Step ID


./cr_cli -cmd pe.p.en -ID ID:2011
./cr_cli -cmd pe.p.en -ID 2011 


Example 11–2 Using a Label


./cr_cli -cmd pe.p.en -ID L:label1:1001:NM:host1 
./cr_cli -cmd pe.p.en -ID L:label1:ID:1001:ID:3001 


Example 11–3 Using a StepDescriptionContainerArray

In this example one element is a step id and the other is a label.


./cr_cli -cmd pe.p.en -IDs L:label1:ID:1001:ID:3001,2012