服务监控新增运行参数信息显示

pull/294/MERGE
RuoYi 2022-02-20 14:37:33 +08:00
parent b04eac0566
commit 8c6546f5d8
2 changed files with 12 additions and 0 deletions

View File

@ -174,6 +174,10 @@
<td colspan="1">项目路径</td>
<td colspan="3" th:text="${server.sys.userDir}"></td>
</tr>
<tr>
<td colspan="1">运行参数</td>
<td colspan="3" th:text="${server.jvm.inputArgs}"></td>
</tr>
</tbody>
</table>
</div>

View File

@ -119,4 +119,12 @@ public class Jvm
{
return DateUtils.getDatePoor(DateUtils.getNowDate(), DateUtils.getServerStartDate());
}
/**
*
*/
public String getInputArgs()
{
return ManagementFactory.getRuntimeMXBean().getInputArguments().toString();
}
}