parseDeviceServers function

List<String> parseDeviceServers(
  1. String ps
)

Main classes of app_process servers in a ps -o ARGS listing.

Implementation

List<String> parseDeviceServers(String ps) => [
      for (final m in RegExp(r'app_process\S*\s+\S+\s+([\w.]+)').allMatches(ps))
        if (m.group(1)!.contains('.')) m.group(1)!,
    ];