Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 for Pid (0.03 sec)

  1. src/internal/trace/order.go

    	pid := ProcID(ev.args[0])
    	status := go122.ProcStatus(ev.args[1])
    	if int(status) >= len(go122ProcStatus2ProcState) {
    		return curCtx, false, fmt.Errorf("invalid status for proc %d: %d", pid, status)
    	}
    	oldState := go122ProcStatus2ProcState[status]
    	if s, ok := o.pStates[pid]; ok {
    		if status == go122.ProcSyscallAbandoned && s.status == go122.ProcSyscall {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 03 14:56:25 UTC 2024
    - 52.4K bytes
    - Viewed (0)
  2. src/cmd/vendor/golang.org/x/sys/unix/zsyscall_zos_s390x.go

    func Getpid() (pid int) {
    	r0, _, _ := CallLeFuncWithErr(GetZosLibVec() + SYS_GETPID<<4)
    	pid = int(r0)
    	return
    }
    
    // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
    
    func Getpgid(pid int) (pgid int, err error) {
    	r0, e2, e1 := CallLeFuncWithErr(GetZosLibVec()+SYS_GETPGID<<4, uintptr(pid))
    	pgid = int(r0)
    	if int64(r0) == -1 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 16:12:58 UTC 2024
    - 88.2K bytes
    - Viewed (0)
  3. src/cmd/vendor/golang.org/x/sys/unix/syscall_zos_s390x.go

    }
    
    //sys   Gethostname(buf []byte) (err error) = SYS___GETHOSTNAME_A
    //sysnb	Getgid() (gid int)
    //sysnb	Getpid() (pid int)
    //sysnb	Getpgid(pid int) (pgid int, err error) = SYS_GETPGID
    
    func Getpgrp() (pid int) {
    	pid, _ = Getpgid(0)
    	return
    }
    
    //sysnb	Getppid() (pid int)
    //sys	Getpriority(which int, who int) (prio int, err error)
    //sysnb	Getrlimit(resource int, rlim *Rlimit) (err error) = SYS_GETRLIMIT
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 16:12:58 UTC 2024
    - 84.4K bytes
    - Viewed (0)
  4. hack/local-up-cluster.sh

      [[ -n "${APISERVER_PIDS-}" ]] && sudo kill "${APISERVER_PIDS[@]}" 2>/dev/null
    
      # Check if the controller-manager is still running
      [[ -n "${CTLRMGR_PID-}" ]] && kube::util::read-array CTLRMGR_PIDS < <(pgrep -P "${CTLRMGR_PID}" ; ps -o pid= -p "${CTLRMGR_PID}")
      [[ -n "${CTLRMGR_PIDS-}" ]] && sudo kill "${CTLRMGR_PIDS[@]}" 2>/dev/null
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 25 02:33:52 UTC 2024
    - 53.3K bytes
    - Viewed (0)
  5. cluster/gce/windows/k8s-node-setup.psm1

        Regex       ^\<(?<pri>[0-9]+)\>(?<time>[^ ]* {1,2}[^ ]* [^ ]*) (?<host>[^ ]*) (?<ident>[a-zA-Z0-9_\/\.\-]*)(?:\[(?<pid>[0-9]+)\])?(?:[^\:]*\:)? *(?<message>.*)$
        Time_Key    time
        Time_Format %b %d %H:%M:%S
    
    [PARSER]
        Name        glog
        Format      regex
        Regex       ^(?<severity>\w)(?<time>\d{4} [^\s]*)\s+(?<pid>\d+)\s+(?<source_file>[^ \]]+)\:(?<source_line>\d+)\]\s(?<message>.*)$
        Time_Key    time
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 07 21:13:22 UTC 2024
    - 88.3K bytes
    - Viewed (0)
  6. src/cmd/vendor/golang.org/x/sys/windows/syscall_windows.go

    //sys	RegNotifyChangeKeyValue(key Handle, watchSubtree bool, notifyFilter uint32, event Handle, asynchronous bool) (regerrno error) = advapi32.RegNotifyChangeKeyValue
    //sys	GetCurrentProcessId() (pid uint32) = kernel32.GetCurrentProcessId
    //sys	ProcessIdToSessionId(pid uint32, sessionid *uint32) (err error) = kernel32.ProcessIdToSessionId
    //sys	ClosePseudoConsole(console Handle) = kernel32.ClosePseudoConsole
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 05 22:18:42 UTC 2024
    - 82.8K bytes
    - Viewed (0)
  7. src/cmd/dist/build.go

    	xprintf("Installed commands in %s\n", gorootBin)
    
    	if gohostos == "plan9" {
    		// Check that GOROOT/bin is bound before /bin.
    		pid := strings.Replace(readfile("#c/pid"), " ", "", -1)
    		ns := fmt.Sprintf("/proc/%s/ns", pid)
    		if !strings.Contains(readfile(ns), fmt.Sprintf("bind -b %s /bin", gorootBin)) {
    			xprintf("*** You need to bind %s before /bin.\n", gorootBin)
    		}
    	} else {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 18:34:40 UTC 2024
    - 54K bytes
    - Viewed (0)
  8. pkg/kubelet/nodestatus/setters_test.go

    			Message:            "kubelet has insufficient PID available",
    			LastTransitionTime: metav1.NewTime(transition),
    			LastHeartbeatTime:  metav1.NewTime(heartbeat),
    		}
    	}
    	return &v1.NodeCondition{
    		Type:               v1.NodePIDPressure,
    		Status:             v1.ConditionFalse,
    		Reason:             "KubeletHasSufficientPID",
    		Message:            "kubelet has sufficient PID available",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 25 21:47:24 UTC 2024
    - 76.1K bytes
    - Viewed (0)
  9. 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)
  10. 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