中兴R5300G4服务器查看服务器、主板序列号及硬盘RAID信息

本文在操作系统带内通过指令操作查看中兴R5300G4服务器、主板序列号及硬盘RAID信息。

一、中兴R5300G4服务器查看服务器、主板序列号

在Linux服务器上,可以使用dmidecode命令来查看服务器的硬件相关信息,由于命令要读取系统的硬件信息,因此需要切换到root用户来执行或使用sudo来提供足够的权限。

1、查看服务器序列号及信息

如下命令会返回服务器的序列号,该序列号会以字符串形式显示::

[root@localhost ~]# dmidecode -s system-serial-number
219306478018

如下命令显示系统的完整信息,包括制造商、型号、序列号、BIOS信息等:

[root@localhost ~]# dmidecode -t system
# dmidecode 3.4
Getting SMBIOS data from sysfs.
SMBIOS 3.2.1 present.Handle 0x0001, DMI type 1, 27 bytes
System InformationManufacturer: ZTEProduct Name: R5300 G4Version: 1.0.0Serial Number: 219306478018UUID: 613cc86c-0000-1000-0000-bc1695199c23Wake-up Type: Power SwitchSKU Number: N/AFamily: ServerHandle 0x001D, DMI type 32, 20 bytes
System Boot InformationStatus: No errors detected
2、查看主板序列号及信息

如下命令会返回主板的序列号,该序列号会以字符串形式显示:

[root@localhost ~]#  dmidecode -s baseboard-serial-number
739554000276

如果想查看主板的完整信息,包括制造商、型号、版本、序列号等,可以使用以下命令:

[root@localhost ~]# sudo dmidecode -t baseboard
# dmidecode 3.4
Getting SMBIOS data from sysfs.
SMBIOS 3.2.1 present.Handle 0x0002, DMI type 2, 15 bytes
Base Board InformationManufacturer: ZTEProduct Name: R5300G4Version: 16030200Serial Number: 739554000276Asset Tag: N/AFeatures:Board is a hosting boardBoard is replaceableLocation In Chassis: INSIDEChassis Handle: 0x0003Type: MotherboardContained Object Handles: 0Handle 0x001C, DMI type 10, 10 bytes
On Board Device 1 InformationType: VideoStatus: EnabledDescription: Video AST2500 x1
On Board Device 2 InformationType: EthernetStatus: EnabledDescription: Ethernet 4*X722 x16
On Board Device 3 InformationType: SAS ControllerStatus: EnabledDescription: SAS Controller x8Handle 0x001E, DMI type 41, 11 bytes
Onboard DeviceReference Designation:  Video AST2500 x1Type: VideoStatus: EnabledType Instance: 1Bus Address: 0000:03:00.0Handle 0x001F, DMI type 41, 11 bytes
Onboard DeviceReference Designation:  Ethernet X722 1Type: EthernetStatus: EnabledType Instance: 1Bus Address: 0000:1a:00.0Handle 0x0020, DMI type 41, 11 bytes
Onboard DeviceReference Designation:  Ethernet X722 2Type: EthernetStatus: EnabledType Instance: 2Bus Address: 0000:1a:00.1Handle 0x0021, DMI type 41, 11 bytes
Onboard DeviceReference Designation:  Ethernet X722 3Type: EthernetStatus: EnabledType Instance: 3Bus Address: 0000:1a:00.2Handle 0x0022, DMI type 41, 11 bytes
Onboard DeviceReference Designation:  Ethernet X722 4Type: EthernetStatus: EnabledType Instance: 4Bus Address: 0000:1a:00.3Handle 0x0023, DMI type 41, 11 bytes
Onboard DeviceReference Designation:  SAS Controller x8Type: SAS ControllerStatus: EnabledType Instance: 1Bus Address: 0000:3c:00.0

二、查看硬盘RAID信息

  本服务器使用了Adaptec RAID 控制器。arcconf 是一个用于管理 Adaptec RAID 控制器的命令行工具。它允许用户查询和控制 RAID 控制器及其相关设备的状态。以下是一些 arcconf 的常用指令

  1. arcconf setstate <Controller_Number> device <Device_Number> <State>
    这个命令用于设置设备的状态。<Controller_Number> 是控制器的编号,<Device_Number> 是设备的编号,而 <State> 是要设置的状态。例如,将设备设置为热备状态可以使用 arcconf setstate 1 device 0 3 hsp,其中 1 是控制器编号,0 是设备编号,3 表示设置操作,hsp 表示热备状态。

  2. arcconf getconfig <Controller_Number> all
    这个命令用于获取控制器的配置信息。<Controller_Number> 是控制器的编号。使用 all 参数可以获取所有设备的配置信息。例如,arcconf getconfig 1 all 将显示控制器 1 的所有设备配置信息。

  3. arcconf identify <Controller_Number> device <Device_Number>
    这个命令用于启动设备的识别灯,通常用于物理定位设备。<Controller_Number> 是控制器的编号,<Device_Number> 是设备的编号。例如,./arcconf-linux identify 1 device 0 将启动控制器 1 的设备 0 的识别灯。

1、查看RAID卡控制器信息
[root@localhost ~]# ./arcconf-linux  list
Controllers found: 1
----------------------------------------------------------------------
Controller information
----------------------------------------------------------------------Controller ID             : Status, Slot, Mode, Name, SerialNumber, WWN
----------------------------------------------------------------------Controller 1:             : Optimal, Slot 0, RAID (Hide RAW), ZTE SmartROC3100 SDPSx V2.54, 739186000138, 50015EBE047A1C3FCommand completed successfully.
2、查看 RAID组逻辑卷相关信息

 执行以下命令,查看RAID组信息,包含逻辑卷下的硬盘信息:

[root@localhost ~]# ./arcconf-linux getconfig 1 ld
Controllers found: 1
--------------------------------------------------------
Logical device information
--------------------------------------------------------
Logical Device number 0Logical Device name                        : Logical Drive 1Disk Name                                  : /dev/sdaBlock Size of member drives                : 512 BytesArray                                      : 0RAID level                                 : 1Status of Logical Device                   : OptimalSize                                       : 457830 MBStripe-unit size                           : 256 KBFull Stripe Size                           : 256 KBInterface Type                             : SATA SSDDevice Type                                : DataBoot Type                                  : NoneHeads                                      : 255Sectors Per Track                          : 32Cylinders                                  : 65535Caching                                    : DisabledMount Points                               : /boot/efi 600 MB  Partition Number 1 /boot 1024 MB  Partition Number 2 LD Acceleration Method                     : SSD IO BypassLogical Device On Boot Connector           : NoVolume Unique Identifier                   : 600508B1001CABF2A33CB293CD714BC8
--------------------------------------------------------Array Physical Device Information
--------------------------------------------------------Device ID                                  : Availability (SizeMB, Protocol, Type, Connector ID, Location) Serial Number
--------------------------------------------------------Device 12                                  : Present (457862MB, SATA, SSD, Connector:3, Device:12) BTYF12230019480BGNDevice 13                                  : Present (457862MB, SATA, SSD, Connector:3, Device:13) BTYF1223003J480BGNLogical Device number 1Logical Device name                        : 1Disk Name                                  : /dev/sdbBlock Size of member drives                : 512 BytesArray                                      : 1RAID level                                 : 1Status of Logical Device                   : OptimalSize                                       : 1831388 MBStripe-unit size                           : 256 KBFull Stripe Size                           : 256 KBInterface Type                             : SATA SSDDevice Type                                : DataBoot Type                                  : NoneHeads                                      : 255Sectors Per Track                          : 32Cylinders                                  : 65535Caching                                    : DisabledMount Points                               : Not MountedLD Acceleration Method                     : SSD IO BypassLogical Device On Boot Connector           : NoVolume Unique Identifier                   : 600508B1001CF9B0CA75E5D539AA91EE
--------------------------------------------------------Array Physical Device Information
--------------------------------------------------------Device ID                                  : Availability (SizeMB, Protocol, Type, Connector ID, Location) Serial Number
--------------------------------------------------------Device 0                                   : Present (1831420MB, SATA, SSD, Connector:0, Device:0) S455NC0R904981Device 1                                   : Present (1831420MB, SATA, SSD, Connector:0, Device:1) S455NC0R909489Logical Device number 2Logical Device name                        : 0-2Disk Name                                  : /dev/sdcBlock Size of member drives                : 512 BytesArray                                      : 2RAID level                                 : 0Status of Logical Device                   : OptimalSize                                       : 1831388 MBStripe-unit size                           : 256 KBFull Stripe Size                           : 256 KBInterface Type                             : SATA SSDDevice Type                                : DataBoot Type                                  : NoneHeads                                      : 255Sectors Per Track                          : 32Cylinders                                  : 65535Caching                                    : DisabledMount Points                               : Not MountedLD Acceleration Method                     : NoneLogical Device On Boot Connector           : NoVolume Unique Identifier                   : 600508B1001CC9F6AF6AC352A9F73939
--------------------------------------------------------Array Physical Device Information
--------------------------------------------------------Device ID                                  : Availability (SizeMB, Protocol, Type, Connector ID, Location) Serial Number
--------------------------------------------------------Device 2                                   : Present (1831420MB, SATA, SSD, Connector:0, Device:2) S455NC0R915516Logical Device number 3Logical Device name                        : 0-3Disk Name                                  : /dev/sddBlock Size of member drives                : 512 BytesArray                                      : 3RAID level                                 : 0Status of Logical Device                   : OptimalSize                                       : 1831388 MBStripe-unit size                           : 256 KBFull Stripe Size                           : 256 KBInterface Type                             : SATA SSDDevice Type                                : DataBoot Type                                  : NoneHeads                                      : 255Sectors Per Track                          : 32Cylinders                                  : 65535Caching                                    : DisabledMount Points                               : Not MountedLD Acceleration Method                     : NoneLogical Device On Boot Connector           : NoVolume Unique Identifier                   : 600508B1001C08F6CFB967225F000998
--------------------------------------------------------Array Physical Device Information
--------------------------------------------------------Device ID                                  : Availability (SizeMB, Protocol, Type, Connector ID, Location) Serial Number
--------------------------------------------------------Device 3                                   : Present (1831420MB, SATA, SSD, Connector:0, Device:3) S455NC0R915568Logical Device number 4Logical Device name                        : 0-4Disk Name                                  : /dev/sdeBlock Size of member drives                : 512 BytesArray                                      : 4RAID level                                 : 0Status of Logical Device                   : OptimalSize                                       : 1831388 MBStripe-unit size                           : 256 KBFull Stripe Size                           : 256 KBInterface Type                             : SATA SSDDevice Type                                : DataBoot Type                                  : NoneHeads                                      : 255Sectors Per Track                          : 32Cylinders                                  : 65535Caching                                    : DisabledMount Points                               : Not MountedLD Acceleration Method                     : NoneLogical Device On Boot Connector           : NoVolume Unique Identifier                   : 600508B1001C3D7DA083E19C9526DE7C
--------------------------------------------------------Array Physical Device Information
--------------------------------------------------------Device ID                                  : Availability (SizeMB, Protocol, Type, Connector ID, Location) Serial Number
--------------------------------------------------------Device 4                                   : Present (1831420MB, SATA, SSD, Connector:1, Device:4) S455NC0R904969Logical Device number 5Logical Device name                        : 0-5Disk Name                                  : /dev/sdfBlock Size of member drives                : 512 BytesArray                                      : 5RAID level                                 : 0Status of Logical Device                   : OptimalSize                                       : 1831388 MBStripe-unit size                           : 256 KBFull Stripe Size                           : 256 KBInterface Type                             : SATA SSDDevice Type                                : DataBoot Type                                  : NoneHeads                                      : 255Sectors Per Track                          : 32Cylinders                                  : 65535Caching                                    : DisabledMount Points                               : Not MountedLD Acceleration Method                     : NoneLogical Device On Boot Connector           : NoVolume Unique Identifier                   : 600508B1001CFCABEC062F31AD360408
--------------------------------------------------------Array Physical Device Information
--------------------------------------------------------Device ID                                  : Availability (SizeMB, Protocol, Type, Connector ID, Location) Serial Number
--------------------------------------------------------Device 5                                   : Present (1831420MB, SATA, SSD, Connector:1, Device:5) S455NC0R904979Logical Device number 6Logical Device name                        : 0-6Disk Name                                  : /dev/sdgBlock Size of member drives                : 512 BytesArray                                      : 6RAID level                                 : 0Status of Logical Device                   : OptimalSize                                       : 1831388 MBStripe-unit size                           : 256 KBFull Stripe Size                           : 256 KBInterface Type                             : SATA SSDDevice Type                                : DataBoot Type                                  : NoneHeads                                      : 255Sectors Per Track                          : 32Cylinders                                  : 65535Caching                                    : DisabledMount Points                               : Not MountedLD Acceleration Method                     : NoneLogical Device On Boot Connector           : NoVolume Unique Identifier                   : 600508B1001C1117753A950D01FF5394
--------------------------------------------------------Array Physical Device Information
--------------------------------------------------------Device ID                                  : Availability (SizeMB, Protocol, Type, Connector ID, Location) Serial Number
--------------------------------------------------------Device 6                                   : Present (1831420MB, SATA, SSD, Connector:1, Device:6) S455NC0R904964Logical Device number 7Logical Device name                        : 0-7Disk Name                                  : /dev/sdhBlock Size of member drives                : 512 BytesArray                                      : 7RAID level                                 : 0Status of Logical Device                   : OptimalSize                                       : 1831388 MBStripe-unit size                           : 256 KBFull Stripe Size                           : 256 KBInterface Type                             : SATA SSDDevice Type                                : DataBoot Type                                  : NoneHeads                                      : 255Sectors Per Track                          : 32Cylinders                                  : 65535Caching                                    : DisabledMount Points                               : Not MountedLD Acceleration Method                     : NoneLogical Device On Boot Connector           : NoVolume Unique Identifier                   : 600508B1001CBDE6C3E430DF7E4E5D81
--------------------------------------------------------Array Physical Device Information
--------------------------------------------------------Device ID                                  : Availability (SizeMB, Protocol, Type, Connector ID, Location) Serial Number
--------------------------------------------------------Device 7                                   : Present (1831420MB, SATA, SSD, Connector:1, Device:7) S455NC0R904962Logical Device number 8Logical Device name                        : 0-8Disk Name                                  : /dev/sdiBlock Size of member drives                : 512 BytesArray                                      : 8RAID level                                 : 0Status of Logical Device                   : OptimalSize                                       : 1831388 MBStripe-unit size                           : 256 KBFull Stripe Size                           : 256 KBInterface Type                             : SATA SSDDevice Type                                : DataBoot Type                                  : NoneHeads                                      : 255Sectors Per Track                          : 32Cylinders                                  : 65535Caching                                    : DisabledMount Points                               : Not MountedLD Acceleration Method                     : NoneLogical Device On Boot Connector           : NoVolume Unique Identifier                   : 600508B1001C0604E97D1A8BBC845A91
--------------------------------------------------------Array Physical Device Information
--------------------------------------------------------Device ID                                  : Availability (SizeMB, Protocol, Type, Connector ID, Location) Serial Number
--------------------------------------------------------Device 8                                   : Present (1831420MB, SATA, SSD, Connector:2, Device:8) S455NC0R903477Logical Device number 9Logical Device name                        : 0-9Disk Name                                  : /dev/sdjBlock Size of member drives                : 512 BytesArray                                      : 9RAID level                                 : 0Status of Logical Device                   : OptimalSize                                       : 1831388 MBStripe-unit size                           : 256 KBFull Stripe Size                           : 256 KBInterface Type                             : SATA SSDDevice Type                                : DataBoot Type                                  : NoneHeads                                      : 255Sectors Per Track                          : 32Cylinders                                  : 65535Caching                                    : DisabledMount Points                               : Not MountedLD Acceleration Method                     : NoneLogical Device On Boot Connector           : NoVolume Unique Identifier                   : 600508B1001C3600C13E0FB9A9600321
--------------------------------------------------------Array Physical Device Information
--------------------------------------------------------Device ID                                  : Availability (SizeMB, Protocol, Type, Connector ID, Location) Serial Number
--------------------------------------------------------Device 9                                   : Present (1831420MB, SATA, SSD, Connector:2, Device:9) S455NC0R904756Logical Device number 10Logical Device name                        : 0-10Disk Name                                  : /dev/sdkBlock Size of member drives                : 512 BytesArray                                      : 10RAID level                                 : 0Status of Logical Device                   : OptimalSize                                       : 1831388 MBStripe-unit size                           : 256 KBFull Stripe Size                           : 256 KBInterface Type                             : SATA SSDDevice Type                                : DataBoot Type                                  : NoneHeads                                      : 255Sectors Per Track                          : 32Cylinders                                  : 65535Caching                                    : DisabledMount Points                               : Not MountedLD Acceleration Method                     : NoneLogical Device On Boot Connector           : NoVolume Unique Identifier                   : 600508B1001C9D7DD9C57A71CFD32FFB
--------------------------------------------------------Array Physical Device Information
--------------------------------------------------------Device ID                                  : Availability (SizeMB, Protocol, Type, Connector ID, Location) Serial Number
--------------------------------------------------------Device 10                                  : Present (1831420MB, SATA, SSD, Connector:2, Device:10) S455NC0R904971Logical Device number 11Logical Device name                        : 0-11Disk Name                                  : /dev/sdlBlock Size of member drives                : 512 BytesArray                                      : 11RAID level                                 : 0Status of Logical Device                   : OptimalSize                                       : 1831388 MBStripe-unit size                           : 256 KBFull Stripe Size                           : 256 KBInterface Type                             : SATA SSDDevice Type                                : DataBoot Type                                  : NoneHeads                                      : 255Sectors Per Track                          : 32Cylinders                                  : 65535Caching                                    : DisabledMount Points                               : Not MountedLD Acceleration Method                     : NoneLogical Device On Boot Connector           : NoVolume Unique Identifier                   : 600508B1001C8E742D672959B26B4E98
--------------------------------------------------------Array Physical Device Information
--------------------------------------------------------Device ID                                  : Availability (SizeMB, Protocol, Type, Connector ID, Location) Serial Number
--------------------------------------------------------Device 11                                  : Present (1831420MB, SATA, SSD, Connector:2, Device:11) S455NC0R904968Command completed successfully.
3、结合lsscsi -s查看逻辑卷情况
[root@localhost ~]# lsscsi -s
[12:0:0:0]   cd/dvd  AMI      Virtual CDROM0   1.00  /dev/sr0   1.07GB
[15:0:0:0]   enclosu ZTE      Smart Adapter    3.22  -               -
[15:1:0:0]   disk    ZTE      LOGICAL VOLUME   3.22  /dev/sda    480GB
[15:1:0:1]   disk    ZTE      LOGICAL VOLUME   3.22  /dev/sdb   1.92TB
[15:1:0:2]   disk    ZTE      LOGICAL VOLUME   3.22  /dev/sdd   1.92TB
[15:1:0:3]   disk    ZTE      LOGICAL VOLUME   3.22  /dev/sdc   1.92TB
[15:1:0:4]   disk    ZTE      LOGICAL VOLUME   3.22  /dev/sde   1.92TB
[15:1:0:5]   disk    ZTE      LOGICAL VOLUME   3.22  /dev/sdf   1.92TB
[15:1:0:6]   disk    ZTE      LOGICAL VOLUME   3.22  /dev/sdg   1.92TB
[15:1:0:7]   disk    ZTE      LOGICAL VOLUME   3.22  /dev/sdh   1.92TB
[15:1:0:8]   disk    ZTE      LOGICAL VOLUME   3.22  /dev/sdi   1.92TB
[15:1:0:9]   disk    ZTE      LOGICAL VOLUME   3.22  /dev/sdj   1.92TB
[15:1:0:10]  disk    ZTE      LOGICAL VOLUME   3.22  /dev/sdk   1.92TB
[15:1:0:11]  disk    ZTE      LOGICAL VOLUME   3.22  /dev/sdl   1.92TB
[15:2:0:0]   storage ZTE      SDPSx V2.54      3.22  -               -
4、综合以上指令,确认本服务器磁盘RAID逻辑组情况

结合以上两条指令,将信息进行综合汇总,可以确认本服务器磁盘RAID逻辑组情况如下:

逻辑盘逻辑盘名物理盘逻辑盘大小RAID方式
0/dev/sda12480GBRAID1
13
1/dev/sdb01.92TBRAID1
1
2/dev/sdc21.92TBRAID0
3/dev/sdd31.92TBRAID0
4/dev/sde41.92TBRAID0
5/dev/sdf51.92TBRAID0
6/dev/sdg61.92TBRAID0
7/dev/sdh71.92TBRAID0
8/dev/sdi81.92TBRAID0
9/dev/sdj91.92TBRAID0
10/dev/sdk101.92TBRAID0
11/dev/sdl111.92TBRAID0

本文来自互联网用户投稿,该文观点仅代表作者本人,不代表本站立场。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如若转载,请注明出处:http://www.mzph.cn/news/673809.shtml

如若内容造成侵权/违法违规/事实不符,请联系多彩编程网进行投诉反馈email:809451989@qq.com,一经查实,立即删除!

相关文章

阅读《极客时间 | Kafka核心技术与实战》(一)【Kafka入门】

阅读《极客时间 | Kafka核心技术与实战》 为什么要学习Kafka消息引擎系统ABC一篇文章带你快速搞定Kafka术语我应该选择哪种Kafka&#xff1f;聊聊Kafka的版本号 为什么要学习Kafka 如果你是一名软件开发工程师的话&#xff0c;掌握 Kafka 的第一步就是要根据你掌握的编程语言去…

MPLS VPN功能组件(2)

MP-BGP 采用地址族(Address Family)来区分不同的网络层协议,以便正确处理VPN-IPv4路由 传统的BGP-4(RFC1771)只能管理IPv4的路由信息,无法正确处理地址空间重叠的VPN的路由。 为了正确处理VPN路由,VPN使用RFC2858(Multiprotocol Extensions for BGP-4)中规定的MP-BG…

Vue3.0(四):Composition API的使用

Composition API 认识Composition API 前几篇文章中主要用Options API进行编写代码&#xff0c;但是有一些弊端 Options API弊端 在 Options API中&#xff0c;有data、watch、computed、methods以及生命周期函数各种各样的选项而一个变量&#xff0c;为了实现某个功能&#x…

【数据分析岗】8家知名企业秋招(含实习)面试题汇总

年底了&#xff0c;技术群组织了一场机器学习算法岗技术&面试讨论会&#xff0c;邀请了一些同学分享他们的面试经历&#xff0c;讨论会会定期召开&#xff0c;如果你想加入我们的讨论群或者希望要更详细的资料&#xff0c;文末加入。 喜欢本文记得收藏、关注、点赞 文章目…

力扣精选算法100道—— 连续数组(前缀和专题)

连续数组&#xff08;前缀和专题&#xff09; 目录 &#x1f6a9;了解题意 &#x1f6a9;算法原理 ❗为什么hash设置成<0,-1>键值对 ❗与和为K的子数组比较hash的键值对 &#x1f6a9;代码实现 &#x1f6a9;了解题意 我们看到给定数组里面只有0和1&#xff0c;我们…

植物生长调节剂行业调研:预计2029年将达到1.2亿美元

未来增长的重点势必在以中国为代表的亚太地区。尤其在我国农业现代化、无人化发展需求下&#xff0c;提升种植的效率和品质是必然需求&#xff0c;我国市场规模增速也将高于全球平均水平。植物生长调节剂的应用具有成本低、收效快、效益高、节省劳动力的优点&#xff0c;不仅对…

Elasticsearch:使用 LangChain 文档拆分器进行文档分块

使用 Elasticsearch 嵌套密集向量支持 这个交互式笔记本将&#xff1a; 将模型 “sentence-transformers__all-minilm-l6-v2” 从 Hugging Face 加载到 Elasticsearch ML Node 中使用 LangChain 分割器将段落分块成句子&#xff0c;并使用嵌套密集向量将它们索引到 Elasticse…

fghbbbbbbbbbb

欢迎关注博主 Mindtechnist 或加入【Linux C/C/Python社区】一起探讨和分享Linux C/C/Python/Shell编程、机器人技术、机器学习、机器视觉、嵌入式AI相关领域的知识和技术。 磁盘满的本质分析 专栏&#xff1a;《Linux从小白到大神》 | 系统学习Linux开发、VIM/GCC/GDB/Make工具…

LeetCode 二叉树/n叉树的解题思路

二叉树 二叉树特点是每个节点最多只能有两棵子树&#xff0c;且有左右之分二叉树的数据结构如下&#xff1a; public class TreeNode {//节点的值int val;//左子树TreeNode left;//右子树TreeNode right;TreeNode(int x) { val x; } }树节点的初始化&#xff1a; int val1;T…

Flink Checkpoint过程

Checkpoint 使用了 Chandy-Lamport 算法 流程 1. 正常流式处理&#xff08;尚未Checkpoint&#xff09; 如下图&#xff0c;Topic 有两个分区&#xff0c;并行度也为 2&#xff0c;根据奇偶数 我们假设任务从 Kafka 的某个 Topic 中读取数据&#xff0c;该Topic 有 2 个 Pa…

机器学习与深度学习

什么是机器学习 机器学习是一门跨学科的学科&#xff0c;它致力于研究和开发让计算机能够模拟人类学习行为的技术和方法。机器学习涉及多个学科的知识&#xff0c;如概率论、统计学、逼近论、凸分析、算法复杂度理论等&#xff0c;这些学科为机器学习提供了理论基础和数学工具…

【Linux】gdb调试与make/makefile工具

目录 导读 1. make/Makefile 1.1 引入 1.2 概念 1.3 语法规则 1.4 示例 2. Linux调试器-gdb 2.1 引入 2.2 概念 2.3 使用 导读 我们在上次讲了Linux编辑器gcc\g的使用&#xff0c;今天我们就来进一步的学习如何调试&#xff0c;以及makefile这个强大的工具。 1. mak…

nginx:配置内网转发阿里云oss图片加水印

图片水印文档 https://help.aliyun.com/zh/oss/user-guide/add-watermarks nginx配置如下 location ^~ /oss/ {if ( $request_uri ~* \.(png|jpg|jpeg) ){set $args "x-oss-processstyle/watermark";}proxy_pass http://<bucket>.oss-cn-beijing-internal.al…

人工智能基础部分24-人工智能的数学基础,汇集了人工智能数学知识最全面的概况

、 大家好&#xff0c;我是微学AI&#xff0c;今天给大家介绍一下人工智能基础部分24-人工智能的数学基础&#xff0c;汇集了人工智能数学知识最全面的概况&#xff0c;深度学习是一种利用多层神经网络对数据进行特征学习和表示学习的机器学习方法。要全面了解深度学习的数学基…

FlinkSql通用调优策略

历史文章迁移&#xff0c;稍后整理 使用DataGenerator 提前进行压测&#xff0c;了解数据的处理瓶颈、性能测试和消费能力 开启minibatch&#xff1a;"table.exec.mini-batch.enabled", "true" 开启LocalGlobal 两阶段聚合&#xff1a;"table.exec.m…

netstat: 未找到命令

当您在Linux系统中遇到“netstat: 未找到命令”的提示时&#xff0c;这通常意味着您的系统上没有安装netstat工具。Netstat是一个用于显示网络连接、路由表、接口统计等网络相关信息的命令行工具。 要解决这个问题&#xff0c;您可以按照以下步骤进行操作&#xff1a; 1. 打开…

java springBoot项目实现数据脱敏的策略

在实际的软件开发中&#xff0c;保护用户隐私数据是非常重要的。在Java Spring Boot项目中&#xff0c;通常需要对敏感数据进行脱敏处理&#xff0c;以确保数据安全性。本文将介绍几种常见的数据脱敏策略&#xff0c;并提供相应的实现方式和示例代码。 1、使用Hutool工具类进行…

Leetcode 2641. 二叉树的堂兄弟节点 II

本题为修改给定二叉树中结点的值&#xff0c;修改的规则为&#xff1a;将原来的值替换为该结点所有堂兄弟结点值的和。 其实我们可以延申一下题意&#xff0c;怎样去计算该结点所有堂兄弟结点值的和&#xff1f;其实只需要先计算每一层所有结点的和&#xff0c;再减掉其本身的…

如何做零售企业满意度调查

零售业满意度调研是一项至关重要的市场研究工作&#xff0c;它能够帮助企业深入了解消费者对零售店的整体印象、商品质量、服务质量等方面的评价。这种评价可以帮助企业了解自身的优势和不足&#xff0c;提高企业的市场竞争力。民安智库&#xff08;第三方市场调研公司&#xf…

《学成在线》微服务实战项目实操笔记系列(P1~P62)【上】

《学成在线》项目实操笔记系列【上】&#xff0c;跟视频的每一P对应&#xff0c;全系列12万字&#xff0c;涵盖详细步骤与问题的解决方案。如果你操作到某一步卡壳&#xff0c;参考这篇&#xff0c;相信会带给你极大启发。同时也欢迎大家提问与讨论&#xff0c;我会尽力帮大家解…