top
コマンドでb
オプション を
top -n 3 >> top_result.txt
としても、
vi top_result.txt
で開くと、
^[(B^[[m 32 root 20 0 0 0 0 S 0.0 0.0 0:00.00 kacpi_hotplug
cat等で\n
でないので、
スクリプト等に
b
オプションを
top -n 3 -b >> top_result.txt
勉強に
以上です。
top
コマンドでb
オプション を
top -n 3 >> top_result.txt
としても、
vi top_result.txt
で開くと、
^[(B^[[m 32 root 20 0 0 0 0 S 0.0 0.0 0:00.00 kacpi_hotplug
cat等で\n
でないので、
スクリプト等に
b
オプションを
top -n 3 -b >> top_result.txt
勉強に
以上です。
コメント