diff --git a/aufs/core/dtmem.go b/aufs/core/dtmem.go index 344e8b7..379ec3a 100644 --- a/aufs/core/dtmem.go +++ b/aufs/core/dtmem.go @@ -43,6 +43,16 @@ func Dtmem(w http.ResponseWriter, r *http.Request) { fmt.Fprintf(w, "jsonrpc call faild %v", err) return } + + // 服务的状态 + var scs string + err = client.Call("SysmonitorService.GetSysInfo", args, &scs) + if err != nil { + fmt.Fprintf(w, "jsonrpc call faild %v", err) + return + } + fmt.Printf("scs: %v", scs) + // fmt.Printf("reply: %v", reply) //replyJson, err := json.Marshal(reply) // if err != nil {