IBM
C9010-022 · Question #138
C9010-022 Question #138: Real Exam Question with Answer & Explanation
Sign in or unlock C9010-022 to reveal the answer and full explanation for question #138. The question stem and answer options stay visible for context.
Question
What will the following script have NMON do?
#!/bin/ksh
: ${SNAPSHOT=300}
: ${FLAGS="-tdMAV^"}
ALLDAY_SECONDS=86400
HOUR=$(date +%H); MINUTE=$(date +%M); SECOND=$(date +%S)
let SECONDS_LEFT_IN_DAY=" $(ALLDAY_SECONDS - (60 * 60 * $HOUR) - (60 *
$MINUTE) - $SECOND)"
let SAMPLES="${SECONDS_LEFT_IN_DAY} / $SNAPSHOT"
nmon -f $FLAGS -s $SNAPSHOT -c $SAMPLES -m /var/log/nmon
Options
- ACollect data every hour in /var/log/nmon
- BCollect data every 5 minutes for 24 hours
- CCollect data every 5 minutes until midnight
- DCollect 360 data snapshots in /var/log/nmon
Unlock C9010-022 to see the answer
You've previewed enough free C9010-022 questions. Unlock C9010-022 for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.