Red Hat Training

A Red Hat training course is available for Red Hat Satellite

第 5 章 监控

RHN Satellite 服务器包含很多组件,其中很多都可被监控。本章论述了对系统的不同部分执行监控操作的方法。

过程 5.1. 监控表空间

  1. 在 Oracle 数据库中,常规查看表空间是否有足够可用空间是很重要的。切换为 Oracle 用户,并执行 db-control report 命令可达到此目的:
    su - oracle
    db-control report
    Tablespace    Size  Used Avail  Use%
    DATA_TBS      4.8G 3.9G  996M   80%
    SYSTEM        250M 116M  133M   46%
    TOOLS         128M 3M    124M   2%
    UNDO_TBS      1000M 61M  938M   6%
    USERS         128M 64K   127M   0%
    
  2. 如果表空间将要用完时,可使用 db-control extend 命令附带要扩展的表空间名称扩大表空间:
    db-control extend tablespace

过程 5.2. 监控 RHN Satellite 服务器进程

  • 请使用 rhn-satellite status 命令确认 Satellite 进程工作正常:
    rhn-satellite status