Red Hat ENTERPRISE LINUX 5.4 - SYSTEMTAP BEGINNERS GUIDE Información técnica Pagina 142

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 240
  • Tabla de contenidos
  • SOLUCIÓN DE PROBLEMAS
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 141
128 System Analysis and Tuning Guide
10.4.2 Checking the Environment
The kernel shipped with SUSE Linux Enterprise Server supports cgroups. There is no
need to apply additional patches. Execute lxc-checkconfig to see a cgroups en-
vironment similar to the following output:
--- Namespaces ---
Namespaces: enabled
Utsname namespace: enabled
Ipc namespace: enabled
Pid namespace: enabled
User namespace: enabled
Network namespace: enabled
Multiple /dev/pts instances: enabled
--- Control groups ---
Cgroup: enabled
Cgroup namespace: enabled
Cgroup device: enabled
Cgroup sched: enabled
Cgroup cpu account: enabled
Cgroup memory controller: enabled
Cgroup cpuset: enabled
--- Misc ---
Veth pair device: enabled
Macvlan: enabled
Vlan: enabled
File capabilities: enabled
To find out which subsystems are available, proceed as follows:
mkdir /cgroups
mount -t cgroup none /cgroups
grep cgroup /proc/mounts
The following subsystems are available: perf_event, blkio, net_cls, freezer, devices,
memory, cpuacct, cpu, cpuset.
10.4.3 Example: Cpusets
With the command line proceed as follows:
1 To determine the number of CPUs and memory nodes see /proc/cpuinfo and
/proc/zoneinfo.
2 Create the cpuset hierarchy as a virtual file system (source: /usr/src/linux/Docu-
mentation/cgroups/cpusets.txt):
Vista de pagina 141
1 2 ... 137 138 139 140 141 142 143 144 145 146 147 ... 239 240

Comentarios a estos manuales

Sin comentarios