HP Model 755/125cL System Configuration Repository User's Reference: HP-UX/HP - Page 46

RETURN VALUE, EXAMPLES, List Managed Nodes and Parameters, List Managed Nodes

Page 46 highlights

SCR Reference (man Pages) scrconfig (1M) - RETURN VALUE RETURN VALUE Upon completion, scrconfig returns one of the following exit values: 0 Successful completion. 1 Syntax error. 2 Insufficient privilege. 3 System resource error - process, memory, or files. 4 Runtime error - cannot locate commands or files. 5 Communication error - DMI or network problem. 6 Specified node is not registered. 7 Specified node is already registered. EXAMPLES List Managed Nodes and Parameters View current parameters: # scrconfig -l NODE SCHEDULE TIME INTERVAL TIMEOUT node1 02/01/1999 15:30 PST 1 day 5 minutes node3 Off 1 day 10 minutes EXPIRATION 3 months 3 months List Managed Nodes View the managed node list: # scrconfig -n node1 node3 Update Managed Node Targets Add node2 and remove node1 from managed node list: # scrconfig -n +node2 -node1 Set Data Collection Schedule Set next scheduled time for node3 to 06:00 Feb 7th, 1999 in the local time zone: # scrconfig -n node3 -s 199902070600 46 Reference

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70
  • 71
  • 72
  • 73
  • 74
  • 75
  • 76
  • 77
  • 78
  • 79
  • 80
  • 81
  • 82
  • 83
  • 84

46
Reference
SCR Reference (man Pages)
scrconfig (1M) - RETURN VALUE
RETURN VALUE
Upon completion,
scrconfig
returns one of the following exit values:
0
Successful completion.
1
Syntax error.
2
Insufficient privilege.
3
System resource error - process, memory, or files.
4
Runtime error - cannot locate commands or files.
5
Communication error - DMI or network problem.
6
Specified node is not registered.
7
Specified node is already registered.
EXAMPLES
List Managed Nodes and Parameters
View current parameters:
# scrconfig -l
NODE
SCHEDULE TIME
INTERVAL
EXPIRATION
TIMEOUT
node1
02/01/1999 15:30 PST
1 day
3 months
5 minutes
node3
Off
1 day
3 months
10 minutes
List Managed Nodes
View the managed node list:
# scrconfig -n
node1
node3
Update Managed Node Targets
Add
node2
and remove
node1
from managed node list:
# scrconfig -n +node2 -node1
Set Data Collection Schedule
Set next scheduled time for
node3
to
06:00 Feb 7th, 1999
in the local
time zone:
# scrconfig -n node3 -s 199902070600