Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 22 of 22 for Pid (0.02 sec)

  1. cmd/kubelet/app/server.go

    	if len(m) == 0 {
    		return nil, nil
    	}
    	rl := make(v1.ResourceList)
    	for k, v := range m {
    		switch v1.ResourceName(k) {
    		// CPU, memory, local storage, and PID resources are supported.
    		case v1.ResourceCPU, v1.ResourceMemory, v1.ResourceEphemeralStorage, pidlimit.PIDs:
    			q, err := resource.ParseQuantity(v)
    			if err != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 07 00:05:34 UTC 2024
    - 53.9K bytes
    - Viewed (0)
  2. src/os/os_test.go

    		t.Fatalf("Child process reports parent process id '%v', expected '%v'", childPpid, ourPid)
    	}
    }
    
    func TestKillFindProcess(t *testing.T) {
    	testKillProcess(t, func(p *Process) {
    		p2, err := FindProcess(p.Pid)
    		if err != nil {
    			t.Fatalf("Failed to find test process: %v", err)
    		}
    		err = p2.Kill()
    		if err != nil {
    			t.Fatalf("Failed to kill test process: %v", err)
    		}
    	})
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 83.1K bytes
    - Viewed (0)
Back to top