get version

stat -fc %T /sys/fs/cgroup/

view available cgroups

tiny:~$ cat /proc/cgroups
#subsys_name    hierarchy       num_cgroups     enabled
cpuset  0       1       1
cpu     0       1       1
cpuacct 0       1       1
blkio   0       1       1
memory  0       1       1
devices 0       1       1
freezer 0       1       1
net_cls 0       1       1
perf_event      0       1       1
net_prio        0       1       1
hugetlb 0       1       1
pids    0       1       1

cpuset

If it’s mounted, check the available cpusets. (It looks more impressive with more CPUs, so I faked the output.)

[ddp@fed33 cgroup]$ cat /sys/fs/cgroup/cpuset.cpus.effective
0-2