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\]#

相关推荐
爱奥尼欧21 分钟前
【Linux】网络部分——Socket编程 UDP实现网络云服务器与本地虚拟机的基本通信
linux·服务器·网络
Ching·22 分钟前
RK3568入门之VScode远程连接开发板,直接开发板上面编程和实验
linux·ide·vscode·编辑器·rk3568
iconball1 小时前
个人用云计算学习笔记 --20 (Nginx 服务器)
linux·运维·笔记·学习·云计算
Wang's Blog1 小时前
Linux小课堂: 在 VirtualBox 虚拟机中安装 CentOS 7 的完整流程与关键技术详解
linux·运维
liu****1 小时前
基于websocket的多用户网页五子棋(九)
服务器·网络·数据库·c++·websocket·网络协议·个人开发
liu****1 小时前
基于websocket的多用户网页五子棋(八)
服务器·前端·javascript·数据库·c++·websocket·个人开发
馨谙1 小时前
Linux中权限系统
linux·运维·服务器
jieyu11191 小时前
虚拟专用网络
linux·网络
报错小能手2 小时前
linux学习笔记(19)进程间通讯——消息队列
linux·笔记·学习
liujing102329293 小时前
Day14_内核编译&安装
linux