Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 86 for Pid (0.04 sec)

  1. buildscripts/rewrite-old-new.sh

    		buildscripts/verify-build.sh \
    		minio/healing-rewrite-bucket/ \
    		--disable-multipart --quiet
    
    	kill ${pid}
    	sleep 3
    
    	"${MINIO[@]}" --address ":$start_port" "${WORK_DIR}/xl{1...16}" >"${WORK_DIR}/server1.log" 2>&1 &
    	pid=$!
    	disown $pid
    
    	"${WORK_DIR}/mc" ready minio/
    
    	if ! ps -p ${pid} 1>&2 >/dev/null; then
    		echo "server1 log:"
    		cat "${WORK_DIR}/server1.log"
    		echo "FAILED"
    		purge "$WORK_DIR"
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon May 27 19:17:46 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  2. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/daemon/DaemonClientFixture.groovy

        final ProcessFixture process
    
        DaemonClientFixture(GradleHandle gradleHandle) {
            this.gradleHandle = gradleHandle
            Long pid
            ConcurrentTestUtil.poll {
                pid = getPidFromOutput(gradleHandle) as Long
            }
            this.process = new ProcessFixture(pid)
        }
    
        DaemonClientFixture kill() {
            process.kill(false)
            gradleHandle.waitForFailure()
            return this
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  3. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/daemon/DaemonRegistryStateProbe.groovy

            this.context = context
            this.registry = registry
        }
    
        void resetToken() {
            def daemonInfo = registry.all.find { it.context.pid == context.pid }
            registry.remove(daemonInfo.address)
            registry.store(new DaemonInfo(daemonInfo.address, daemonInfo.context, "password".bytes, daemonInfo.getState()))
        }
    
        void assertRegistryNotWorldReadable() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  4. src/os/pidfd_linux.go

    	if !pidfdWorks() {
    		return 0, false
    	}
    
    	return uintptr(*sysAttr.PidFD), true
    }
    
    func pidfdFind(pid int) (uintptr, error) {
    	if !pidfdWorks() {
    		return 0, syscall.ENOSYS
    	}
    
    	h, err := unix.PidFDOpen(pid, 0)
    	if err != nil {
    		return 0, convertESRCH(err)
    	}
    	return h, nil
    }
    
    // _P_PIDFD is used as idtype argument to waitid syscall.
    const _P_PIDFD = 3
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 11 18:08:44 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  5. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/daemon/DaemonContextParser.java

            } else {
                return null;
            }
        }
    
        @Nullable
        private static DaemonContext parseFrom87(String source) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 30 09:22:54 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  6. platforms/core-runtime/launcher/src/main/java/org/gradle/launcher/daemon/bootstrap/DaemonStartupCommunication.java

                OutputStream outputStream = new EncodedStream.EncodedOutput(byteArrayOutputStream);
                FlushableEncoder encoder = new OutputStreamBackedEncoder(outputStream);
                encoder.writeNullableString(pid == null ? null : pid.toString());
                encoder.writeString(uid);
                MultiChoiceAddress multiChoiceAddress = (MultiChoiceAddress) address;
                new MultiChoiceAddressSerializer().write(encoder, multiChoiceAddress);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 29 06:47:38 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  7. src/os/exec_unix_test.go

    	}
    }
    
    // Lookup of a process that does not exist at time of lookup.
    func TestProcessAlreadyDone(t *testing.T) {
    	// Theoretically MaxInt32 is a valid PID, but the chance of it actually
    	// being used is extremely unlikely.
    	pid := math.MaxInt32
    	if runtime.GOOS == "solaris" || runtime.GOOS == "illumos" {
    		// Solaris/Illumos have a lower limit, above which wait returns
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 11 18:08:44 UTC 2024
    - 2K bytes
    - Viewed (0)
  8. src/os/exec_posix.go

    		var ok bool
    		h, ok = getPidfd(sysattr.Sys)
    		if !ok {
    			return newPIDProcess(pid), nil
    		}
    	}
    
    	return newHandleProcess(pid, h), nil
    }
    
    func (p *Process) kill() error {
    	return p.Signal(Kill)
    }
    
    // ProcessState stores information about a process, as reported by Wait.
    type ProcessState struct {
    	pid    int                // The process's id.
    	status syscall.WaitStatus // System-dependent status info.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 10 22:06:47 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  9. testing/internal-performance-testing/src/main/groovy/org/gradle/performance/fixture/PidInstrumentation.groovy

        }
    
        private static File createPidFile() {
            def pidFile = File.createTempFile("build-under-test", ".pid")
            pidFile.deleteOnExit()
            pidFile
        }
    
        private static File createPidFileInitScript(File pidFile) {
            def pidFileInitScript = File.createTempFile("pid-instrumentation", ".gradle")
            pidFileInitScript.deleteOnExit()
            pidFileInitScript.text = """
                def e
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  10. cni/pkg/repair/netns.go

    	"strconv"
    
    	netns "github.com/containernetworking/plugins/pkg/ns"
    	"github.com/prometheus/procfs"
    	corev1 "k8s.io/api/core/v1"
    
    	"istio.io/istio/pkg/log"
    )
    
    func getPidNamespace(pid int) string {
    	return "/host/proc/" + strconv.Itoa(pid) + "/ns/net"
    }
    
    func runInHost[T any](f func() (T, error)) (T, error) {
    	var res T
    	ns := getPidNamespace(1)
    	err := netns.WithNetNSPath(ns, func(_ netns.NetNS) error {
    		var err error
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri May 31 04:07:10 UTC 2024
    - 4.3K bytes
    - Viewed (0)
Back to top