Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 13 for ProcessID (0.17 sec)

  1. src/syscall/types_windows.go

    }
    
    const _EXTENDED_STARTUPINFO_PRESENT = 0x00080000
    
    type ProcessInformation struct {
    	Process   Handle
    	Thread    Handle
    	ProcessId uint32
    	ThreadId  uint32
    }
    
    type ProcessEntry32 struct {
    	Size            uint32
    	Usage           uint32
    	ProcessID       uint32
    	DefaultHeapID   uintptr
    	ModuleID        uint32
    	Threads         uint32
    	ParentProcessID uint32
    	PriClassBase    int32
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Feb 20 06:04:31 UTC 2024
    - 27.8K bytes
    - Viewed (0)
  2. build-logic/cleanup/src/main/java/gradlebuild/cleanup/services/KillLeakingJavaProcesses.java

        }
    
        private static String[] determinePsCommand() {
            if (isWindows()) {
                return new String[]{"wmic", "process", "get", "processid,commandline"};
            } else if (isMacOS()) {
                return new String[]{"ps", "x", "-o", "pid,command"};
            } else {
                return new String[]{"ps", "x", "-o", "pid,cmd"};
            }
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Apr 26 09:46:00 UTC 2024
    - 11.3K bytes
    - Viewed (0)
  3. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/timeout/JavaProcessStackTracesMonitor.java

                return line.contains("jetbrains.buildServer.agent.AgentMain");
            }
        }
    
        private StdoutAndPatterns ps() {
            String[] command = isWindows() ? new String[]{"wmic", "process", "get", "processid,commandline"} : new String[]{"ps", "x"};
            ExecResult result = run(command);
            output.printf("Run: %s", Arrays.toString(command));
            output.printf("Stdout: %s", result.stdout);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 10.2K bytes
    - Viewed (0)
  4. src/internal/coverage/cfile/emit.go

    // 's', returning an error if something went wrong.
    func (s *emitState) openCounterFile(metaHash [16]byte) error {
    	processID := os.Getpid()
    	fn := fmt.Sprintf(coverage.CounterFileTempl, coverage.CounterFilePref, metaHash, processID, time.Now().UnixNano())
    	s.cfname = filepath.Join(s.outdir, fn)
    	s.cftmp = filepath.Join(s.outdir, "tmp."+fn)
    	var err error
    	s.cf, err = os.Create(s.cftmp)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 09:57:47 UTC 2024
    - 18.9K bytes
    - Viewed (0)
  5. src/internal/syscall/windows/syscall_windows.go

    	TH32CS_SNAPMODULE   = 0x08
    	TH32CS_SNAPMODULE32 = 0x10
    )
    
    const MAX_MODULE_NAME32 = 255
    
    type ModuleEntry32 struct {
    	Size         uint32
    	ModuleID     uint32
    	ProcessID    uint32
    	GlblcntUsage uint32
    	ProccntUsage uint32
    	ModBaseAddr  uintptr
    	ModBaseSize  uint32
    	ModuleHandle syscall.Handle
    	Module       [MAX_MODULE_NAME32 + 1]uint16
    	ExePath      [syscall.MAX_PATH]uint16
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 26 22:55:25 UTC 2024
    - 15.5K bytes
    - Viewed (0)
  6. src/cmd/vendor/golang.org/x/sys/windows/types_windows.go

    	data     *ProcThreadAttributeList
    	pointers []unsafe.Pointer
    }
    
    type ProcessInformation struct {
    	Process   Handle
    	Thread    Handle
    	ProcessId uint32
    	ThreadId  uint32
    }
    
    type ProcessEntry32 struct {
    	Size            uint32
    	Usage           uint32
    	ProcessID       uint32
    	DefaultHeapID   uintptr
    	ModuleID        uint32
    	Threads         uint32
    	ParentProcessID uint32
    	PriClassBase    int32
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 05 22:18:42 UTC 2024
    - 104.1K bytes
    - Viewed (0)
  7. testing/internal-integ-testing/src/test/groovy/org/gradle/integtests/fixtures/timeout/JavaProcessStackTracesMonitorSpec.groovy

            ]
        }
    
        @Requires(UnitTestPreconditions.Windows)
        def 'can extract process info from windows wmic'() {
            given:
            def output = '''
    CommandLine ProcessId
    \\SystemRoot\\System32\\smss.exe            244
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sun May 12 10:33:12 UTC 2024
    - 16.2K bytes
    - Viewed (0)
  8. src/syscall/zsyscall_windows.go

    	if r1&0xff == 0 {
    		err = errnoErr(e1)
    	}
    	return
    }
    
    func CreateToolhelp32Snapshot(flags uint32, processId uint32) (handle Handle, err error) {
    	r0, _, e1 := Syscall(procCreateToolhelp32Snapshot.Addr(), 2, uintptr(flags), uintptr(processId), 0)
    	handle = Handle(r0)
    	if handle == InvalidHandle {
    		err = errnoErr(e1)
    	}
    	return
    }
    
    func DeleteFile(path *uint16) (err error) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 21 11:49:46 UTC 2024
    - 56.3K bytes
    - Viewed (0)
  9. src/cmd/vendor/golang.org/x/sys/windows/syscall_windows.go

    //sys	OpenProcess(desiredAccess uint32, inheritHandle bool, processId uint32) (handle Handle, err error)
    //sys	ShellExecute(hwnd Handle, verb *uint16, file *uint16, args *uint16, cwd *uint16, showCmd int32) (err error) [failretval<=32] = shell32.ShellExecuteW
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 05 22:18:42 UTC 2024
    - 82.8K bytes
    - Viewed (0)
  10. src/syscall/syscall_windows.go

    //sys	ReadConsole(console Handle, buf *uint16, toread uint32, read *uint32, inputControl *byte) (err error) = kernel32.ReadConsoleW
    //sys	CreateToolhelp32Snapshot(flags uint32, processId uint32) (handle Handle, err error) [failretval==InvalidHandle] = kernel32.CreateToolhelp32Snapshot
    //sys	Process32First(snapshot Handle, procEntry *ProcessEntry32) (err error) = kernel32.Process32FirstW
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 21 11:49:46 UTC 2024
    - 52.7K bytes
    - Viewed (0)
Back to top