検索条件
全7件
(1/2ページ)
at -f script.sh TIMETIMEで実行時間を指定するが,その書式が非常に煩雑のようだ.
at -f script.sh 19:30 12/31/2010と打てばいいようです.きっと何かの時に役立つでしょう.
ushi@BigOwl:~$cpufreq-info
cpufrequtils 004: cpufreq-info (C) Dominik Brodowski 2004-2006
Report errors and bugs to cpufreq@lists.linux.org.uk, please.
analyzing CPU 0:
driver: acpi-cpufreq
CPUs which need to switch frequency at the same time: 0 1 2 3
hardware limits: 2.00 GHz - 2.66 GHz
available frequency steps: 2.66 GHz, 2.00 GHz
available cpufreq governors: ondemand, conservative, userspace, powersave, performance
current policy: frequency should be within 2.00 GHz and 2.66 GHz.
The governor "performance" may decide which speed to use
within this range.
current CPU frequency is 2.66 GHz.
cpufreq stats: 2.66 GHz:28.78%, 2.00 GHz:71.22% (2023996)
analyzing CPU 1:
driver: acpi-cpufreq
CPUs which need to switch frequency at the same time: 0 1 2 3
hardware limits: 2.00 GHz - 2.66 GHz
available frequency steps: 2.66 GHz, 2.00 GHz
available cpufreq governors: ondemand, conservative, userspace, powersave, performance
current policy: frequency should be within 2.00 GHz and 2.66 GHz.
The governor "performance" may decide which speed to use
within this range.
current CPU frequency is 2.66 GHz.
cpufreq stats: 2.66 GHz:28.78%, 2.00 GHz:71.22% (2023996)
analyzing CPU 2:
driver: acpi-cpufreq
CPUs which need to switch frequency at the same time: 0 1 2 3
hardware limits: 2.00 GHz - 2.66 GHz
available frequency steps: 2.66 GHz, 2.00 GHz
available cpufreq governors: ondemand, conservative, userspace, powersave, performance
current policy: frequency should be within 2.00 GHz and 2.66 GHz.
The governor "performance" may decide which speed to use
within this range.
current CPU frequency is 2.66 GHz.
cpufreq stats: 2.66 GHz:28.78%, 2.00 GHz:71.22% (2023996)
analyzing CPU 3:
driver: acpi-cpufreq
CPUs which need to switch frequency at the same time: 0 1 2 3
hardware limits: 2.00 GHz - 2.66 GHz
available frequency steps: 2.66 GHz, 2.00 GHz
available cpufreq governors: ondemand, conservative, userspace, powersave, performance
current policy: frequency should be within 2.00 GHz and 2.66 GHz.
The governor "performance" may decide which speed to use
within this range.
current CPU frequency is 2.66 GHz.
cpufreq stats: 2.66 GHz:28.78%, 2.00 GHz:71.22% (2023996)
ushi@BigOwl:~$
各コアについての情報が表示される.表示されるのは,BigOwl:/home/ushi# cpufreq-set -g performance BigOwl:/home/ushi#ハードウェアに関連する操作なので,管理者権限は必須である.
ushi@BigOwl:~$ cpufreq-set -g performance Error setting new values. Common errors: - Do you have proper administration rights? (super-user?) - Is the governor you requested available and modprobed? - Trying to set an invalid policy? - Trying to set a specific frequency, but userspace governor is not available, for example because of hardware which cannot be set to a specific frequency or because the userspace governor isn't loaded?
convert input.jpg eps2:output.epsこれをスクリプトやバッチに組み込めば楽々変換ですね.
:1,$s/^.*#.*\n//g#の部分を別のものに置き換えるだけで応用できることはいうまでもありません.