title: check support for cgroups and namespaces are in kernel
author: susu
[root@centos7 ~]# lsb_release -a
LSB Version: :core-4.1-amd64:core-4.1-noarch
Distributor ID: CentOS
Description: CentOS Linux release 7.6.1810 (Core)
Release: 7.6.1810
Codename: Core
[root@centos7 ~]# uname -r
3.10.0-957.21.3.el7.x86_64
[root@centos7 ~]# grep -i namespaces /boot/config-3.10.0-957.21.3.el7.x86_64
CONFIG_NAMESPACES=y
[root@centos7 ~]# grep -i cgroups /boot/config-3.10.0-957.21.3.el7.x86_64
CONFIG_CGROUPS=y
[root@centos7 ~]#
WARNING: No any other purpose,keeping reminded! So sorry to offended,if necessary, contact me and I do change what I had done to protect your privileges!