• Shuffle
    Toggle On
    Toggle Off
  • Alphabetize
    Toggle On
    Toggle Off
  • Front First
    Toggle On
    Toggle Off
  • Both Sides
    Toggle On
    Toggle Off
  • Read
    Toggle On
    Toggle Off
Reading...
Front

Card Range To Study

through

image

Play button

image

Play button

image

Progress

1/30

Click to flip

Use LEFT and RIGHT arrow keys to navigate between flashcards;

Use UP and DOWN arrow keys to flip the card;

H to show hint;

A reads text to speech;

30 Cards in this Set

  • Front
  • Back
alog
what is it?
what file does it use?
Used to maintain and manage log files;uses file /var/adm/ras/bootlog
cfgmgr
Configures devices and optionally installs device software into the system.
last
Displays all the previous logins and logoffs that still have entries in /var/adm/wtmp file.
bootlist
Displays and alters the list of boot devices available to the system; allows you to display and alter the list of boot devices from which the system may be booted.
mpcfg
Enables a user with root authority to manage service information.
shutdown
Used to shut down the system.
alog -f
Specifies the name of a log file. If the specified LogFile does not exist,one is created. If the alog command is unable to write to LogFile, it writes to /dev/null.
alog -L
Lists the log types currently defined in the alog configuration database. If you use the -L flag with the -t LogType flag, the attributes for a specified LogType are listed
alog -o
Lists the contents of LogFile; writes the contents of LogFile to standard output in sequential order.
alog -q
Copies standard input to LogFile, but does not write to standard output
list contents of alog file
alog -f LogFile [ -o ]
You can change the default file that is used to log the activities by using
alog -f LogFile | [ [ -q ] [ -s Size ] ]
alog -t LogType -V
The verbosity value specifies the depth of information that is written to a log
You can use the different attributes of a log type by using the following command:
alog -C -t LogType [ -f LogFile ] [ -s Size ] [ -w Verbosity ]
display the current attributes of a log type
alog -L [ -t LogType ]
can view the boot log by either using the SMIT fast path
smitty alog_show
view the boot log (the log that holds boot information) enter:
# alog -o -t boot
cfgmgr
Configures devices and optionally installs device software into the system.
The general syntax of the cfgmgr command is as follows:
cfgmgr [ -f | -s | -p Phase ] [ -i Device ] [ -l Name ] [ -v ]
cfgmgr -f
-f Specifies that the cfgmgr command runs the phase 1 configuration
cfgmgr -I
-i Device Specifies the location of the installation medium.
cfgmgr -l
-l Name Specifies the named device to configure along with its children.
cfgmgr -p
-p Phase Specifies the phase that the cfgmgr command runs.
bootlist syntax
bootlist [ { -m Mode } [ -r ] [ -o ] [ [ -i ] | [ [ -f File ] [ Device [ Attr= Value ... ] ... ] ] ]
bootlist -m
-m mode Specifies which boot list to display or alter. Possible values for the
bootlist -f
-f File Indicates that the device information is to be read from the specified
bootlist -I
-i Indicates that the device list specified by the -m flag should be invalidated.
bootlist -o
-o Displays bootlist with the -m flag. Applies only to AIX Version 4.2 or later
bootlist -r
-r Indicates whether to display the specified bootlist after any specified alteration is performed
To display a boot list use the command:
# bootlist -m normal -o; If you want to make changes to your normal boot list, use the command: bootlist -m normal hdisk0 cd0