A compact list of commonly used action methods. See examples/ and remote_machine modules for usage.
conn.fs.list(path)
conn.fs.read(path)
conn.fs.write(path, content)
conn.fs.stat(path)
conn.fs.cd(path)
conn.fs.upload(local, remote)
conn.fs.download(remote, local)
conn.fs.rm(path)conn.ps.list()
conn.ps.find(name)
conn.ps.get_info(pid)
conn.ps.kill(pid)
conn.ps.memory_usage()conn.net.interfaces()
conn.net.interface_info(name)
conn.net.ip_list()
conn.net.ping(host)
conn.net.dns_lookup(hostname)conn.sys.info()
conn.sys.uptime()
conn.sys.cpu_info()
conn.sys.memory_info()
conn.sys.load_average()conn.service.list()
conn.service.status(name)
conn.service.start(name)
conn.service.stop(name)
conn.service.logs(name)conn.device.list_block()
conn.device.mounted()
conn.device.smartctl(device)
conn.device.temperature(device)
conn.device.mount(device, path)conn.env.set(key, value)
conn.env.get(key)
conn.env.list()
conn.env.update(dict)For full method reference, inspect the remote_machine.actions modules.