@{ ViewBag.Title = "Index"; Layout = "~/Views/Shared/_Index.cshtml"; } @inject Microsoft.AspNetCore.Hosting.IWebHostEnvironment env
状态信息
实时
CPU使用率

当前记录
实时
ARM使用率

当前记录
报表统计
服务器信息
服务器名称 @Environment.MachineName
总内存
操作系统 @System.Runtime.InteropServices.RuntimeInformation.OSDescription
系统架构 @System.Runtime.InteropServices.RuntimeInformation.OSArchitecture
外网IP
.NET信息
环境变量 @Html.Raw(env.EnvironmentName)
ContentRootPath @Html.Raw(env.ContentRootPath)
WebRootPath @Html.Raw(env.WebRootPath)
.NET版本 @Html.Raw(System.Runtime.InteropServices.RuntimeInformation.FrameworkDescription)
启动时间 @System.Diagnostics.Process.GetCurrentProcess().StartTime.ToString("yyyy-MM-dd HH:mm:ss")