get_memory_info
Retrieve memory usage information for Java processes by specifying a process ID to monitor JVM heap and performance metrics.
Instructions
获取内存使用情况
Args:
pid (str): 进程ID,使用字符串形式(如:"12345")。
支持十进制和十六进制格式。
空字符串将返回错误信息。
Returns:
Dict: 包含内存信息的字典,包含以下字段:
- raw_output (str): 原始输出
- timestamp (float): 时间戳
- success (bool): 是否成功
- error (Optional[str]): 错误信息
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pid | No |