Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 12 of 12 for PIDs (0.11 sec)

  1. platforms/core-runtime/launcher/src/main/java/org/gradle/launcher/daemon/registry/DaemonStopEvents.java

                Long pid = event.getPid();
                if (event.occurredInLastHours(RECENTLY) && !uniqueStoppedPids.contains(pid)) {
                    // We can only determine if two DaemonStopEvent point at the same daemon if we know the PIDs
                    if (pid != null) {
                        uniqueStoppedPids.add(pid);
                    }
                    recentStopEvents.add(event);
                }
            }
            return recentStopEvents;
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:29:13 UTC 2023
    - 2.8K bytes
    - Viewed (0)
  2. pkg/kubelet/cm/util/cgroups_linux.go

    	libcontainerutils "github.com/opencontainers/runc/libcontainer/utils"
    )
    
    const (
    	// CgroupRoot is the base path where cgroups are mounted
    	CgroupRoot = "/sys/fs/cgroup"
    )
    
    // GetPids gets pids of the desired cgroup
    // Forked from opencontainers/runc/libcontainer/cgroup/fs.Manager.GetPids()
    func GetPids(cgroupPath string) ([]int, error) {
    	dir := ""
    
    	if libcontainercgroups.IsCgroup2UnifiedMode() {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 12 07:50:19 UTC 2020
    - 2.9K bytes
    - Viewed (0)
Back to top