Skip to content

Linux

linux

CPU

Change scaling governor

for c in $(ls -d /sys/devices/system/cpu/cpu[0-9]*); do echo ondemand >$c/cpufreq/scaling_governor; done

gentoo-wiki

Change CPU maximum frequency

for c in $(ls -d /sys/devices/system/cpu/cpu[0-9]*); do echo [freq (Hz)] >$c/cpufreq/scaling_max_freq; done

Users and Groups

Groups

You can check the groups and their members in /etc/groups. There's also an utility called members.

cyberciti