Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 81 for Pid (0.04 sec)

  1. subprojects/core/src/main/java/org/gradle/cache/internal/DefaultProcessMetaDataProvider.java

            this.environment = environment;
        }
    
        @Override
        public String getProcessIdentifier() {
            Long pid = environment.maybeGetPid();
            return pid == null ? "gradle" : String.valueOf(pid);
        }
    
        @Override
        public String getProcessDisplayName() {
            return "gradle";
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 16 15:49:52 UTC 2024
    - 1.2K bytes
    - Viewed (0)
  2. src/internal/syscall/unix/pidfd_linux.go

    	_, _, errno := syscall.Syscall(pidfdSendSignalTrap, pidfd, uintptr(s), 0)
    	if errno != 0 {
    		return errno
    	}
    	return nil
    }
    
    func PidFDOpen(pid, flags int) (uintptr, error) {
    	pidfd, _, errno := syscall.Syscall(pidfdOpenTrap, uintptr(pid), uintptr(flags), 0)
    	if errno != 0 {
    		return ^uintptr(0), errno
    	}
    	return uintptr(pidfd), nil
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 01:23:00 UTC 2024
    - 591 bytes
    - Viewed (0)
  3. testing/integ-test/src/integTest/groovy/org/gradle/integtests/BuildSourceBuilderIntegrationTest.groovy

                import ${ProcessEnvironment.name}
                import ${Time.name}
                import ${Timer.name}
    
                def pid = gradle.services.get(ProcessEnvironment).maybeGetPid()
                def timer = Time.startTimer()
    
                def listener = new TraceListener(pid: pid, timer: timer)
                def manager = gradle.services.get(BuildOperationListenerManager)
                manager.addListener(listener)
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 5K bytes
    - Viewed (0)
  4. platforms/core-runtime/launcher/src/test/groovy/org/gradle/launcher/daemon/client/DefaultDaemonConnectorTest.groovy

            expect:
            def connection = connector.maybeConnect({it.pid < 12} as ExplainingSpec)
            connection && connection.connection.num < 12
        }
    
        def "maybeConnect() returns null when no daemon matches spec"() {
            given:
            startIdleDaemon()
            startIdleDaemon()
    
            expect:
            connector.maybeConnect({it.pid == 12} as DummyExplainingSpec) == null
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 29 10:50:51 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  5. docs/zh/docs/deployment/server-workers.md

    [19499] [INFO] Listening at: http://0.0.0.0:80 (19499)
    [19499] [INFO] Using worker: uvicorn.workers.UvicornWorker
    [19511] [INFO] Booting worker with pid: 19511
    [19513] [INFO] Booting worker with pid: 19513
    [19514] [INFO] Booting worker with pid: 19514
    [19515] [INFO] Booting worker with pid: 19515
    [19511] [INFO] Started server process [19511]
    [19511] [INFO] Waiting for application startup.
    [19511] [INFO] Application startup complete.
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Apr 18 19:53:19 UTC 2024
    - 8.7K bytes
    - Viewed (0)
  6. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/daemon/AbstractDaemonFixture.groovy

                throw new IllegalStateException("unable to parse DefaultDaemonContext from source: [${daemonLog.file.absolutePath}].")
            }
            if (this.context?.pid == null) {
                println "PID in daemon log ($daemonLog.file.absolutePath) is null."
                println "daemon.log exists: ${daemonLog.file.exists()}"
    
                def logText = daemonLog.text
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 29 15:22:16 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  7. cmd/metrics-v3-system-process.go

    	processIOReadBytesMD              = NewCounterMD(processIOReadBytes, "Total bytes read by the process from the underlying storage system, /proc/[pid]/io read_bytes")
    	processIOWCharBytesMD             = NewCounterMD(processIOWCharBytes, "Total bytes written by the process to the underlying storage system including page cache, /proc/[pid]/io wchar")
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri Apr 26 16:07:23 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  8. pkg/kubelet/kuberuntime/util/util_test.go

    				Ipc:     runtimeapi.NamespaceMode_POD,
    				Network: runtimeapi.NamespaceMode_POD,
    				Pid:     runtimeapi.NamespaceMode_CONTAINER,
    			},
    		},
    		"v1.Pod default namespaces": {
    			input: &v1.Pod{},
    			expected: &runtimeapi.NamespaceOption{
    				Ipc:     runtimeapi.NamespaceMode_POD,
    				Network: runtimeapi.NamespaceMode_POD,
    				Pid:     runtimeapi.NamespaceMode_CONTAINER,
    			},
    		},
    		"Host Namespaces": {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 13 23:14:48 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  9. src/syscall/exec_unix.go

    		// the zombies don't accumulate.
    		_, err1 := Wait4(pid, &wstatus, 0, nil)
    		for err1 == EINTR {
    			_, err1 = Wait4(pid, &wstatus, 0, nil)
    		}
    		return 0, err
    	}
    
    	// Read got EOF, so pipe closed on exec, so exec succeeded.
    	return pid, nil
    }
    
    // Combination of fork and exec, careful to be thread safe.
    func ForkExec(argv0 string, argv []string, attr *ProcAttr) (pid int, err error) {
    	return forkExec(argv0, argv, attr)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 26 21:03:59 UTC 2024
    - 8.7K bytes
    - Viewed (0)
  10. subprojects/core/src/test/groovy/org/gradle/cache/internal/DefaultProcessMetaDataProviderTest.groovy

        def "uses process PID as process identifier"() {
            given:
            processEnvironment.maybeGetPid() >> 1234
    
            expect:
            provider.processIdentifier == '1234'
        }
    
        def "uses 'gradle' when PID is not available"() {
            given:
            processEnvironment.maybeGetPid() >> null
    
            expect:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 16 15:49:52 UTC 2024
    - 1.3K bytes
    - Viewed (0)
Back to top