<?xml version="1.0" encoding="gbk"?>
<rss version="2.0">
  <channel>
    <title>重庆思庄Oracle、KingBase、PostgreSQL、Redhat认证学习论坛 - Linux</title>
    <link>http://bbs.cqsztech.com/forum.php?mod=forumdisplay&amp;fid=6</link>
    <description>Latest 20 threads of Linux</description>
    <copyright>Copyright(C) 重庆思庄Oracle、KingBase、PostgreSQL、Redhat认证学习论坛</copyright>
    <generator>Discuz! Board by Comsenz Inc.</generator>
    <lastBuildDate>Thu, 23 Jul 2026 13:52:21 +0000</lastBuildDate>
    <ttl>60</ttl>
    <image>
      <url>http://bbs.cqsztech.com/static/image/common/logo_88_31.gif</url>
      <title>重庆思庄Oracle、KingBase、PostgreSQL、Redhat认证学习论坛</title>
      <link>http://bbs.cqsztech.com/</link>
    </image>
    <item>
      <title>统信UOS授权信息</title>
      <link>http://bbs.cqsztech.com/forum.php?mod=viewthread&amp;tid=33614</link>
      <description><![CDATA[可以通过 uos-activator-cmd 命令看出
[root@oracle40 ~]# uos-activator-cmd
系统版本：1060e
产品ID：AJJ8AA
授权模式：Open
激活状态：免费授权
到期时间：终身有效
设备标识：009B855D8D704F9D00C0DB132D49E18F3605A60920F5C3DD252D6622FE15CEA2FE10615E8601 ...]]></description>
      <category>Linux</category>
      <author>郑全</author>
      <pubDate>Thu, 23 Jul 2026 06:02:50 +0000</pubDate>
    </item>
    <item>
      <title>prometheus中oracle监控的toml配置文件讲解</title>
      <link>http://bbs.cqsztech.com/forum.php?mod=viewthread&amp;tid=33602</link>
      <description><![CDATA[# ==========================================
# 1. 主备库角色与 Open 状态监控
# ==========================================
[[metric]]
context = \&quot;db_role_status\&quot;
request = \&quot;select decode(database_role, \'PRIMARY\', 1, \'PHYSICAL STANDBY\', 2, \'SNAPSHO ...]]></description>
      <category>Linux</category>
      <author>mahan</author>
      <pubDate>Sun, 19 Jul 2026 09:11:19 +0000</pubDate>
    </item>
    <item>
      <title>磁盘压测工具 fio</title>
      <link>http://bbs.cqsztech.com/forum.php?mod=viewthread&amp;tid=33601</link>
      <description><![CDATA[新上系统时，我们一定听说过存储压测，有些厂家有自己得压测工具，有一些没有。其实，业界有一个标准得压测工具，那就是FIO，不管对方是否提供，我们可以使用 FIO来测试。下面我们来看看这个FIO的标准流程：

fio ：Flexible I/O Tester

一、简介
fio 是业界标准 ...]]></description>
      <category>Linux</category>
      <author>郑全</author>
      <pubDate>Sun, 19 Jul 2026 03:18:43 +0000</pubDate>
    </item>
    <item>
      <title>数据库中透明大页和静态大页</title>
      <link>http://bbs.cqsztech.com/forum.php?mod=viewthread&amp;tid=33599</link>
      <description><![CDATA[数据库中的透明大页与静态大页对比
一、核心概念
静态大页（HugeTLB/HugePages）：需管理员手动预分配、锁定在内存中且不参与Swap交换的大页机制，常见大小为2MB或1GB，应用程序需通过hugetlbfs或MAP_HUGETLB显式使用。

透明大页（Transparent HugePages, THP ...]]></description>
      <category>Linux</category>
      <author>郑全</author>
      <pubDate>Sat, 18 Jul 2026 03:45:53 +0000</pubDate>
    </item>
    <item>
      <title>strace系统调用通过-c只看统计信息</title>
      <link>http://bbs.cqsztech.com/forum.php?mod=viewthread&amp;tid=33596</link>
      <description><![CDATA[strace -c updatedb
% time     seconds  usecs/call     calls    errors syscall
------ ----------- ----------- --------- --------- ----------------
 46.63    0.090007           7     12311           lstat
 16.36    0.031579           4      7 ...]]></description>
      <category>Linux</category>
      <author>郑全</author>
      <pubDate>Fri, 17 Jul 2026 09:17:14 +0000</pubDate>
    </item>
    <item>
      <title>Linux 终端提示符显示-bash-4.2#解决方法</title>
      <link>http://bbs.cqsztech.com/forum.php?mod=viewthread&amp;tid=33593</link>
      <description><![CDATA[报错现象：

报错原因：
-bash-4.2 缺失正常主机名、用户名提示符，说明root 用户环境配置文件损坏 / 丢失：
.bash_profile / .bashrc / .profile 任一或全部被删除、权限异常，bash 无法加载用户配置，导致提示符退化。

解决办法：
复制系统默认模板

# 复制 ...]]></description>
      <category>Linux</category>
      <author>jiawang</author>
      <pubDate>Tue, 14 Jul 2026 06:11:37 +0000</pubDate>
    </item>
    <item>
      <title>linux系统中的gnome系统监控器对应的命令是什么</title>
      <link>http://bbs.cqsztech.com/forum.php?mod=viewthread&amp;tid=33592</link>
      <description><![CDATA[export DISPLAY=192.168.133.1:0.0
$ gnome-system-monitor]]></description>
      <category>Linux</category>
      <author>郑全</author>
      <pubDate>Mon, 13 Jul 2026 13:19:08 +0000</pubDate>
    </item>
    <item>
      <title>chronyf时间同步服务，想知道是多久同步一次</title>
      <link>http://bbs.cqsztech.com/forum.php?mod=viewthread&amp;tid=33590</link>
      <description><![CDATA[根据截图中的数据，服务器当前是每 64 秒向时间源同步（轮询）一次。
可以从截图中这样解读：查看 Poll 列：在您截图中，172.16.17.252 这一行对应的 Poll 值为 6。
计算方式：根据上面表头的注释 Log2(Polling interval)，这个数字是以 2 为底的对数。因此，当前 ...]]></description>
      <category>Linux</category>
      <author>mahan</author>
      <pubDate>Sun, 12 Jul 2026 11:05:58 +0000</pubDate>
    </item>
    <item>
      <title>pcs resource cleanup vs pcs resource refresh 区别</title>
      <link>http://bbs.cqsztech.com/forum.php?mod=viewthread&amp;tid=33580</link>
      <description><![CDATA[这两个命令都用于清除集群资源的状态，但作用范围和深度不同：
1. pcs resource cleanup（清理失败状态）

作用：仅清除资源的失败操作历史和故障计数（failcount），然后重新检测资源的当前状态
针对对象：只对显示为失败操作的资源生效
使用场景：当您解决了资 ...]]></description>
      <category>Linux</category>
      <author>郑全</author>
      <pubDate>Fri, 10 Jul 2026 07:33:52 +0000</pubDate>
    </item>
    <item>
      <title>pcs resource delete virtualip 与 pcs resource remove virtualip 区别</title>
      <link>http://bbs.cqsztech.com/forum.php?mod=viewthread&amp;tid=33579</link>
      <description><![CDATA[我们在高可用集群中，资源创建错了，想删除资源，到底使用 delete ，还是remove呢？

先说结论： 功能完全相同，使用哪个都可以

在 Pacemaker 集群管理工具 pcs 中，pcs resource delete 和 pcs resource remove 是两个完全等效的命令，它们都用于删除指定的集群资 ...]]></description>
      <category>Linux</category>
      <author>郑全</author>
      <pubDate>Fri, 10 Jul 2026 07:26:58 +0000</pubDate>
    </item>
    <item>
      <title>prometheus监控linux操作系统exporter部署</title>
      <link>http://bbs.cqsztech.com/forum.php?mod=viewthread&amp;tid=33575</link>
      <description><![CDATA[LINUX安装方式：
1、将安装包拷贝到/opt目录下
2、在/opt目录下解压安装包
cd /opt
tar -xvf node_exporter-1.11.1.linux-amd64.tar.gz
3、修改目录名称
mv node_exporter-1.11.1.linux-amd64 node_exporter
4、创建服务文件
vim /etc/systemd/system/node_expo ...]]></description>
      <category>Linux</category>
      <author>mahan</author>
      <pubDate>Sun, 05 Jul 2026 12:11:58 +0000</pubDate>
    </item>
    <item>
      <title>prometheus监控mysql数据库需要的用户权限</title>
      <link>http://bbs.cqsztech.com/forum.php?mod=viewthread&amp;tid=33574</link>
      <description><![CDATA[MYSQL:
需要赋予的权限
监控用户/密码：
prometheus/sztech_4U
CREATE USER \'prometheus\'@192.168.117.115\' IDENTIFIED BY \'sztech_4U\' WITH MAX_USER_CONNECTIONS 10;
GRANT PROCESS, REPLICATION CLIENT, SELECT ON *.* TO \'prometheus\'@\'192.168.117.115\';

 ...]]></description>
      <category>Linux</category>
      <author>mahan</author>
      <pubDate>Sun, 05 Jul 2026 12:10:44 +0000</pubDate>
    </item>
    <item>
      <title>pcs constraint order vs pcs constraint colocation区别</title>
      <link>http://bbs.cqsztech.com/forum.php?mod=viewthread&amp;tid=33568</link>
      <description><![CDATA[在创建资源组时，经常看到这两个约束，到底是干什么的

constraint order 是管先后顺序的，比如

pcs constraint order 资源A then 资源B kind 类型 
 举例：
 pcs constraint order start db-server then start app-server kind=Mandatory
 

 

[*]启动顺 ...]]></description>
      <category>Linux</category>
      <author>郑全</author>
      <pubDate>Sun, 05 Jul 2026 02:35:06 +0000</pubDate>
    </item>
    <item>
      <title>如何手工搭建红帽高可用集群</title>
      <link>http://bbs.cqsztech.com/forum.php?mod=viewthread&amp;tid=33567</link>
      <description><![CDATA[1. 环境准备

# 在所有节点上安装必要软件包
yum install -y pcs pacemaker corosync fence-agents-all
# 启用并启动 pcsd 服务

systemctl enable pcsd

systemctl start pcsd

# 设置 hacluster 用户密码（所有节点使用相同密码）

passwd hacluster

2 ...]]></description>
      <category>Linux</category>
      <author>郑全</author>
      <pubDate>Sun, 05 Jul 2026 02:05:10 +0000</pubDate>
    </item>
    <item>
      <title>Linux 高可用集群 中的pcs 是什么的缩写</title>
      <link>http://bbs.cqsztech.com/forum.php?mod=viewthread&amp;tid=33563</link>
      <description><![CDATA[就是pacemaker配置系统

pcs = Pacemaker/Corosync Configuration System]]></description>
      <category>Linux</category>
      <author>郑全</author>
      <pubDate>Mon, 29 Jun 2026 12:52:34 +0000</pubDate>
    </item>
    <item>
      <title>prometheus上监控oracle多租户时c##prometheus监控用户名无法识别的处理办法</title>
      <link>http://bbs.cqsztech.com/forum.php?mod=viewthread&amp;tid=33559</link>
      <description><![CDATA[单实例
[root@prometheus config]# more ydhl.env
EXPORTER_PORT=9161
DATA_SOURCE_NAME=oracle://prometheus:sztech_4U@192.168.115.202:1521/ewell
CUSTOM_METRICS=/opt/oracledb_exporter/oracledb_custom_metrics.toml

多租户
[root@prometheus config]# mo ...]]></description>
      <category>Linux</category>
      <author>mahan</author>
      <pubDate>Sun, 28 Jun 2026 11:03:54 +0000</pubDate>
    </item>
    <item>
      <title>prometheus监控linux操作系统，服务启动正常，但是没得数据</title>
      <link>http://bbs.cqsztech.com/forum.php?mod=viewthread&amp;tid=33558</link>
      <description><![CDATA[从截图中看到没得数据的原因： node_exporter 绑定在了 127.0.0.1（本地环回地址）上。

仔细看截图底部你查看的 /etc/systemd/system/node_exporter.service 文件内容，你的 ExecStart 参数是：
--web.listen-address=127.0.0.1:19100

绑定在 127.0.0.1 意 ...]]></description>
      <category>Linux</category>
      <author>mahan</author>
      <pubDate>Sun, 28 Jun 2026 11:00:48 +0000</pubDate>
    </item>
    <item>
      <title>使用 dd 测试数据库底层的存储</title>
      <link>http://bbs.cqsztech.com/forum.php?mod=viewthread&amp;tid=33557</link>
      <description><![CDATA[在使用 dd 测试数据库底层的存储时，最核心的原则只有一个：必须绕过操作系统的缓存（Page Cache）。 否则，您测出来的将是服务器内存的速度（动辄几GB/s），对排查由于物理磁盘慢导致的卡顿毫无意义。

请按照以下三个场景依次在主库的 Linux 命令行中执行（测试前请 ...]]></description>
      <category>Linux</category>
      <author>mahan</author>
      <pubDate>Sun, 28 Jun 2026 10:57:45 +0000</pubDate>
    </item>
    <item>
      <title>prometheus的sqlserver数据库自定义监控内容脚本案例与语法参考</title>
      <link>http://bbs.cqsztech.com/forum.php?mod=viewthread&amp;tid=33531</link>
      <description><![CDATA[collector_name: mssql_standard

metrics:
  - metric_name: mssql_local_time_seconds
    type: gauge
    help: \'Local time in seconds since epoch (Unix time).\'
    values: 
    query: |
      SELECT DATEDIFF(second, \'19700101\', GETUTCDATE()) AS]]></description>
      <category>Linux</category>
      <author>mahan</author>
      <pubDate>Sun, 14 Jun 2026 11:20:58 +0000</pubDate>
    </item>
    <item>
      <title>prometheus的sqlserver多套部署脚本与步骤</title>
      <link>http://bbs.cqsztech.com/forum.php?mod=viewthread&amp;tid=33530</link>
      <description><![CDATA[SQLSERVER:

[root@prometheus ~]# more /etc/systemd/system/sql_exporter@.service 

Description=SQL Server Exporter for Prometheus
After=network.target

[Service]
User=root
ExecStart=/opt/sql_exporter/sql_exporter --config.file=\&quot;/opt/sql_expor ...]]></description>
      <category>Linux</category>
      <author>mahan</author>
      <pubDate>Sun, 14 Jun 2026 11:19:47 +0000</pubDate>
    </item>
  </channel>
</rss>