MCPcopy
hub / github.com/oshi/oshi / getProcessID

Method getProcessID

oshi-core/src/main/java/oshi/software/os/OSProcess.java:170–170  ·  view source on GitHub ↗

Gets the process ID. While this is a 32-bit value, it is unsigned on Windows and in extremely rare circumstances may return a negative value. @return the processID.

()

Source from the content-addressed store, hash-verified

168 * @return the processID.
169 */
170 int getProcessID();
171
172 /**
173 * Gets the process ID of this process's parent.

Callers 15

parseProcessesMethod · 0.95
printProcessesMethod · 0.95
printServicesMethod · 0.65
testProcessStatsMethod · 0.65
ProcessFilteringClass · 0.65
queryArgumentsMethod · 0.65
getOpenFilesMethod · 0.65
getAffinityMaskMethod · 0.65

Implementers 1

AbstractOSProcessoshi-core/src/main/java/oshi/software/

Calls

no outgoing calls

Tested by 5

printProcessesMethod · 0.76
printServicesMethod · 0.52
testProcessStatsMethod · 0.52