@RestController @RequestMapping(value="/manage/") public class InternalController extends BaseAgentController
projectInfoService
Constructor and Description |
---|
InternalController() |
Modifier and Type | Method and Description |
---|---|
String |
getInternal(String tag)
获取内存信息
|
String |
getThreadInfos(String tag)
查询监控线程列表
|
String |
ram(String tag)
导出内存信息
|
String |
stack(String tag)
导出堆栈信息
|
getNowUserName, getProjectInfoModel, getUserName, tryGetProjectInfoModel
checkPathSafe, pathSafe
clearResources, createMultipart, getCookieValue, getHeader, getHeaders, getIp, getMultiRequest, getObject, getParameter, getParameter, getParameterInt, getParameterInt, getParameterLong, getParameterLong, getParameters, getParametersMap, getRefererParameter, getUnescapeParameter, getUnescapeParameter, getUnescapeParameters, getXssParameter, getXssParameter, getXssParameters, hasFile, resetInfo
getApplication, getAttribute, getClientIP, getHeaderMapValues, getRequest, getRequestAttributes, getResponse, getSession, getSessionAttribute, getSessionAttributeObj, removeSessionAttribute, setAttribute, setSessionAttribute, tryGetRequestAttributes
@RequestMapping(value="internal_data", method=POST, produces="application/json;charset=UTF-8") public String getInternal(String tag) throws Exception
tag
- 程序运行标识Exception
- 异常@RequestMapping(value="threadInfos", method=POST, produces="application/json;charset=UTF-8") public String getThreadInfos(String tag) throws Exception
tag
- 程序运行标识Exception
- 异常@RequestMapping(value="internal_stack", method=GET) @ResponseBody public String stack(String tag)
tag
- 程序运行标识Copyright © 2017–2019. All rights reserved.