sys.os
Retrieves details about the operating system, such as the Linux distro, release version, kernel version, and architecture. This is similar to running sudo uname -a on a host.
JSON-RPC Request
{"jsonrpc":"2.0","id":1,"method":"sys.os"}
JSON-RPC Response
{
"jsonrpc": "2.0",
"id": 1,
"result": {
"hostname": "string",
"kernel": "string",
"architecture": "string",
"os_name": "string",
"os_release": "string"
}
}
RVC CLI Example
rvc sys os
Response
Hostname....: sit0001red0
Kernel......: Linux 3.16.0-6-amd64
Architecture: x86_64
Os Name.....: Debian
Os Release..: 8.11 jessie