Uses of Record Class
cloud.opencode.base.core.process.ProcessInfo
Packages that use ProcessInfo
-
Uses of ProcessInfo in cloud.opencode.base.core.process
Methods in cloud.opencode.base.core.process that return ProcessInfoModifier and TypeMethodDescriptionstatic ProcessInfoProcessManager.current()Returns information about the current JVM process.static ProcessInfoProcessInfo.from(ProcessHandle handle) Creates aProcessInfofrom aProcessHandle.static ProcessInfoProcessInfo.fromCurrent()Creates aProcessInfofor the current JVM process.Methods in cloud.opencode.base.core.process that return types with arguments of type ProcessInfoModifier and TypeMethodDescriptionstatic List<ProcessInfo> ProcessManager.children()Returns direct children of the current JVM process.static List<ProcessInfo> ProcessManager.children(long pid) Returns direct children of the process with the given PID.static List<ProcessInfo> ProcessManager.descendants()Returns all descendants of the current JVM process.static List<ProcessInfo> ProcessManager.descendants(long pid) Returns all descendants of the process with the given PID.static Optional<ProcessInfo> ProcessManager.find(long pid) Finds a process by its PID.static List<ProcessInfo> ProcessManager.findByCommand(String command) Finds processes whose full command line contains the given string (case-insensitive).static List<ProcessInfo> ProcessManager.findByName(String name) Finds processes whose command name contains the given string (case-insensitive).static List<ProcessInfo> ProcessManager.listAll()Lists all visible processes on the system.static Optional<ProcessInfo> ProcessManager.parent()Returns information about the parent process of the current JVM.