000-221 · Question #128
Which command, when issued from the HMC command line, will attempt to launch a virtual terminal session on Ipar1, running on the sys1 managed system?
The correct answer is A. mkvterm-msys1 -p Ipar1. The HMC CLI command mkvterm opens a virtual terminal session to a logical partition on a specified managed system.
Question
Which command, when issued from the HMC command line, will attempt to launch a virtual terminal session on Ipar1, running on the sys1 managed system?
Options
- Amkvterm-msys1 -p Ipar1
- Bcrvterm-ssysy -r Ipar1
- Cstartvt-h sys1 -I Ipar1
- Dstartx-vt sys1 -p Ipar1
How the community answered
(43 responses)- A74% (32)
- B7% (3)
- C5% (2)
- D14% (6)
Why each option
The HMC CLI command mkvterm opens a virtual terminal session to a logical partition on a specified managed system.
The mkvterm command is the correct HMC CLI tool for launching a virtual terminal (console) session to an LPAR. The -m flag specifies the managed system name and the -p flag specifies the partition name, so 'mkvterm -m sys1 -p lpar1' is the proper syntax. No other HMC command provides this console-access function.
crvterm is not a valid HMC command; the HMC command set uses mkvterm, not crvterm, for opening virtual terminal sessions.
startvt is not a valid HMC CLI command and does not exist in the HMC command set for partition management operations.
startx-vt is not a valid HMC command; the HMC does not use this syntax for any partition console or virtual terminal operation.
Concept tested: HMC CLI mkvterm command for LPAR console access
Source: https://www.ibm.com/docs/en/power9?topic=commands-mkvterm
Topics
Community Discussion
No community discussion yet for this question.