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 cgroup.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ const (
const (
// 0x63677270 (ascii for 'cgrp') is the magic number for identifying a cgroup v2
// filesystem.
// Ref: https://docs.kernel.org/admin-guide/cgroup-v2.html#mounting
// Ref: https://docs.kernel.org/6.17/admin-guide/cgroup-v2.html#mounting
cgroupV2MagicNumber = 0x63677270
)

Expand Down
4 changes: 2 additions & 2 deletions cgroupv2.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import (
)

// Paths for CgroupV2.
// Ref: https://docs.kernel.org/admin-guide/cgroup-v2.html
// Ref: https://docs.kernel.org/6.17/admin-guide/cgroup-v2.html
const (
// Contains quota and period in microseconds separated by a space.
cgroupV2CPUMax = "cpu.max"
Expand Down Expand Up @@ -154,7 +154,7 @@ func (s cgroupV2Statter) memory(p Prefix) (*Result, error) {
memoryUsagePath := filepath.Join(s.path, cgroupV2MemoryUsageBytes)
memoryStatPath := filepath.Join(s.path, cgroupV2MemoryStat)

// https://docs.kernel.org/admin-guide/cgroup-v2.html#memory-interface-files
// https://docs.kernel.org/6.17/admin-guide/cgroup-v2.html#memory-interface-files
r := &Result{
Unit: "B",
Prefix: p,
Expand Down
Loading