systemdServiceProcesses
Gets all processes belonging to a systemd service.
Parameters
name | The service name (with or without .service suffix). |
Returns
Array of Process objects for the service's processes.
Throws
MonacoException if the service doesn't exist or query fails.
Example:
version (linux) {
auto procs = systemdServiceProcesses("nginx");
writeln("Found ", procs.length, " nginx processes");
}