Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
jinli gu
RuoYi Vue
Commits
54c6c4e5
Commit
54c6c4e5
authored
Feb 20, 2022
by
RuoYi
Browse files
服务监控新增运行参数信息显示
parent
986b48cf
Changes
2
Hide whitespace changes
Inline
Side-by-side
ruoyi-framework/src/main/java/com/ruoyi/framework/web/domain/server/Jvm.java
View file @
54c6c4e5
...
...
@@ -119,4 +119,12 @@ public class Jvm
{
return
DateUtils
.
getDatePoor
(
DateUtils
.
getNowDate
(),
DateUtils
.
getServerStartDate
());
}
/**
* 运行参数
*/
public
String
getInputArgs
()
{
return
ManagementFactory
.
getRuntimeMXBean
().
getInputArguments
().
toString
();
}
}
ruoyi-ui/src/views/monitor/server/index.vue
View file @
54c6c4e5
...
...
@@ -128,6 +128,10 @@
<td
colspan=
"1"
class=
"el-table__cell is-leaf"
><div
class=
"cell"
>
项目路径
</div></td>
<td
colspan=
"3"
class=
"el-table__cell is-leaf"
><div
class=
"cell"
v-if=
"server.sys"
>
{{
server
.
sys
.
userDir
}}
</div></td>
</tr>
<tr>
<td
colspan=
"1"
class=
"el-table__cell is-leaf"
><div
class=
"cell"
>
运行参数
</div></td>
<td
colspan=
"3"
class=
"el-table__cell is-leaf"
><div
class=
"cell"
v-if=
"server.sys"
>
{{
server
.
jvm
.
inputArgs
}}
</div></td>
</tr>
</tbody>
</table>
</div>
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment