OS
운영 체제(OS) 엔티티를 정의한 문서예요. 이 리소스가 나타내는 프로세스가 실행 중인 운영 체제를 설명하죠.
출처: 문서
본문
OS
Status:
type: os
Description: The operating system (OS) on which the process represented by this resource is running. (이 리소스가 나타내는 프로세스가 실행 중인 운영 체제(OS)를 의미해요.)
경고
이 엔티티 정의에는 역할(role)이 없는 속성이 포함되어 있어요. 안정적인 엔티티(Stable Entities)는 정의된 역할이 없는 속성을 가져선 안 돼요(MUST NOT).
속성:
| Role | Key | Stability | Requirement Level | Value Type | Description | Example Values
| Other | os.type | | Required | string | 운영 체제 타입이에요. | windows; linux; darwin
| Other | os.build_id | | Recommended | string | 운영 체제의 특정 빌드 또는 컴파일에 대한 고유 식별자예요. [1] | TQ3C.230805.001.B2; 20E247; 22621
| Other | os.description | | Recommended | string | 사람이 읽을 수 있는(파싱을 의도하지 않은) OS 버전 정보예요. 예를 들어 ver이나 lsb_release -a 명령이 보고해 주는 값이에요. | Microsoft Windows [Version 10.0.18363.778]; Ubuntu 18.04.1 LTS
| Other | os.name | | Recommended | string | 사람이 읽을 수 있는 운영 체제 이름이에요. | iOS; Android; Ubuntu
| Other | os.version | | Recommended | string | Version Attributes에 정의된 운영 체제의 버전 문자열이에요. | 14.2.1; 18.04.1
[1] os.build_id: build_id 값은 다음 출처에서 얻어야 해요(SHOULD):
| OS | Primary | Fallback
| Windows | 레지스트리 HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion의 CurrentBuildNumber | -
| macOS | /System/Library/CoreServices/SystemVersion.plist의 ProductBuildVersion | /System/Library/CoreServices/ServerVersion.plist의 ProductBuildVersion
| Linux | /etc/os-release의 BUILD_ID | /usr/lib/os-release의 BUILD_ID;
/proc/sys/kernel/osrelease의 내용
os.type에는 다음과 같은 잘 알려진 값들이 있어요. 이 중 하나에 해당한다면 해당 값을 사용해야 하고(MUST), 그렇지 않으면 사용자 정의 값(custom value)을 써도 돼요(MAY).
| Value | Description | Stability
| aix | AIX (Advanced Interactive eXecutive) |
| darwin | Apple Darwin |
| dragonflybsd | DragonFly BSD |
| freebsd | FreeBSD |
| hpux | HP-UX (Hewlett Packard UNIX) |
| linux | Linux |
| netbsd | NetBSD |
| openbsd | OpenBSD |
| solaris | SunOS, Oracle Solaris |
| windows | Microsoft Windows |
| zos | IBM z/OS |