如何启用ubuntu 18.04中可用的所有内核

当我执行命令“ sudo lshw | grep core”时,显示以下输出。 核心数:2 cores_enabled:1线程数:2

如何启用两个内核(ubuntu 18.04)。