Servidor remoto

Servidor remoto

  • #openSsh (ip, usu√°rio, [senha])
  • #openTelnet (ip, usu√°rio, senha)
  • __construct (conex√£o $ conn)
  • getUptime ()
  • getSoftware ()
  • getActiveUsers ()
  • isFileExists ()
  • getFileContents ()
  • getCpuLoad ()
  • getFreeMemory ()
  • getAvailableStorage ()
  • getLoad ()
  • isProcessRunning ()
  • countOpenPorts ()
  • countOpenConnections ()
  • countProcesses ()
  • hasRootAccess ()
  • reiniciar ()
  • desligar()
  • executeCommand (comando, bool delayExecution): Command

Comando

  • getInput (): WriteableStream
  • getOutput (): ReadableStream
  • getErrors (): ReadableStream
  • est√° terminado()
  • interromper (sinal)
  • tempo de execu√ß√£o
  • resultCode

WriteableStream

  • writeLine (linha)
  • escrever (string)

ReadableStream

  • Leia a linha()
  • countLines ()
  • eu envio()