From cdd4a990e21dc39c21e91fd25a70336bb8f1d24f Mon Sep 17 00:00:00 2001 From: xc Date: Wed, 3 Sep 2025 16:31:15 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B5=8B=E8=AF=95=E8=8E=B7=E5=8F=96=E6=9C=8D?= =?UTF-8?q?=E5=8A=A1=E5=99=A8=E4=BF=A1=E6=81=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- aufs/core/dtmem.go | 10 ++++++++++ 1 file changed, 10 insertions(+) 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 {