# Cis Ocp Vm V100 6 2

> Enable vCPU metrics (Manual)

- Skill: `cyberstrikeus/cis-ocp-vm-v100-6-2` (Agent Skill)
- Install (CLI): `npx skillmds@latest add cyberstrikeus/cis-ocp-vm-v100-6-2`
- Raw SKILL.md: https://api.skillmd.com/api/skills/cyberstrikeus/cis-ocp-vm-v100-6-2/raw
- Safety review: PASS (external: skill-scanner PASS, skillspector PASS)
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: DevOps & Infra
- Author: cyberstrikeus (https://skillmd.com/u/cyberstrikeus)
- Updated: 2026-09-17
- Page: https://skillmd.com/skills/cyberstrikeus/cis-ocp-vm-v100-6-2

---


# CIS 6.2 — Enable vCPU metrics

## Profile Applicability

- Level 1

## Description

Openshift Virtualization provides metrics that you can use to monitor the consumption of cluster infrastructure resources, including vCPU. In order to use the vCPU metric, the `schedstats=enable` kernel argument must be applied.

## Rationale

Metrics are a fundamental mechanism for understanding if the guest is behaving in an anomolous suspicious manner.

## Impact

The kernel option is a prerequisite for using the prometheus metrics for the vCPU usage, without the metrics being reported.

## Audit Procedure

Verify if the option is enabled in the kernel command line:

```
$ cat /proc/cmdline | grep schedstats=enable
```

## Remediation

Enable the kernel option on all workernodes as documented in Chapter 1. Customizing nodes | Red Hat Product Documentation

## Default Value

OpenShift enables `schedstats` by default.The command should returns a string containing `schedstats=enable`.

## References

None listed in the PDF.

## CIS Controls

| Controls Version | Control                     | IG 1 | IG 2 | IG 3 |
| ---------------- | --------------------------- | ---- | ---- | ---- |
| v8               | 8.2 Collect Audit Logs      | Y    | Y    | Y    |
| v7               | 6.3 Enable Detailed Logging | N    | Y    | Y    |

## MITRE ATT&CK Mappings

| Tactic          | Technique                                       |
| --------------- | ----------------------------------------------- |
| Discovery       | T1082 - System Information Discovery            |
| Defense Evasion | T1562.006 - Impair Defenses: Indicator Blocking |

## Profile

- Level 1 - OpenShift Virtualization

