Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
F
finance-manage
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
finance-oa
finance-manage
Commits
54c6c4e5
Commit
54c6c4e5
authored
Feb 20, 2022
by
RuoYi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
服务监控新增运行参数信息显示
parent
986b48cf
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
0 deletions
+12
-0
ruoyi-framework/src/main/java/com/ruoyi/framework/web/domain/server/Jvm.java
.../main/java/com/ruoyi/framework/web/domain/server/Jvm.java
+8
-0
ruoyi-ui/src/views/monitor/server/index.vue
ruoyi-ui/src/views/monitor/server/index.vue
+4
-0
No files found.
ruoyi-framework/src/main/java/com/ruoyi/framework/web/domain/server/Jvm.java
View file @
54c6c4e5
...
@@ -119,4 +119,12 @@ public class Jvm
...
@@ -119,4 +119,12 @@ public class Jvm
{
{
return
DateUtils
.
getDatePoor
(
DateUtils
.
getNowDate
(),
DateUtils
.
getServerStartDate
());
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 @@
...
@@ -128,6 +128,10 @@
<td
colspan=
"1"
class=
"el-table__cell is-leaf"
><div
class=
"cell"
>
项目路径
</div></td>
<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>
<td
colspan=
"3"
class=
"el-table__cell is-leaf"
><div
class=
"cell"
v-if=
"server.sys"
>
{{
server
.
sys
.
userDir
}}
</div></td>
</tr>
</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>
</tbody>
</table>
</table>
</div>
</div>
...
...
Write
Preview
Markdown
is supported
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