AskOverflow.Dev

AskOverflow.Dev Logo AskOverflow.Dev Logo

AskOverflow.Dev Navigation

  • 主页
  • 系统&网络
  • Ubuntu
  • Unix
  • DBA
  • Computer
  • Coding
  • LangChain

Mobile menu

Close
  • 主页
  • 系统&网络
    • 最新
    • 热门
    • 标签
  • Ubuntu
    • 最新
    • 热门
    • 标签
  • Unix
    • 最新
    • 标签
  • DBA
    • 最新
    • 标签
  • Computer
    • 最新
    • 标签
  • Coding
    • 最新
    • 标签
主页 / server / 问题 / 800281
Accepted
ricmarques
ricmarques
Asked: 2016-09-01 09:16:18 +0800 CST2016-09-01 09:16:18 +0800 CST 2016-09-01 09:16:18 +0800 CST

Linux中“chkconfig”运行级别“S”(大写S)和“B”(大写B)的含义

  • 772

我正在chkconfig --list使用 SLES 10 SP2 (SUSE Linux Enterprise Server 10 Service Pack 2) 的服务器上运行该命令。我知道从 0 到 6 的运行级别的含义,但有些行也有一个“ S ”(大写 S),而一行有一个“ B ”(大写 B)。

让我在这里引用“ chkconfig --list”的截断输出 - 请注意,一方面,“ kbd”、“ microcode”、“ splash”、“ splash_early”行在行尾有“ S:on”,另一方面, " sysstat" 行以 " B:on" 结尾:

# chkconfig --list
(...)
dbus                      0:off  1:off  2:off  3:on   4:off  5:on   6:off
(...)
kbd                       0:off  1:on   2:on   3:on   4:off  5:on   6:off  S:on
(...)
microcode                 0:off  1:on   2:on   3:on   4:off  5:on   6:off  S:on
(...)
splash                    0:off  1:on   2:on   3:on   4:off  5:on   6:off  S:on
splash_early              0:off  1:off  2:on   3:on   4:off  5:on   6:off
(...)
syslog                    0:off  1:off  2:on   3:on   4:off  5:on   6:off
sysstat                   0:off  1:off  2:off  3:off  4:off  5:off  6:off  B:on
(...)

我已阅读chkconfig Levels 的 Serverfault Question & Answer Explanation但唯一的答案仅提到运行级别 0 到 6。

这台机器上 chkconfig 的手册页也只提到了运行级别 0 到 6:

# man chkconfig

(...)

LIST MODE
   List mode prints for each specified service a line that consists of the 
   service name and for runlevels zero to six  **on** or **off** depending if the
   service will be started or not.  **on** will be printed in bright green 
   if the output is written to a terminal. If the --deps option is given, 
   the names of the services  that  must  be  started before this service is 
   appended to each line. The inetd/xinetd services are listed in extra
   sections.
(...)

所以,我的问题是:输出中“ S ”和“ B ”的含义是什么?chkconfig --list

(我猜“S”可能是“Startup”,“B”可能是“Boot”,但我没有找到任何相关的文档或网页来解决这个问题。)

linux sles chkconfig runlevel
  • 1 1 个回答
  • 675 Views

1 个回答

  • Voted
  1. Best Answer
    Vitaly Pyslar
    2016-09-01T11:43:40+08:002016-09-01T11:43:40+08:00

    运行级别 B 是特定于 SUSE 的。它的意思是“启动”。它适用于应该在系统进入“真实”运行级别之一之前在引导序列期间运行的软件。“S”是符文级别 1 的单用户模式。

    • 2

相关问题

  • 多操作系统环境的首选电子邮件客户端

  • 你最喜欢的 Linux 发行版是什么?[关闭]

  • 更改 PHP 的默认配置设置?

  • 保护新的 Ubuntu 服务器 [关闭]

  • (软)Ubuntu 7.10 上的 RAID 6,我应该迁移到 8.10 吗?

Sidebar

Stats

  • 问题 205573
  • 回答 270741
  • 最佳答案 135370
  • 用户 68524
  • 热门
  • 回答
  • Marko Smith

    新安装后 postgres 的默认超级用户用户名/密码是什么?

    • 5 个回答
  • Marko Smith

    SFTP 使用什么端口?

    • 6 个回答
  • Marko Smith

    命令行列出 Windows Active Directory 组中的用户?

    • 9 个回答
  • Marko Smith

    什么是 Pem 文件,它与其他 OpenSSL 生成的密钥文件格式有何不同?

    • 3 个回答
  • Marko Smith

    如何确定bash变量是否为空?

    • 15 个回答
  • Martin Hope
    Tom Feiner 如何按大小对 du -h 输出进行排序 2009-02-26 05:42:42 +0800 CST
  • Martin Hope
    Noah Goodrich 什么是 Pem 文件,它与其他 OpenSSL 生成的密钥文件格式有何不同? 2009-05-19 18:24:42 +0800 CST
  • Martin Hope
    Brent 如何确定bash变量是否为空? 2009-05-13 09:54:48 +0800 CST
  • Martin Hope
    cletus 您如何找到在 Windows 中打开文件的进程? 2009-05-01 16:47:16 +0800 CST

热门标签

linux nginx windows networking ubuntu domain-name-system amazon-web-services active-directory apache-2.4 ssh

Explore

  • 主页
  • 问题
    • 最新
    • 热门
  • 标签
  • 帮助

Footer

AskOverflow.Dev

关于我们

  • 关于我们
  • 联系我们

Legal Stuff

  • Privacy Policy

Language

  • Pt
  • Server
  • Unix

© 2023 AskOverflow.DEV All Rights Reserve