首页 > 编程语言 > 详细

CPE命名标准 - Common Platform Enumeration

时间:2017-02-27 21:54:49      阅读:1023      评论:0      收藏:0      [点我收藏+]


参考网站:https://nmap.org/book/output-formats-cpe.html


打开上面的网站,看第一段内容:

Common Platform Enumeration (CPE) is a standardized way to name software applications, operating systems, and hardware platforms.

CPE是(Common Platform Enumeration的缩写)以标准化方式为软件应用程序、操作系统及硬件命名的方法。


CentOS7下就可以看到CPE命名内容

[root@gitlab1 ~]# hostnamectl 
   Static hostname: gitlab1
         Icon name: computer-vm
           Chassis: vm
        Machine ID: 586f03f69fab4530b461eb2a32506344
           Boot ID: 39f587bc7a2d4a42a00b709c09939fda
    Virtualization: vmware
  Operating System: CentOS Linux 7 (Core)
       CPE OS Name: cpe:/o:centos:centos:7
            Kernel: Linux 3.10.0-514.6.1.el7.x86_64
      Architecture: x86-64


内容格式:

cpe:/<part>:<vendor>:<product>:<version>:<update>:<edition>:<language>


简单了,把<part>这个搞清楚就行了

a for applications,

h for hardware platforms, or

o for operating systems.


a是应用,h是硬件平台,o是操作系统


前段时间在想运维平台上少了一个将数据中心所有东西(软、硬件、文件、进程)配上URL的方法,CPE正好提供了一种可行的思路。

本文出自 “运维开发技术” 博客,请务必保留此出处http://cw0319.blog.51cto.com/970190/1901740

CPE命名标准 - Common Platform Enumeration

原文:http://cw0319.blog.51cto.com/970190/1901740

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!