HP 3PAR StoreServ 7200 2-node HP 3PAR Command Line Interface Administrator& - Page 138

Displaying Scheduled Tasks, Scheduling Tasks

Page 138 highlights

Table 13 Commands Initiated by the System Scheduler (continued) Command tunevv tunesys updatesnapspace updatevv Description Changes the layout of a virtual volume. Analyzes and automatically corrects space usage imbalances. Updates the snapshot space actually used by a virtual volume. This task cannot be cancelled. Updates a snapshot virtual volume with a new snapshot. The canceltask command cannot be used with the CLI commands initiated by the System Scheduler commands. The task type scheduled_task can be canceled with the canceltask command by users with Super rights. The following task manager commands can be used on CLI command operations initiated by the System Scheduler with the task type scheduled_task: • showtask • waittask • removetask For more information about the task manager commands, see "Task Manager Commands" (page 126). Displaying Scheduled Tasks To display all scheduled user and system tasks, issue the showsched-all command. To display specific scheduled tasks, issue the showsched | command, where: • is the name of the schedule to display. • displays all schedules that match the pattern. For a complete list of options available for the showsched command, see the HP 3PAR Command Line Interface Reference and the HP 3PAR CLI Help. Scheduling Tasks To create a scheduled task, issue the createsched command, where: • is the name of the CLI command to be initiated. The CLI command must be one of the commands listed in Table 13 (page 137). • is a crontab-style argument that specifies when the CLI command is initiated. You can use the minute, hour, day-of-month, month, and day-of-week format, or use one of the special entries to schedule when the CLI command is initiated. • specifies the name of the schedule. For a complete list of options available for the createsched command, see the HP 3PAR Command Line Interface Reference and the HP 3PAR CLI Help. 138 Managing Tasks

  • 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
  • 85
  • 86
  • 87
  • 88
  • 89
  • 90
  • 91
  • 92
  • 93
  • 94
  • 95
  • 96
  • 97
  • 98
  • 99
  • 100
  • 101
  • 102
  • 103
  • 104
  • 105
  • 106
  • 107
  • 108
  • 109
  • 110
  • 111
  • 112
  • 113
  • 114
  • 115
  • 116
  • 117
  • 118
  • 119
  • 120
  • 121
  • 122
  • 123
  • 124
  • 125
  • 126
  • 127
  • 128
  • 129
  • 130
  • 131
  • 132
  • 133
  • 134
  • 135
  • 136
  • 137
  • 138
  • 139
  • 140
  • 141
  • 142
  • 143
  • 144
  • 145
  • 146
  • 147
  • 148
  • 149
  • 150
  • 151
  • 152
  • 153
  • 154
  • 155
  • 156
  • 157
  • 158
  • 159
  • 160
  • 161
  • 162
  • 163
  • 164
  • 165
  • 166
  • 167
  • 168
  • 169
  • 170
  • 171
  • 172
  • 173
  • 174
  • 175
  • 176
  • 177
  • 178
  • 179
  • 180
  • 181
  • 182
  • 183
  • 184
  • 185
  • 186
  • 187
  • 188
  • 189
  • 190
  • 191
  • 192
  • 193
  • 194
  • 195
  • 196
  • 197
  • 198
  • 199
  • 200
  • 201
  • 202
  • 203
  • 204

Table 13 Commands Initiated by the System Scheduler
(continued)
Description
Command
Changes the layout of a virtual volume.
tunevv
Analyzes and automatically corrects space usage imbalances.
tunesys
Updates the snapshot space actually used by a virtual volume. This task cannot
be cancelled.
updatesnapspace
Updates a snapshot virtual volume with a new snapshot.
updatevv
The
canceltask
command cannot be used with the CLI commands initiated by the System
Scheduler commands. The task type
scheduled_task
can be canceled with the
canceltask
command by users with Super rights. The following task manager commands can be used on CLI
command operations initiated by the System Scheduler with the task type
scheduled_task
:
showtask
waittask
removetask
For more information about the task manager commands, see
“Task Manager Commands”
(page 126)
.
Displaying Scheduled Tasks
To display all scheduled user and system tasks, issue the
showsched-all
command.
To display specific scheduled tasks, issue the
showsched <schedule_name>|<pattern>
command, where:
<schedule_name>
is the name of the schedule to display.
<pattern>
displays all schedules that match the pattern.
For a complete list of options available for the
showsched
command, see the
HP 3PAR Command
Line Interface Reference
and the HP 3PAR CLI Help.
Scheduling Tasks
To create a scheduled task, issue the
createsched <command> <task_schedule>
<schedule_name>
command, where:
<command>
is the name of the CLI command to be initiated. The CLI command must be one
of the commands listed in
Table 13 (page 137)
.
<task_schedule>
is a crontab-style argument that specifies when the CLI command is
initiated. You can use the minute, hour, day-of-month, month, and day-of-week format, or use
one of the special entries to schedule when the CLI command is initiated.
<schedule_name>
specifies the name of the schedule.
For a complete list of options available for the
createsched
command, see the
HP 3PAR Command
Line Interface Reference
and the HP 3PAR CLI Help.
138
Managing Tasks