The operator needs to execute a long-running shell script. How can the script be executed so the operator does not have to wait until it is complete to access the command prompt?()A、./script.kshB、nohup ./script.kshC、run -b ./script.kshD、./script.ksh nohup.out
The operator needs to execute a long-running shell script. How can the script be executed so the operator does not have to wait until it is complete to access the command prompt?()
- A、./script.ksh
- B、nohup ./script.ksh
- C、run -b ./script.ksh
- D、./script.ksh > nohup.out
相关考题:
How can an operator temporarily gain access to the command line while in a smit session, without losing the current smit session?() A. F2 keyB. F6 keyC. F8 keyD. F9 key
The operator needs to execute a long-running shell script. How can the script be executed so the operator does not have to wait until it is complete to access the command prompt?() A. ./script.kshB. nohup ./script.kshC. run -b ./script.kshD. ./script.ksh nohup.out
Operator needs to remove all leading comments from shell.script file. Which of the following vi sub-command can achieve this?() A. :r/^#//gB. :1,$ s/^#//gC. :sed s/^#//gD. :sub s/^#//g
You want to perform in incomplete recovery of your database. You plan to use these commands to recover your database: SET UNTIL TIME = ’2000-12-09:11:44:00’; RESTORE DATABASE; RECOVER DATABASE; How should the commands be executed? ()A、Only the SET command must be within a RUN block.B、All commands should be executed at the RMAN prompt.C、All three commands must be within a single RUN block.D、Only the RESTORE and RECOVER commands must be within a single RUN block.
A three-node cluster experienced a node failure. The resource groups were acquired as cexpected. The node has been repaired,and HACMP has been restarted. How does the operator determine that the node has successfully re-integrated into the cluster?() A、 Use the clstat command.B、 Use the cIRGinfor command.C、 Tail the /etc/hacmp.out file and wait for "node_up_complete" to finish successfully.D、 Tail the /usr/es/adm/cluster.log file and wait for "node_up_complete" to finish successfully.
When an operator is trying to log off the system displays this message: you have running jobs?? What does this mean?()A、One or more processes are running in the background, preventing log off.B、One or more processes are paused, requiring operator input prior to logging off.C、At least one process is running in the background and it will keep running after the operator logs offD、At least one process is running in the background using nohup and it will terminate when the operator logs off
How can an operator list all its history of commands in one step?()A、Run c -l 0?from the command line.Run ?c -l 0?from the command line.B、Invoke SMIT for the shell environment.C、Run the SC + H?combination at the command prompt.Run the ?SC + H?combination at the command prompt.D、Use a rep?command with its UID against the /var/log/history_cmds file.Use a ?rep?command with its UID against the /var/log/history_cmds file.
How can an operator temporarily gain access to the command line while in a smit session, without losing the current smit session?()A、F2 keyB、F6 keyC、F8 keyD、F9 key
A user has written a script that is not running correctly and asks an administrator for help. Without adding anything to the script, how can the administrator determine the cause of the problem?()A、Run the script with an 'sh -x' in front.B、Run the script with a 'ksh -v' in front.C、Type debug into the command line before running the script.D、Type 'set -x' into the command line before running the script.
Operator needs to remove all leading comments # from shell.script file. Which of the following vi sub-command can achieve this?()A、:r/^#//gB、:1,$ s/^#//gC、:sed s/^#//gD、:sub s/^#//g
An administrator is supporting an AIX 6.1 LPAR remotely and needs a tape operator to plug a cable into an Ethernet adapter. The tape operator does not have POWER6 595 knowledge. What can the administrator do to assist the tape operator to locate the correct adapter?() A、Advise the tape operator to review the hardware service guide.B、Use the diag command to set the Ethernet adapter slot LED to flash.C、Advise the tape operator to check the WWN stickers of all Ethernet adapter in the I/O drawers.D、Create a login account for tape operator on the HMC and advise the tape operator to locate the adapter using the GUI step by step.
You have created a script in the recovery catalog called backup_database. Which of the following commands would successfully execute that script?() A、 run { open script backup_database; run script backup_database }B、 run { engage script backup_database; }C、 run { run script backup_database; }D、 Run { execute script backup_database; }E、 The name backup_database is an invalid name for an RMAN script. Trying to run it from RMAN would result in an error.
Which statement about using RMAN stored scripts is true?() A、 To create and execute an RMAN stored script,you must use a recovery catalog.B、 When executing a stored script and a command fails,the remainder of the script is executed,and a message is written to the alert log file.C、 RMAN stored scripts can always be executed against any target database that is registered in the recovery catalog.D、 When you execute a stored script,it always executes using the persistent channel settings previously set with the CONFIGURE command.
You issue this RMAN command: RMAN create script Level0Backup { backup incremental level 0 format ‘/u01/db01/backup/%d_%_Sp’ fileperset 5 (database include current controlfile); sql ‘alter database archive log current’; } Which three statements are true about the Level0Backup script you just created?()A、The script is stored only in the control file.B、The script is stored only in the recover catalog.C、The script can be executed only by using the RMAN RUN command.D、The commands of the script can be displayed with the LIST command.E、The commands of the script can be displayed with the PRINT command.F、The commands of the script can be displayed with the REPORT command.
Given the script create script db_backup_datafile_script {backup datafile and 1, and2 plus archivelog delete input;} Run {execute script db_backup_datafile_script using 2;} What is the result of running this command?() A、 The script will fail since you instructed RMAN to back up only one datafile rather than twoB、 The script will successfully back up datafile 3 without errorC、 The script will fail since it uses a substitution variable which is not supportedD、 The execute script command will prompt for the value of and2 since it’s not included in the commandE、 The script will fail because you cannot use the plus archivelog command when backing up
单选题Which statement about using RMAN stored scripts is true?()A To create and execute an RMAN stored script,you must use a recovery catalog.B When executing a stored script and a command fails,the remainder of the script is executed,and a message is written to the alert log file.C RMAN stored scripts can always be executed against any target database that is registered in the recovery catalog.D When you execute a stored script,it always executes using the persistent channel settings previously set with the CONFIGURE command.
单选题When an operator is trying to log off the system displays this message: you have running jobs?? What does this mean?()AOne or more processes are running in the background, preventing log off.BOne or more processes are paused, requiring operator input prior to logging off.CAt least one process is running in the background and it will keep running after the operator logs offDAt least one process is running in the background using nohup and it will terminate when the operator logs off
单选题You want to perform in incomplete recovery of your database. You plan to use these commands to recover your database: SET UNTIL TIME = ’2000-12-09:11:44:00’; RESTORE DATABASE; RECOVER DATABASE; How should the commands be executed? ()AOnly the SET command must be within a RUN block.BAll commands should be executed at the RMAN prompt.CAll three commands must be within a single RUN block.DOnly the RESTORE and RECOVER commands must be within a single RUN block.
单选题You have created a script in the recovery catalog called backup_database. Which of the following commands would successfully execute that script?()A run { open script backup_database; run script backup_database }B run { engage script backup_database; }C run { run script backup_database; }D Run { execute script backup_database; }E The name backup_database is an invalid name for an RMAN script. Trying to run it from RMAN would result in an error.
单选题Which statement about using RMAN stored scripts is true?()ATo create and execute an RMAN stored script, you must use a recovery catalog.BWhen executing a stored script and a command fails, the remainder of the script is executed, and a message is written to the alert log file.CRMAN stored scripts can always be executed against any target database that is registered in the recovery catalog.DWhen you execute a stored script, it always executes using the persistent channel settings previously set with the CONFIGURE command.
单选题How can an operator list all its history of commands in one step?()ARun c -l 0?from the command line.Run ?c -l 0?from the command line.BInvoke SMIT for the shell environment.CRun the SC + H?combination at the command prompt.Run the ?SC + H?combination at the command prompt.DUse a rep?command with its UID against the /var/log/history_cmds file.Use a ?rep?command with its UID against the /var/log/history_cmds file.
单选题A three-node cluster experienced a node failure. The resource groups were acquired as cexpected. The node has been repaired,and HACMP has been restarted. How does the operator determine that the node has successfully re-integrated into the cluster?()A Use the clstat command.B Use the cIRGinfor command.C Tail the /etc/hacmp.out file and wait for node_up_complete to finish successfully.D Tail the /usr/es/adm/cluster.log file and wait for node_up_complete to finish successfully.
单选题The operator needs to execute a long-running shell script. How can the script be executed so the operator does not have to wait until it is complete to access the command prompt?()A./script.kshBnohup ./script.kshCrun -b ./script.kshD./script.ksh nohup.out
单选题A user has written a script that is not running correctly and asks an administrator for help. Without adding anything to the script, how can the administrator determine the cause of the problem?()ARun the script with an ’sh -x’ in front.BRun the script with a ’ksh -v’ in front.CType debug into the command line before running the script.DType ’set -x’ into the command line before running the script.
单选题Given the script create script db_backup_datafile_script {backup datafile and 1, and2 plus archivelog delete input;} Run {execute script db_backup_datafile_script using 2;} What is the result of running this command?()A The script will fail since you instructed RMAN to back up only one datafile rather than twoB The script will successfully back up datafile 3 without errorC The script will fail since it uses a substitution variable which is not supportedD The execute script command will prompt for the value of and2 since it’s not included in the commandE The script will fail because you cannot use the plus archivelog command when backing up
单选题An administrator is supporting an AIX 6.1 LPAR remotely and needs a tape operator to plug a cable into an Ethernet adapter. The tape operator does not have POWER6 595 knowledge. What can the administrator do to assist the tape operator to locate the correct adapter?()AAdvise the tape operator to review the hardware service guide.BUse the diag command to set the Ethernet adapter slot LED to flash.CAdvise the tape operator to check the WWN stickers of all Ethernet adapter in the I/O drawers.DCreate a login account for tape operator on the HMC and advise the tape operator to locate the adapter using the GUI step by step.
单选题Operator needs to remove all leading comments # from shell.script file. Which of the following vi sub-command can achieve this?()A:r/^#//gB:1,$ s/^#//gC:sed s/^#//gD:sub s/^#//g