Tungsten v0.1.0 Tungsten.CDP.SystemInfo View Source
The SystemInfo domain defines methods and events for querying low-level system information.
Link to this section Summary
Link to this section Types
Link to this type
cdp_gpu_device_type() View Source
Describes a single graphics processor (GPU).
Link to this type
cdp_gpu_info_type()
View Source
cdp_gpu_info_type()
View Source
cdp_gpu_info_type() :: %{
:devices => [cdp_gpu_device_type()],
optional(:aux_attributes) => map(),
optional(:feature_status) => map(),
:driver_bug_workarounds => [String.t()]
}
cdp_gpu_info_type() :: %{
:devices => [cdp_gpu_device_type()],
optional(:aux_attributes) => map(),
optional(:feature_status) => map(),
:driver_bug_workarounds => [String.t()]
}
Provides information about the GPU(s) on the system.
Link to this type
cdp_process_info_type() View Source
Represents process info.
Link to this section Functions
Link to this function
get_info(session, parameters \\ %{}, options \\ [])
View Source
get_info(session, parameters \\ %{}, options \\ [])
View Source
get_info(GenServer.server(), map(), Tungsten.Connection.exec_options()) ::
{:ok,
%{
gpu: cdp_gpu_info_type(),
model_name: String.t(),
model_version: String.t(),
command_line: String.t()
}}
| {:error, term()}
get_info(GenServer.server(), map(), Tungsten.Connection.exec_options()) :: {:ok, %{ gpu: cdp_gpu_info_type(), model_name: String.t(), model_version: String.t(), command_line: String.t() }} | {:error, term()}
Returns information about the system.
Link to this function
get_process_info(session, parameters \\ %{}, options \\ [])
View Source
get_process_info(session, parameters \\ %{}, options \\ [])
View Source
get_process_info(GenServer.server(), map(), Tungsten.Connection.exec_options()) ::
{:ok, %{process_info: [cdp_process_info_type()]}} | {:error, term()}
get_process_info(GenServer.server(), map(), Tungsten.Connection.exec_options()) :: {:ok, %{process_info: [cdp_process_info_type()]}} | {:error, term()}
Returns information about all running processes.