Mit Sammlungen den Überblick behalten
Sie können Inhalte basierend auf Ihren Einstellungen speichern und kategorisieren.
RemoteSshUtil
public
class
RemoteSshUtil
extends Object
java.lang.Object
|
😎 |
com.android.tradefed.device.cloud.RemoteSshUtil
|
Dienstprogramm zum Ausführen von SSH-Befehlen auf Remote-Instanzen.
Zusammenfassung
Öffentliche Methoden |
static
CommandResult
|
remoteSshCommandExec(GceAvdInfo remoteInstance, TestDeviceOptions options, IRunUtil runUtil, long timeoutMs, OutputStream stdout, OutputStream stderr, String... command)
Führen Sie mit SSH einen Befehl auf der Remoteinstanz aus.
|
static
CommandResult
|
remoteSshCommandExec(GceAvdInfo remoteInstance, TestDeviceOptions options, IRunUtil runUtil, long timeoutMs, String... command)
Führen Sie mit SSH einen Befehl auf der Remoteinstanz aus.
|
Öffentliche Konstruktoren
RemoteSshUtil
public RemoteSshUtil ()
Öffentliche Methoden
remoteSshCommandExec
public static CommandResult remoteSshCommandExec (GceAvdInfo remoteInstance,
TestDeviceOptions options,
IRunUtil runUtil,
long timeoutMs,
OutputStream stdout,
OutputStream stderr,
String... command)
Führen Sie mit SSH einen Befehl auf der Remoteinstanz aus.
Parameter |
remoteInstance |
GceAvdInfo : Die GceAvdInfo , die das Gerät beschreiben. |
options |
TestDeviceOptions : Eine TestDeviceOptions , die die Geräteoptionen beschreibt, die für die
GCE-Gerät |
runUtil |
IRunUtil : Ein IRunUtil zum Ausführen von Befehlen. |
timeoutMs |
long : in Millisekunden für den Abschluss des Abrufs |
stdout |
OutputStream : Ein ERROR(/OutputStream) , in dem die Stdout-Datei protokolliert wird. |
stderr |
OutputStream : Ein ERROR(/OutputStream) , in dem der stderr protokolliert wird. |
command |
String : Der auszuführende Befehl. |
remoteSshCommandExec
public static CommandResult remoteSshCommandExec (GceAvdInfo remoteInstance,
TestDeviceOptions options,
IRunUtil runUtil,
long timeoutMs,
String... command)
Führen Sie mit SSH einen Befehl auf der Remoteinstanz aus.
Parameter |
remoteInstance |
GceAvdInfo : Die GceAvdInfo , die das Gerät beschreiben. |
options |
TestDeviceOptions : Eine TestDeviceOptions , die die Geräteoptionen beschreibt, die für die
GCE-Gerät |
runUtil |
IRunUtil : Ein IRunUtil zum Ausführen von Befehlen. |
timeoutMs |
long : in Millisekunden für den Abschluss des Abrufs |
command |
String : Der auszuführende Befehl. |
Alle Inhalte und Codebeispiele auf dieser Seite unterliegen den Lizenzen wie im Abschnitt Inhaltslizenz beschrieben. Java und OpenJDK sind Marken oder eingetragene Marken von Oracle und/oder seinen Tochtergesellschaften.
Zuletzt aktualisiert: 2024-08-29 (UTC).
[[["Leicht verständlich","easyToUnderstand","thumb-up"],["Mein Problem wurde gelöst","solvedMyProblem","thumb-up"],["Sonstiges","otherUp","thumb-up"]],[["Benötigte Informationen nicht gefunden","missingTheInformationINeed","thumb-down"],["Zu umständlich/zu viele Schritte","tooComplicatedTooManySteps","thumb-down"],["Nicht mehr aktuell","outOfDate","thumb-down"],["Problem mit der Übersetzung","translationIssue","thumb-down"],["Problem mit Beispielen/Code","samplesCodeIssue","thumb-down"],["Sonstiges","otherDown","thumb-down"]],["Zuletzt aktualisiert: 2024-08-29 (UTC)."],[],[]]