RemoteServicesAgentInformation["agent"]
returns information about agent.
RemoteServicesAgentInformation[]
returns information about agents on the local network.
RemoteServicesAgentInformation
RemoteServicesAgentInformation["agent"]
returns information about agent.
RemoteServicesAgentInformation[]
returns information about agents on the local network.
Examples
open all close allBasic Examples (1)
Needs["LightweightGridClient`"]Get information about the computer named "octet":
RemoteServicesAgentInformation["octet"]Get information about the computers discovered on the local network:
agents = RemoteServicesAgentInformation[]Scope (1)
Confirm the computer's operating system and amount of physical memory installed:
Select[First[RemoteServicesAgentInformation["octet"]], MatchQ[#, ("OperatingSystem" | "PhysicalMemory") -> _]&]Find out whether the computer is idle and will allow new kernels to be opened:
Select[First[RemoteServicesAgentInformation["octet"]], MatchQ[#, ("LaunchEnabled" | "DefaultServiceEnabled" | "KernelsRunning") -> _]&]Get information for all local computers:
agents = RemoteServicesAgentInformation[]Select only those computers with no kernels running:
readyagents = Cases[agents, RemoteServicesAgent[{___, "KernelsRunning" -> {}, ___}]]Open kernels on the selected computers:
RemoteKernelOpen[readyagents]