This commit is contained in:
zeaslity
2025-03-14 13:48:54 +08:00
parent 77cafaf0a1
commit d8e2c67e36
38 changed files with 1051 additions and 39 deletions

View File

@@ -6,17 +6,12 @@ worker_server_list=(192.168.35.55 192.168.35.86 192.168.35.89 192.168.35.93 192.
all_server_list=(192.168.35.105 192.168.35.114 192.168.35.115 192.168.35.55 192.168.35.86 192.168.35.89 192.168.35.93 192.168.35.95 192.168.35.96 192.168.35.101 192.168.35.103 192.168.35.104)
all_server_list=(dev-worker-01 dev-worker-02 dev-worker-03 dev-worker-05 dev-worker-06 dev-worker-07 dev-worker-08 dev-worker-09)
all_server_list=(192.168.35.105 192.168.35.114 192.168.35.115 192.168.35.55 192.168.35.86 192.168.35.89 192.168.35.93 192.168.35.95 192.168.35.96 192.168.35.101 192.168.35.103 192.168.35.104)
all_server_list=(192.168.35.105 192.168.35.114 192.168.35.115 192.168.35.55 192.168.35.86 192.168.35.89 192.168.35.93 192.168.35.95 192.168.35.96 192.168.35.101 192.168.35.103 192.168.35.104 192.168.40.53 192.168.40.54 192.168.40.55)
for server in "${all_server_list[@]}";do
echo "server is ${server}"
ssh root@"${server}" "df -TH"
ssh root@"${server}" "timedatectl status"
done

View File

@@ -0,0 +1,159 @@
server is 192.168.35.105
Authorized users only. All activities may be monitored and reported.
/etc/profile.d/system-info.sh: line 26: bc: command not found
Local time: Wed 2025-03-12 15:31:29 CST
Universal time: Wed 2025-03-12 07:31:29 UTC
RTC time: Wed 2025-03-12 06:48:28
Time zone: Asia/Shanghai (CST, +0800)
System clock synchronized: yes
NTP service: active
RTC in local TZ: no
server is 192.168.35.114
Authorized users only. All activities may be monitored and reported.
/etc/profile.d/system-info.sh: line 26: bc: command not found
Local time: Wed 2025-03-12 15:31:30 CST
Universal time: Wed 2025-03-12 07:31:30 UTC
RTC time: Wed 2025-03-12 06:48:29
Time zone: Asia/Shanghai (CST, +0800)
System clock synchronized: yes
NTP service: active
RTC in local TZ: no
server is 192.168.35.115
Authorized users only. All activities may be monitored and reported.
/etc/profile.d/system-info.sh: line 26: bc: command not found
Local time: Wed 2025-03-12 15:31:30 CST
Universal time: Wed 2025-03-12 07:31:30 UTC
RTC time: Wed 2025-03-12 06:48:29
Time zone: Asia/Shanghai (CST, +0800)
System clock synchronized: yes
NTP service: active
RTC in local TZ: no
server is 192.168.35.55
Authorized users only. All activities may be monitored and reported.
/etc/profile.d/system-info.sh: line 26: bc: command not found
Local time: Wed 2025-03-12 15:31:30 CST
Universal time: Wed 2025-03-12 07:31:30 UTC
RTC time: Wed 2025-03-12 06:48:29
Time zone: Asia/Shanghai (CST, +0800)
System clock synchronized: yes
NTP service: active
RTC in local TZ: no
server is 192.168.35.86
Authorized users only. All activities may be monitored and reported.
/etc/profile.d/system-info.sh: line 26: bc: command not found
Local time: Wed 2025-03-12 15:31:31 CST
Universal time: Wed 2025-03-12 07:31:31 UTC
RTC time: Wed 2025-03-12 06:48:29
Time zone: Asia/Shanghai (CST, +0800)
System clock synchronized: yes
NTP service: active
RTC in local TZ: no
server is 192.168.35.89
Authorized users only. All activities may be monitored and reported.
/etc/profile.d/system-info.sh: line 26: bc: command not found
Local time: Wed 2025-03-12 15:31:31 CST
Universal time: Wed 2025-03-12 07:31:31 UTC
RTC time: Wed 2025-03-12 06:48:31
Time zone: Asia/Shanghai (CST, +0800)
System clock synchronized: yes
NTP service: active
RTC in local TZ: no
server is 192.168.35.93
Authorized users only. All activities may be monitored and reported.
/etc/profile.d/system-info.sh: line 26: bc: command not found
Local time: Wed 2025-03-12 15:31:32 CST
Universal time: Wed 2025-03-12 07:31:32 UTC
RTC time: Wed 2025-03-12 06:48:31
Time zone: Asia/Shanghai (CST, +0800)
System clock synchronized: yes
NTP service: active
RTC in local TZ: no
server is 192.168.35.95
Authorized users only. All activities may be monitored and reported.
/etc/profile.d/system-info.sh: line 26: bc: command not found
Local time: Wed 2025-03-12 15:31:32 CST
Universal time: Wed 2025-03-12 07:31:32 UTC
RTC time: Wed 2025-03-12 06:48:31
Time zone: Asia/Shanghai (CST, +0800)
System clock synchronized: yes
NTP service: active
RTC in local TZ: no
server is 192.168.35.96
Authorized users only. All activities may be monitored and reported.
/etc/profile.d/system-info.sh: line 26: bc: command not found
Local time: Wed 2025-03-12 15:31:33 CST
Universal time: Wed 2025-03-12 07:31:33 UTC
RTC time: Wed 2025-03-12 06:48:32
Time zone: Asia/Shanghai (CST, +0800)
System clock synchronized: yes
NTP service: active
RTC in local TZ: no
server is 192.168.35.101
Authorized users only. All activities may be monitored and reported.
/etc/profile.d/system-info.sh: line 26: bc: command not found
Local time: Wed 2025-03-12 15:31:33 CST
Universal time: Wed 2025-03-12 07:31:33 UTC
RTC time: Wed 2025-03-12 06:48:32
Time zone: Asia/Shanghai (CST, +0800)
System clock synchronized: yes
NTP service: active
RTC in local TZ: no
server is 192.168.35.103
Authorized users only. All activities may be monitored and reported.
/etc/profile.d/system-info.sh: line 26: bc: command not found
Local time: Wed 2025-03-12 15:31:34 CST
Universal time: Wed 2025-03-12 07:31:34 UTC
RTC time: Wed 2025-03-12 06:48:32
Time zone: Asia/Shanghai (CST, +0800)
System clock synchronized: yes
NTP service: active
RTC in local TZ: no
server is 192.168.35.104
Authorized users only. All activities may be monitored and reported.
/etc/profile.d/system-info.sh: line 26: bc: command not found
Local time: Wed 2025-03-12 15:31:34 CST
Universal time: Wed 2025-03-12 07:31:34 UTC
RTC time: Wed 2025-03-12 06:48:32
Time zone: Asia/Shanghai (CST, +0800)
System clock synchronized: yes
NTP service: active
RTC in local TZ: no
server is 192.168.40.53
/etc/profile.d/system-info.sh: line 26: bc: command not found
Local time: Wed 2025-03-12 15:31:36 CST
Universal time: Wed 2025-03-12 07:31:36 UTC
RTC time: Wed 2025-03-12 07:31:36
Time zone: Asia/Shanghai (CST, +0800)
System clock synchronized: yes
NTP service: active
RTC in local TZ: no
server is 192.168.40.54
/etc/profile.d/system-info.sh: line 26: bc: command not found
Local time: Wed 2025-03-12 15:31:39 CST
Universal time: Wed 2025-03-12 07:31:39 UTC
RTC time: Wed 2025-03-12 07:31:39
Time zone: Asia/Shanghai (CST, +0800)
System clock synchronized: yes
NTP service: active
RTC in local TZ: no
server is 192.168.40.55
/etc/profile.d/system-info.sh: line 26: bc: command not found
Local time: Wed 2025-03-12 15:31:43 CST
Universal time: Wed 2025-03-12 07:31:43 UTC
RTC time: Wed 2025-03-12 07:31:43
Time zone: Asia/Shanghai (CST, +0800)
System clock synchronized: yes
NTP service: active
RTC in local TZ: no