201-450日本語 無料問題集「Lpi LPIC-2 Exam 201, Part 1 of 2, version 4.5 (201-450日本語版)」
次の出力例では、CPUが非カーネルコードの実行に費やした時間の割合と、CPUがカーネルコードの実行に費やした時間の割合を示しています。
(2つの正解を選んでください)
# vmstat 1 100
procs -----------memory---------- ---swap-- -----io---- --system-- ----cpu---- r b swpd free buff cache si so bi bo in cs us sy id wa
0 0 0 282120 134108 5797012 0 0 0 2 0 0 0 0 100 0
0 0 0 282120 134108 5797012 0 0 0 0 1007 359 0 0 100 0
0 0 0 282120 134108 5797012 0 0 0 0 1117 577 0 0 100 0
0 0 0 282120 134108 5797012 0 0 0 0 1007 366 0 0 100 0
(2つの正解を選んでください)
# vmstat 1 100
procs -----------memory---------- ---swap-- -----io---- --system-- ----cpu---- r b swpd free buff cache si so bi bo in cs us sy id wa
0 0 0 282120 134108 5797012 0 0 0 2 0 0 0 0 100 0
0 0 0 282120 134108 5797012 0 0 0 0 1007 359 0 0 100 0
0 0 0 282120 134108 5797012 0 0 0 0 1117 577 0 0 100 0
0 0 0 282120 134108 5797012 0 0 0 0 1007 366 0 0 100 0
正解:A、C
解答を投票する
eth0 インターフェイスの IP アドレスを含む変数を必要とする bash スクリプトでは、次のコマンドのうちどれを使用する必要がありますか?
コマンド ifconfig eth0 の出力を以下に示します。
eth0 Link encap:Ethernet HWaddr 00:0C:29:CB:FA:30
inet addr:192.168.246.11 Bcast:192.168.246.255 Mask:255.255.255.0 UP
BROADCAST
RUNNING MULTICAST MTU:1500 Metric:1
RX packets:4721 errors:0 dropped:0 overruns:0 frame:0 TX packets:3216
errors:0
dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000
RX bytes:445184 (434.7 Kb) TX bytes:512968 (500.9 Kb) Interrupt:185
Base address:0x1080
コマンド ifconfig eth0 の出力を以下に示します。
eth0 Link encap:Ethernet HWaddr 00:0C:29:CB:FA:30
inet addr:192.168.246.11 Bcast:192.168.246.255 Mask:255.255.255.0 UP
BROADCAST
RUNNING MULTICAST MTU:1500 Metric:1
RX packets:4721 errors:0 dropped:0 overruns:0 frame:0 TX packets:3216
errors:0
dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000
RX bytes:445184 (434.7 Kb) TX bytes:512968 (500.9 Kb) Interrupt:185
Base address:0x1080
正解:E
解答を投票する