Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion content/en/docs/installation/installation-windows.md
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ However, for testing your usage scenarios you can use at least the following met
- Documentation: [Measuring/Metric Providers/CPU % - procfs - system]({{< relref "/docs/measuring/metric-providers/cpu-utilization-procfs-system" >}})
- Container CPU utilization via cgroupv2
- Config: `cpu.utilization.cgroup.container.provider.CpuUtilizationCgroupContainerProvider`
- Documentation: [Measuring/Metric Providers/CPU % - cgroup - container]({{< relref "/docs/measuring/metric-providers/cpu-utilization-cgroup-container-provider" >}})
- Documentation: [Measuring/Metric Providers/CPU % - cgroup - container]({{< relref "/docs/measuring/metric-providers/cpu-utilization-cgroup-container" >}})
- Container memory usage via cgroupv2
- Config: `memory.used.cgroup.container.provider.MemoryUsedCgroupContainerProvider`
- Documentation: [Measuring/Metric Providers/Memory Used - cgroup - container]({{< relref "/docs/measuring/metric-providers/memory-used-cgroup-container" >}})
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ This metric provider reads time spent in the CPU based on the cgroups stats file
### Input Parameters

- args
- `-s`: container-ids seperated by commas
- `-s`: container-ids separated by commas
- `-i`: interval in milliseconds

By default the measurement interval is 100 ms.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ This metric provider calculates an estimate of the % total CPU usage based on th
### Input Parameters

- args
- `-s`: container-ids seperated by commas
- `-s`: container-ids separated by commas
- `-i`: interval in milliseconds

By default the measurement interval is 100 ms.
Expand Down

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
---
title: "CPU % - cgroup - system"
description: "Documentation for CpuUtilizationCgroupSystemProvider of the Green Metrics Tool"
date: 2025-01-15T08:49:15+00:00
draft: false
images: []
weight: 141
---

### What it does

This metric provider calculates an estimate of the % total CPU usage based on the cgroups stats file of your system cgroup processes. More information about cgroups can be found in the [Linux manual pages](https://www.man7.org/linux/man-pages/man7/cgroups.7.html).

It can be used for system monitoring and tracking background processes such as the desktop environment. It is also used to calculate GMT's overhead.

### Classname

- `CpuUtilizationCgroupSystemProvider`

### Metric Name

- `cpu_utilization_cgroup_system`

### Input Parameters

- args
- `-s`: cgroup name strings separated by commas
- `-i`: interval in milliseconds

By default the measurement interval is 100 ms.

```bash
./metric-provider-binary -i 100 -s [email protected],session-2.scope
```

### Output

This metric provider prints to Stdout a continuous stream of data. The format of the data is as follows:

`TIMESTAMP READING CGROUP-NAME`

Where:

- `TIMESTAMP`: Unix timestamp, in microseconds
- `READING`: The estimated % CPU used
- `CGROUP-NAME`: The cgroup name that this reading is for

Any errors are printed to Stderr.

### How it works

This metric provider uses the exact same code as the metric provider ["CPU % - cgroup - container" →]({{< relref "cpu-utilization-cgroup-container#how-it-works" >}}).
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
---
title: "Disk IO - cgroup - system"
description: "Documentation for DiskIoCgroupSystemProvider of the Green Metrics Tool"
date: 2025-01-15T08:49:15+00:00
weight: 206
---

### What it does

This metric provider reads the total amount of read and written bytes from disk devices by the cgroups of your system cgroup processes. More information about cgroups can be found in the [cgroups man page](https://www.man7.org/linux/man-pages/man7/cgroups.7.html).

It can be used for system monitoring and tracking background processes such as the desktop environment. It is also used to calculate GMT's overhead.

### Classname

- `DiskIoCgroupSystemProvider`

### Metric Name

- `disk_io_cgroup_system`

### Input Parameters

- args
- `-s`: cgroup name strings separated by commas
- `-i`: interval in milliseconds

By default the measurement interval is 100 ms.

```bash
./metric-provider-binary -i 100 -s [email protected],session-2.scope
```

### Output

This metric provider prints to Stdout a continuous stream of data. The format of the data is as follows:

`TIMESTAMP RBYTES WBYTES CGROUP-NAME`

Where:

- `TIMESTAMP`: Unix timestamp, in microseconds
- `RBYTES`: The cumulative amount of bytes read from disk since cgroup start
- `WBYTES`: The cumulative amount of bytes written to disk since cgroup start
- `CGROUP-NAME`: The cgroup name that this reading is for

Any errors are printed to Stderr.

### How it works

This metric provider uses the exact same code as the metric provider ["Disk IO - cgroup - container" →]({{< relref "disk-io-cgroup-container#how-it-works" >}}).
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
title: "Disk IO - procfs - system"
description: "Documentation for DiskIoProcfsSystemProvider of the Green Metrics Tool"
date: 2025-07-07T16:10:00+00:00
weight: 206
weight: 207
---

### What it does
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
title: "Disk Used - statvfs - system"
description: "Documentation for DiskUsedStatvfsSystemProvider of the Green Metrics Tool"
date: 2025-07-07T16:15:00+00:00
weight: 207
weight: 208
---

### What it does
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ It reads the amount of memory, in bytes, used by the cgroup of a container. More
### Input Parameters

- args
- `-s`: container-ids seperated by commas
- `-s`: container-ids separated by commas
- `-i`: interval in milliseconds

By default the measurement interval is 100 ms.
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
---
title: "Memory Used - cgroup - system"
description: "Documentation for MemoryUsedCgroupSystemProvider of the Green Metrics Tool"
date: 2025-01-15T08:49:15+00:00
draft: false
images: []
weight: 181
---

### What it does

This metric provider reads the amount of memory, in bytes, used by the cgroup of your system cgroup processes. More information about cgroups can be found in the [Linux manual pages](https://www.man7.org/linux/man-pages/man7/cgroups.7.html).

It can be used for system monitoring and tracking background processes such as the desktop environment. It is also used to calculate GMT's overhead.

### Classname

- `MemoryUsedCgroupSystemProvider`

### Metric Name

- `memory_used_cgroup_system`

### Input Parameters

- args
- `-s`: cgroup name strings separated by commas
- `-i`: interval in milliseconds

By default the measurement interval is 100 ms.

```bash
./metric-provider-binary -i 100 -s [email protected],session-2.scope
```

### Output

This metric provider prints to Stdout a continuous stream of data. The format of the data is as follows:

`TIMESTAMP READING CGROUP-NAME`

Where:

- `TIMESTAMP`: Unix timestamp, in microseconds
- `READING`: The amount of memory, in bytes, used during the time interval
- `CGROUP-NAME`: The cgroup name that this reading is for

Any errors are printed to Stderr.

### How it works

This metric provider uses the exact same code as the metric provider ["Memory Used - cgroup - container" →]({{< relref "memory-used-cgroup-container#how-it-works" >}}).
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ It reads the total amount of sent and received bytes from the network interface
### Input Parameters

- args
- `-s`: container-ids seperated by commas
- `-s`: container-ids separated by commas
- `-i`: interval in milliseconds

By default the measurement interval is 100 ms.
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
---
title: "Network IO - cgroup - system"
description: "Documentation for NetworkIoCgroupSystemProvider of the Green Metrics Tool"
date: 2025-01-15T08:49:15+00:00
weight: 201
---

### What it does

This metric provider reads the total amount of sent and received bytes from the network interface based on the cgroups stats of your system cgroup processes. More information about cgroups can be found in the [Linux manual pages](https://www.man7.org/linux/man-pages/man7/cgroups.7.html).

It can be used for system monitoring and tracking background processes such as the desktop environment. It is also used to calculate GMT's overhead.

### Classname

- `NetworkIoCgroupSystemProvider`

### Metric Name

- `network_io_cgroup_system`

### Input Parameters

- args
- `-s`: cgroup name strings separated by commas
- `-i`: interval in milliseconds

By default the measurement interval is 100 ms.

```bash
./metric-provider-binary -i 100 -s [email protected],session-2.scope
```

### Output

This metric provider prints to Stdout a continuous stream of data. The format of the data is as follows:

`TIMESTAMP READING CGROUP-NAME`

Where:

- `TIMESTAMP`: Unix timestamp, in microseconds
- `READING`: The amount of network bytes (sent and received), in bytes, during the time interval
- `CGROUP-NAME`: The cgroup name that this reading is for

Any errors are printed to Stderr.

### How it works

This metric provider uses the exact same code as the metric provider ["Network IO - cgroup - container" →]({{< relref "network-io-cgroup-container#how-it-works" >}}).
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
title: "Network IO - procfs - system"
description: "Documentation for NetworkIoProcfsSystemProvider of the Green Metrics Tool"
date: 2025-07-22T17:50:00+00:00
weight: 201
weight: 202
---

### What it does
Expand Down