oceanbase开启内存大页

root@ob log\]# cat /etc/security/limits.conf \* soft nofile 655350 \* hard nofile 655350 \* soft nproc 163840 \* hard nproc 163840 \* soft stack 102400 \* hard stack 327680 \* hard memlock unlimited \* soft memlock unlimited \[root@ob log\]# free -g total used free shared buff/cache available Mem: 62 6 50 0 6 56 Swap: 31 0 31 \[root@ob log\]# free -g total used free shared buff/cache available Mem: 62 6 50 0 6 56 Swap: 31 0 31 \[root@ob log\]# free -g total used free shared buff/cache available Mem: 62 6 50 0 6 56 Swap: 31 0 31 \[root@ob log\]# ls -lt total 9664 -rw-r--r--. 1 root root 0 Apr 11 11:12 observer.log -rw-r--r--. 1 root root 4587795 Apr 11 11:11 rootservice.log -rw-r--r--. 1 root root 920692 Apr 11 11:11 election.log -rw-r--r--. 1 root root 335550 Apr 11 11:11 trace.log drwxr-xr-x. 2 root root 31 Apr 11 11:07 alert -rw-r--r--. 1 root root 0 Apr 11 11:07 election.log.wf -rw-r--r--. 1 root root 0 Apr 11 11:07 observer.log.wf -rw-r--r--. 1 root root 0 Apr 11 11:07 rootservice.log.wf \[root@ob log\]# obclient -h192.168.207.18 -P2881 -uroot@sys -p'linux2025.' -Doceanbase -A Welcome to the OceanBase. Commands end with ; or \\g. Your OceanBase connection id is 3221569599 Server version: OceanBase 4.2.5.3 (r103000152025033110-f5b88cd987f23383677f2eb53cf76ed38a48979b) (Built Mar 31 2025 11:08:20) Copyright (c) 2000, 2018, OceanBase and/or its affiliates. All rights reserved. Type 'help;' or '\\h' for help. Type '\\c' to clear the current input statement. obclient(root@sys)\[oceanbase\]\> SHOW PARAMETERS LIKE 'use_large_pages'; +-------+----------+----------------+----------+-----------------+-----------+-------+-----------------------------------------------------------------------------+----------+---------+---------+------------------+---------------+-----------+ \| zone \| svr_type \| svr_ip \| svr_port \| name \| data_type \| value \| info \| section \| scope \| source \| edit_level \| default_value \| isdefault \| +-------+----------+----------------+----------+-----------------+-----------+-------+-----------------------------------------------------------------------------+----------+---------+---------+------------------+---------------+-----------+ \| zone1 \| observer \| 192.168.207.18 \| 2882 \| use_large_pages \| NULL \| false \| used to manage the database's use of large pages, values: false, true, only \| OBSERVER \| CLUSTER \| DEFAULT \| STATIC_EFFECTIVE \| false \| 1 \| +-------+----------+----------------+----------+-----------------+-----------+-------+-----------------------------------------------------------------------------+----------+---------+---------+------------------+---------------+-----------+ 1 row in set (0.021 sec) obclient(root@sys)\[oceanbase\]\> exit Bye \[root@ob log\]# grep HugePages /proc/meminfo AnonHugePages: 3422208 kB HugePages_Total: 0 HugePages_Free: 0 HugePages_Rsvd: 0 HugePages_Surp: 0 关闭透明大页: \[root@ob log\]# echo never \> /sys/kernel/mm/transparent_hugepage/enabled \[root@ob log\]# obclient -h192.168.207.18 -P2881 -uroot@sys -p'linux2025.' -Doceanbase -A Welcome to the OceanBase. Commands end with ; or \\g. Your OceanBase connection id is 3221589983 Server version: OceanBase 4.2.5.3 (r103000152025033110-f5b88cd987f23383677f2eb53cf76ed38a48979b) (Built Mar 31 2025 11:08:20) Copyright (c) 2000, 2018, OceanBase and/or its affiliates. All rights reserved. Type 'help;' or '\\h' for help. Type '\\c' to clear the current input statement. obclient(root@sys)\[oceanbase\]\> -- 查看当前生效的总内存限制 Query OK, 0 rows affected (0.001 sec) obclient(root@sys)\[oceanbase\]\> SELECT name, value AS memory_limit_GB FROM oceanbase.__all_virtual_sys_parameter_stat WHERE name IN ('memory_limit', 'memory_limit_percentage'); +-------------------------+-----------------+ \| name \| memory_limit_GB \| +-------------------------+-----------------+ \| memory_limit_percentage \| 80 \| \| memory_limit \| 48G \| +-------------------------+-----------------+ 2 rows in set (0.004 sec) obclient(root@sys)\[oceanbase\]\> SHOW PARAMETERS LIKE 'memory_limit%'; +-------+----------+----------------+----------+-------------------------+-----------+-------+---------------------------------------------------------------------------------------------------------------------------------+----------+---------+---------+-------------------+---------------+-----------+ \| zone \| svr_type \| svr_ip \| svr_port \| name \| data_type \| value \| info \| section \| scope \| source \| edit_level \| default_value \| isdefault \| +-------+----------+----------------+----------+-------------------------+-----------+-------+---------------------------------------------------------------------------------------------------------------------------------+----------+---------+---------+-------------------+---------------+-----------+ \| zone1 \| observer \| 192.168.207.18 \| 2882 \| memory_limit_percentage \| NULL \| 80 \| the size of the memory reserved for internal use(for testing purpose). Range: \[10, 95\] \| OBSERVER \| CLUSTER \| DEFAULT \| DYNAMIC_EFFECTIVE \| 80 \| 1 \| \| zone1 \| observer \| 192.168.207.18 \| 2882 \| memory_limit \| NULL \| 48G \| the size of the memory reserved for internal use(for testing purpose), 0 means follow memory_limit_percentage. Range: 0, \[1G,). \| OBSERVER \| CLUSTER \| DEFAULT \| DYNAMIC_EFFECTIVE \| 0M \| 0 \| +-------+----------+----------------+----------+-------------------------+-----------+-------+---------------------------------------------------------------------------------------------------------------------------------+----------+---------+---------+-------------------+---------------+-----------+ 2 rows in set (0.012 sec) obclient(root@sys)\[oceanbase\]\> SHOW PARAMETERS LIKE 'memory%'; +-------+----------+----------------+----------+-------------------------+-----------+-------+---------------------------------------------------------------------------------------------------------------------------------+----------+---------+---------+-------------------+---------------+-----------+ \| zone \| svr_type \| svr_ip \| svr_port \| name \| data_type \| value \| info \| section \| scope \| source \| edit_level \| default_value \| isdefault \| +-------+----------+----------------+----------+-------------------------+-----------+-------+---------------------------------------------------------------------------------------------------------------------------------+----------+---------+---------+-------------------+---------------+-----------+ \| zone1 \| observer \| 192.168.207.18 \| 2882 \| memory_chunk_cache_size \| NULL \| 0M \| the maximum size of memory cached by memory chunk cache. Range: \[0M,\], 0 stands for adaptive \| OBSERVER \| CLUSTER \| DEFAULT \| DYNAMIC_EFFECTIVE \| 0M \| 1 \| \| zone1 \| observer \| 192.168.207.18 \| 2882 \| memory_limit_percentage \| NULL \| 80 \| the size of the memory reserved for internal use(for testing purpose). Range: \[10, 95\] \| OBSERVER \| CLUSTER \| DEFAULT \| DYNAMIC_EFFECTIVE \| 80 \| 1 \| \| zone1 \| observer \| 192.168.207.18 \| 2882 \| memory_limit \| NULL \| 48G \| the size of the memory reserved for internal use(for testing purpose), 0 means follow memory_limit_percentage. Range: 0, \[1G,). \| OBSERVER \| CLUSTER \| DEFAULT \| DYNAMIC_EFFECTIVE \| 0M \| 0 \| \| zone1 \| observer \| 192.168.207.18 \| 2882 \| memory_reserved \| NULL \| 500M \| the size of the system memory reserved for emergency internal use. Range: \[10M, total size of memory\] \| SSTABLE \| CLUSTER \| DEFAULT \| DYNAMIC_EFFECTIVE \| 500M \| 1 \| +-------+----------+----------------+----------+-------------------------+-----------+-------+---------------------------------------------------------------------------------------------------------------------------------+----------+---------+---------+-------------------+---------------+-----------+ 4 rows in set (0.013 sec) obclient(root@sys)\[oceanbase\]\> exit Bye 内存大页的值等于memory_limt即可: \[root@ob log\]# echo "vm.nr_hugepages = 24576" \>\> /etc/sysctl.conf \[root@ob log\]# sysctl -p fs.aio-max-nr = 1048576 vm.max_map_count = 655360 fs.file-max = 6573688 vm.nr_hugepages = 24576 \[root@ob log\]# free -g total used free shared buff/cache available Mem: 62 54 2 0 6 8 Swap: 31 0 31 \[root@ob log\]# obclient -h192.168.207.18 -P2881 -uroot@sys -p'linux2025.' -Doceanbase -A Welcome to the OceanBase. Commands end with ; or \\g. Your OceanBase connection id is 3221600322 Server version: OceanBase 4.2.5.3 (r103000152025033110-f5b88cd987f23383677f2eb53cf76ed38a48979b) (Built Mar 31 2025 11:08:20) Copyright (c) 2000, 2018, OceanBase and/or its affiliates. All rights reserved. Type 'help;' or '\\h' for help. Type '\\c' to clear the current input statement. obclient(root@sys)\[oceanbase\]\> ALTER SYSTEM SET use_large_pages = "true"; Query OK, 0 rows affected (0.011 sec) obclient(root@sys)\[oceanbase\]\> SHOW PARAMETERS LIKE 'use_large_pages'; +-------+----------+----------------+----------+-----------------+-----------+-------+-----------------------------------------------------------------------------+----------+---------+---------+------------------+---------------+-----------+ \| zone \| svr_type \| svr_ip \| svr_port \| name \| data_type \| value \| info \| section \| scope \| source \| edit_level \| default_value \| isdefault \| +-------+----------+----------------+----------+-----------------+-----------+-------+-----------------------------------------------------------------------------+----------+---------+---------+------------------+---------------+-----------+ \| zone1 \| observer \| 192.168.207.18 \| 2882 \| use_large_pages \| NULL \| false \| used to manage the database's use of large pages, values: false, true, only \| OBSERVER \| CLUSTER \| DEFAULT \| STATIC_EFFECTIVE \| false \| 1 \| +-------+----------+----------------+----------+-----------------+-----------+-------+-----------------------------------------------------------------------------+----------+---------+---------+------------------+---------------+-----------+ 1 row in set (0.014 sec) obclient(root@sys)\[oceanbase\]\> exit Bye \[root@ob log\]# grep HugePages_ /proc/meminfo HugePages_Total: 24576 HugePages_Free: 24576 HugePages_Rsvd: 0 HugePages_Surp: 0 \[root@ob log\]# obclient -h192.168.207.18 -P2881 -uroot@sys -p'linux2025.' -Doceanbase -A Welcome to the OceanBase. Commands end with ; or \\g. Your OceanBase connection id is 3221604425 Server version: OceanBase 4.2.5.3 (r103000152025033110-f5b88cd987f23383677f2eb53cf76ed38a48979b) (Built Mar 31 2025 11:08:20) Copyright (c) 2000, 2018, OceanBase and/or its affiliates. All rights reserved. Type 'help;' or '\\h' for help. Type '\\c' to clear the current input statement. obclient(root@sys)\[oceanbase\]\> ALTER SYSTEM SET use_large_pages = 'true'; Query OK, 0 rows affected (0.015 sec) obclient(root@sys)\[oceanbase\]\> SHOW PARAMETERS LIKE 'use_large_pages'; +-------+----------+----------------+----------+-----------------+-----------+-------+-----------------------------------------------------------------------------+----------+---------+---------+------------------+---------------+-----------+ \| zone \| svr_type \| svr_ip \| svr_port \| name \| data_type \| value \| info \| section \| scope \| source \| edit_level \| default_value \| isdefault \| +-------+----------+----------------+----------+-----------------+-----------+-------+-----------------------------------------------------------------------------+----------+---------+---------+------------------+---------------+-----------+ \| zone1 \| observer \| 192.168.207.18 \| 2882 \| use_large_pages \| NULL \| false \| used to manage the database's use of large pages, values: false, true, only \| OBSERVER \| CLUSTER \| DEFAULT \| STATIC_EFFECTIVE \| false \| 1 \| +-------+----------+----------------+----------+-----------------+-----------+-------+-----------------------------------------------------------------------------+----------+---------+---------+------------------+---------------+-----------+ 1 row in set (0.014 sec) obclient(root@sys)\[oceanbase\]\> exit Bye 重启集群生效: \[root@ob log\]# obd cluster restart lnob Get local repositories and plugins ok Load cluster param plugin ok Open ssh connection ok Cluster status check ok Connect to observer 192.168.207.18:2881 ok Server check ok Check before start obagent ok Connect to Obagent ok Check before start prometheus ok Connect to Prometheus ok Check before start grafana ok Stop observer ok Stop obshell ok cluster scenario: None Start observer ok observer program health check ok obshell start ok obshell program health check ok Connect to observer 192.168.207.18:2881 ok Wait for observer init ok +--------------------------------------------------+ \| oceanbase-standalone \| +----------------+---------+------+-------+--------+ \| ip \| version \| port \| zone \| status \| +----------------+---------+------+-------+--------+ \| 192.168.207.18 \| 4.2.5.3 \| 2881 \| zone1 \| ACTIVE \| +----------------+---------+------+-------+--------+ obclient -h192.168.207.18 -P2881 -uroot@sys -p'\*\*\*\*\*\*' -Doceanbase -A cluster unique id: 3401ae25-58c4-5b35-8eb3-c88c207ad7e8-1961de3d3c0-03050204 Stop obagent ok Start obagent ok obagent program health check ok Connect to Obagent ok +-------------------------------------------------------------------+ \| obagent \| +----------------+--------------------+--------------------+--------+ \| ip \| mgragent_http_port \| monagent_http_port \| status \| +----------------+--------------------+--------------------+--------+ \| 192.168.207.18 \| 8089 \| 8088 \| active \| +----------------+--------------------+--------------------+--------+ Stop prometheus ok Start promethues ok prometheus program health check ok Connect to Prometheus ok +--------------------------------------------------------+ \| prometheus \| +----------------------------+-------+----------+--------+ \| url \| user \| password \| status \| +----------------------------+-------+----------+--------+ \| http://192.168.207.18:9090 \| admin \| \*\*\*\*\*\* \| active \| +----------------------------+-------+----------+--------+ Stop grafana ok Start grafana ok grafana program health check ok Connect to grafana ok +--------------------------------------------------------------------+ \| grafana \| +----------------------------------------+-------+----------+--------+ \| url \| user \| password \| status \| +----------------------------------------+-------+----------+--------+ \| http://192.168.207.18:3000/d/oceanbase \| admin \| \*\*\*\*\*\* \| active \| +----------------------------------------+-------+----------+--------+ lnob restart Trace ID: 9c9222cc-1684-11f0-9f75-0050569f2a5c If you want to view detailed obd logs, please run: obd display-trace 9c9222cc-1684-11f0-9f75-0050569f2a5c \[root@ob log\]# ls -lt total 98996 -rw-r--r--. 1 root root 95002132 Apr 11 11:25 observer.log -rw-r--r--. 1 root root 1057321 Apr 11 11:25 election.log -rw-r--r--. 1 root root 4971754 Apr 11 11:25 rootservice.log -rw-r--r--. 1 root root 335550 Apr 11 11:11 trace.log drwxr-xr-x. 2 root root 31 Apr 11 11:07 alert -rw-r--r--. 1 root root 0 Apr 11 11:07 election.log.wf -rw-r--r--. 1 root root 0 Apr 11 11:07 observer.log.wf -rw-r--r--. 1 root root 0 Apr 11 11:07 rootservice.log.wf \[root@ob log\]# ls -lt total 98996 -rw-r--r--. 1 root root 95002132 Apr 11 11:25 observer.log -rw-r--r--. 1 root root 1057321 Apr 11 11:25 election.log -rw-r--r--. 1 root root 4971754 Apr 11 11:25 rootservice.log -rw-r--r--. 1 root root 335550 Apr 11 11:11 trace.log drwxr-xr-x. 2 root root 31 Apr 11 11:07 alert -rw-r--r--. 1 root root 0 Apr 11 11:07 election.log.wf -rw-r--r--. 1 root root 0 Apr 11 11:07 observer.log.wf -rw-r--r--. 1 root root 0 Apr 11 11:07 rootservice.log.wf \[root@ob log\]# ls -lt total 98996 -rw-r--r--. 1 root root 95002132 Apr 11 11:25 observer.log -rw-r--r--. 1 root root 1057321 Apr 11 11:25 election.log -rw-r--r--. 1 root root 4971754 Apr 11 11:25 rootservice.log -rw-r--r--. 1 root root 335550 Apr 11 11:11 trace.log drwxr-xr-x. 2 root root 31 Apr 11 11:07 alert -rw-r--r--. 1 root root 0 Apr 11 11:07 election.log.wf -rw-r--r--. 1 root root 0 Apr 11 11:07 observer.log.wf -rw-r--r--. 1 root root 0 Apr 11 11:07 rootservice.log.wf \[root@ob log\]# du -sm observer.log 91 observer.log \[root@ob log\]# tail -f observer.log \[2025-04-11 11:25:52.915576\] WDIAG \[PALF\] reconfirm (log_reconfirm.cpp:608) \[13037\]\[T1003_LogLoop\]\[T1003\]\[Y0-0000000000000000-0-0\] \[lt=6\]\[errcode=-4023\] wait start work log majority or log slide(palf_id=1, new_proposal_id_=3, majority_max_log_server_="192.168.207.18:2882", majority_max_lsn_={lsn:806397391}, majority_max_accept_pid_=2) \[2025-04-11 11:25:52.915584\] INFO \[PALF\] reconfirm (log_reconfirm.cpp:628) \[13037\]\[T1003_LogLoop\]\[T1003\]\[Y0-0000000000000000-0-0\] \[lt=7\] reconfirm waiting retry(ret=-4023, palf_id=1, state=6) \[2025-04-11 11:25:52.915604\] INFO \[PALF\] switch_state (log_state_mgr.cpp:333) \[13037\]\[T1003_LogLoop\]\[T1003\]\[Y0-0000000000000000-0-0\] \[lt=18\] switch_state(ret=-4023, palf_id=1, old_role=1, role=1, old_state=3, state=3, old_leader="192.168.207.18:2882", leader="192.168.207.18:2882", old_leader_epoch=1, leader_epoch=1, need_next_loop=false, diff=867) \[2025-04-11 11:25:52.915945\] INFO \[PALF\] inner_pread_ (log_storage.cpp:995) \[13522\]\[T1003_ReplaySrv\]\[T1003\]\[Y0-0000000000000000-0-0\] \[lt=72\] \[PALF STAT READ LOG INFO FROM DISK\](this={log_tail:{lsn:806397391}, readable_log_tail:{lsn:806397391}, log_block_header:{magic:18754, version:1, min_lsn:{lsn:18446744073709551615}, min_scn:{val:18446744073709551615, v:3}, curr_block_id:12, palf_id:1}, block_mgr:{log_dir:"/data/1/lnob/clog/tenant_1003/1/log", min_block_id:0, max_block_id:13, curr_writable_block_id:12, palf_id:1}, logical_block_size_:67104768, curr_block_writable_size_:65964593, block_header_serialize_buf_:0x2aaae3617ab8, flashback_version:0}, accum_read_io_count=138, accum_read_log_size=474594366, avg_pread_cost=4623) \[2025-04-11 11:25:53.886627\] INFO \[SERVER\] check_user_tenant_schema_refreshed (ob_server.cpp:3133) \[12436\]\[observer\]\[T0\]\[YB42C0A8CF12-000632784179D9B2-0-0\] \[lt=57\] \[server_start 14/18\] observer check user tenant schema refreshed begin. \[2025-04-11 11:25:56.886934\] INFO \[SERVER\] check_user_tenant_schema_refreshed (ob_server.cpp:3173) \[12436\]\[observer\]\[T0\]\[YB42C0A8CF12-000632784179D9B2-0-0\] \[lt=35\] \[server_start 15/18\] observer check user tenant schema refreshed finish. \[2025-04-11 11:25:56.886945\] INFO \[SERVER\] check_log_replay_over (ob_server.cpp:3180) \[12436\]\[observer\]\[T0\]\[YB42C0A8CF12-000632784179D9B2-0-0\] \[lt=5\] \[server_start 16/18\] observer check log replay over begin. \[2025-04-11 11:25:56.886983\] INFO \[SERVER\] check_log_replay_over (ob_server.cpp:3206) \[12436\]\[observer\]\[T0\]\[YB42C0A8CF12-000632784179D9B2-0-0\] \[lt=4\] \[server_start 17/18\] observer check log replay over finish. \[2025-04-11 11:25:56.933227\] INFO \[SERVER\] start (ob_server.cpp:1236) \[12436\]\[observer\]\[T0\]\[YB42C0A8CF12-000632784179D9B2-0-0\] \[lt=22\] \[server_start 18/18\] observer start success. \[2025-04-11 11:25:56.933246\] INFO \[SERVER\] wait (ob_server.cpp:1633) \[12436\]\[observer\]\[T0\]\[YB42C0A8CF12-000632784179D9B2-0-0\] \[lt=8\] observer process wait begin. \^C \[root@ob log\]# obclient -h192.168.207.18 -P2881 -uroot@sys -p'linux2025.' -Doceanbase -A Welcome to the OceanBase. Commands end with ; or \\g. Your OceanBase connection id is 3221651007 Server version: OceanBase 4.2.5.3 (r103000152025033110-f5b88cd987f23383677f2eb53cf76ed38a48979b) (Built Mar 31 2025 11:08:20) Copyright (c) 2000, 2018, OceanBase and/or its affiliates. All rights reserved. Type 'help;' or '\\h' for help. Type '\\c' to clear the current input statement. obclient(root@sys)\[oceanbase\]\> SHOW PARAMETERS LIKE 'use_large_pages'; +-------+----------+----------------+----------+-----------------+-----------+-------+-----------------------------------------------------------------------------+----------+---------+---------+------------------+---------------+-----------+ \| zone \| svr_type \| svr_ip \| svr_port \| name \| data_type \| value \| info \| section \| scope \| source \| edit_level \| default_value \| isdefault \| +-------+----------+----------------+----------+-----------------+-----------+-------+-----------------------------------------------------------------------------+----------+---------+---------+------------------+---------------+-----------+ \| zone1 \| observer \| 192.168.207.18 \| 2882 \| use_large_pages \| NULL \| true \| used to manage the database's use of large pages, values: false, true, only \| OBSERVER \| CLUSTER \| DEFAULT \| STATIC_EFFECTIVE \| false \| 0 \| +-------+----------+----------------+----------+-----------------+-----------+-------+-----------------------------------------------------------------------------+----------+---------+---------+------------------+---------------+-----------+ 1 row in set (0.048 sec) obclient(root@sys)\[oceanbase\]\> exit Bye \[root@ob log\]# free -g total used free shared buff/cache available Mem: 62 50 5 0 6 11 Swap: 31 0 31 \[root@ob log\]# cat /proc/meminfo\|grep Huge AnonHugePages: 53248 kB HugePages_Total: 24576 HugePages_Free: 23055 HugePages_Rsvd: 11 HugePages_Surp: 0 Hugepagesize: 2048 kB \[root@ob log\]# cat /sys/kernel/mm/transparent_hugepage/enabled always madvise \[never

root@ob log\]# cat /etc/redhat-release CentOS Linux release 7.9.2009 (Core) \[root@ob log\]# pwd /root/lnob/oceanbase/log \[root@ob log\]# ls -lt total 98996 -rw-r--r--. 1 root root 95002132 Apr 11 11:25 observer.log -rw-r--r--. 1 root root 1057321 Apr 11 11:25 election.log -rw-r--r--. 1 root root 4971754 Apr 11 11:25 rootservice.log -rw-r--r--. 1 root root 335550 Apr 11 11:11 trace.log drwxr-xr-x. 2 root root 31 Apr 11 11:07 alert -rw-r--r--. 1 root root 0 Apr 11 11:07 election.log.wf -rw-r--r--. 1 root root 0 Apr 11 11:07 observer.log.wf -rw-r--r--. 1 root root 0 Apr 11 11:07 rootservice.log.wf \[root@ob log\]# ls -lt total 98996 -rw-r--r--. 1 root root 95002132 Apr 11 11:25 observer.log -rw-r--r--. 1 root root 1057321 Apr 11 11:25 election.log -rw-r--r--. 1 root root 4971754 Apr 11 11:25 rootservice.log -rw-r--r--. 1 root root 335550 Apr 11 11:11 trace.log drwxr-xr-x. 2 root root 31 Apr 11 11:07 alert -rw-r--r--. 1 root root 0 Apr 11 11:07 election.log.wf -rw-r--r--. 1 root root 0 Apr 11 11:07 observer.log.wf -rw-r--r--. 1 root root 0 Apr 11 11:07 rootservice.log.wf \[root@ob log\]# \>\|observer.log \[root@ob log\]# ls -lt total 6220 -rw-r--r--. 1 root root 0 Apr 11 11:54 observer.log -rw-r--r--. 1 root root 1057321 Apr 11 11:25 election.log -rw-r--r--. 1 root root 4971754 Apr 11 11:25 rootservice.log -rw-r--r--. 1 root root 335550 Apr 11 11:11 trace.log drwxr-xr-x. 2 root root 31 Apr 11 11:07 alert -rw-r--r--. 1 root root 0 Apr 11 11:07 election.log.wf -rw-r--r--. 1 root root 0 Apr 11 11:07 observer.log.wf -rw-r--r--. 1 root root 0 Apr 11 11:07 rootservice.log.wf \[root@ob log\]# \[root@ob log\]# \[root@ob log\]# ls -lt total 6220 -rw-r--r--. 1 root root 0 Apr 11 11:54 observer.log -rw-r--r--. 1 root root 1057321 Apr 11 11:25 election.log -rw-r--r--. 1 root root 4971754 Apr 11 11:25 rootservice.log -rw-r--r--. 1 root root 335550 Apr 11 11:11 trace.log drwxr-xr-x. 2 root root 31 Apr 11 11:07 alert -rw-r--r--. 1 root root 0 Apr 11 11:07 election.log.wf -rw-r--r--. 1 root root 0 Apr 11 11:07 observer.log.wf -rw-r--r--. 1 root root 0 Apr 11 11:07 rootservice.log.wf \[root@ob log\]#

相关推荐
随行就市5 分钟前
python爬虫
运维·服务器·爬虫
私房菜8 分钟前
ubuntu 安装samba
运维·服务器·ubuntu
青山瀚海12 分钟前
windows中搭建Ubuntu子系统
linux·windows·ubuntu·docker
xxxx1234451 小时前
Linux驱动开发-网络设备驱动
linux·运维·驱动开发
2401_861615281 小时前
debian转移根目录
linux·debian·电脑
小小不董1 小时前
Oracle OCP认证考试考点详解083系列03
运维·服务器·数据库·oracle·dba
刘若水2 小时前
Linux: 线程控制
linux·运维·服务器
筱戥芊茹2 小时前
RK3588上Linux系统编译C/C++ Demo时出现BUG:The C/CXX compiler identification is unknown
linux·c语言·c++·嵌入式硬件·bug
网硕互联的小客服2 小时前
香港服务器租用对分布式计算的作用
运维·服务器
__基本操作__2 小时前
linux以C方式和内核交互监听键盘[香橙派搞机日记]
linux·c语言·输入子系统