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
    • 最新
    • 标签
主页 / user-21832

ricmarques's questions

Martin Hope
ricmarques
Asked: 2016-09-01 09:16:18 +0800 CST

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

  • 1

我正在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 个回答
  • 675 Views
Martin Hope
ricmarques
Asked: 2016-02-05 03:10:01 +0800 CST

检查 HP ProLiant DL380 G5 服务器中 Smart Array P400 的 RAID 事件日志或历史记录

  • 3

在机架安装的HP ProLiant DL380 G5服务器中,运行 Linux(RHEL - Red Hat Enterprise Linux Server - 5.9 版,64 位):关机并打开电源后,使用“RAID 1”的逻辑驱动器的 4 个硬盘之一+0”开始“重建”。我能够使用hpacucli(“ HP Array Configuration Utility CLI ”)检查状态 几个小时后,重建成功完成(之前有缺陷的硬盘驱动器是“physicaldrive 2I:1:2”):

$ hpacucli
HP Array Configuration Utility CLI 8.0-14.0
Detecting Controllers...Done.
Type "help" for a list of supported commands.
Type "exit" to close the console.

=> ctrl all show config

Smart Array P400 in Slot 1    (sn: ...)

   array A (SAS, Unused Space: 0 MB)

      logicaldrive 1 (273.4 GB, RAID 1+0, OK)

      physicaldrive 2I:1:1 (port 2I:box 1:bay 1, SAS, 146 GB, OK)
      physicaldrive 2I:1:2 (port 2I:box 1:bay 2, SAS, 146 GB, OK)
      physicaldrive 2I:1:3 (port 2I:box 1:bay 3, SAS, 146 GB, OK)
      physicaldrive 2I:1:4 (port 2I:box 1:bay 4, SAS, 146 GB, OK)

...

我的问题如下:有没有办法查看 RAID 内部控制器(“Smart Array P400”)的 RAID 事件历史记录/日志?我希望能够为此使用“hpacucli”,但我在Linux 的 Hpacucli 实用程序 - 所有命令指南中找不到任何相关命令

如果需要,我可能会尝试使用其他工具(但不是 HP iLO - “Integrated Lights-Out”,因为我没有该访问权限),最好避免任何重新启动。我检查了“/var/log/messages”,但我没有在那里找到任何看似相关的条目。

linux
  • 1 个回答
  • 8300 Views

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