|
|
@ -74,6 +74,7 @@ type ServerInfoRep struct { |
|
|
|
MinioMemory string |
|
|
|
MinioMemory string |
|
|
|
MinioPlatform string |
|
|
|
MinioPlatform string |
|
|
|
MinioRuntime string |
|
|
|
MinioRuntime string |
|
|
|
|
|
|
|
MinioEnvVars []string |
|
|
|
UIVersion string `json:"uiVersion"` |
|
|
|
UIVersion string `json:"uiVersion"` |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
@ -98,6 +99,8 @@ func (web *webAPIHandlers) ServerInfo(r *http.Request, args *WebGenericArgs, rep |
|
|
|
runtime.GOOS, |
|
|
|
runtime.GOOS, |
|
|
|
runtime.GOARCH) |
|
|
|
runtime.GOARCH) |
|
|
|
goruntime := fmt.Sprintf("Version: %s | CPUs: %s", runtime.Version(), strconv.Itoa(runtime.NumCPU())) |
|
|
|
goruntime := fmt.Sprintf("Version: %s | CPUs: %s", runtime.Version(), strconv.Itoa(runtime.NumCPU())) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
reply.MinioEnvVars = os.Environ() |
|
|
|
reply.MinioVersion = minioVersion |
|
|
|
reply.MinioVersion = minioVersion |
|
|
|
reply.MinioMemory = mem |
|
|
|
reply.MinioMemory = mem |
|
|
|
reply.MinioPlatform = platform |
|
|
|
reply.MinioPlatform = platform |
|
|
|