查看运行级别:

runlevel

N   3

这个N如果是数字代表是从哪一个级别切换过来的,N表示没有上一个级别。

who  -r         同runlevel

uname -r        查看内核的release号