2014-09-23 71 views

回答

12

你可以得到使用packageVersion运行闪亮的版本:如果你愿意,你可以做一个系统调用服务器上的细节

> packageVersion("shiny") 
[1] ‘0.10.1’ 

> system('shiny-server --version', intern = TRUE) 
[1] "Shiny Server v1.1.0.10000" "Node.js v0.10.21" 

,或者如果你正在运行闪亮的服务器亲有一个健康检查的终点,所以打电话

http://my-shiny-ip-address/__health-check__ 

wou

server-version: 1.2.3.4 
active-connections: 8 
active-apps: 2 
active-processes: 3 
cpu-percent: 13 
memory-percent: 49 
swap-percent: 39.1 
load-average: 1.01953125 

看到http://rstudio.github.io/shiny-server/latest/#monitoring-the-server

:如果服务器联机像LD返回与服务器信息HTTP响应