RemoteServer
RemoteServer
- #openSsh(ip, user, [password])
- #openTelnet(ip, user, password)
- __construct(Connection $conn)
- getUptime()
- getSoftware()
- getActiveUsers()
- isFileExists()
- getFileContents()
- getCpuLoad()
- getFreeMemory()
- getAvailableStorage()
- getLoad()
- isProcessRunning()
- countOpenPorts()
- countOpenConnections()
- countProcesses()
- hasRootAccess()
- reboot()
- powerOff()
- executeCommand(command, bool delayExecution) : Command
Command
- getInput() : WriteableStream
- getOutput() : ReadableStream
- getErrors() : ReadableStream
- isFinished()
- interrupt(signal)
- executionTime
- resultCode
WriteableStream
- writeLine(line)
- write(string)
ReadableStream
- readLine()
- countLines()
- isEnd()
Written by wapmorgan
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Php
Authors
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#