This is an automated email from the ASF dual-hosted git repository.
spricoder pushed a commit to branch feature/linux-memory
in repository https://gitbox.apache.org/repos/asf/iotdb.git
The following commit(s) were added to refs/heads/feature/linux-memory by this
push:
new 9b615d00467 add \n
9b615d00467 is described below
commit 9b615d0046711313e2a66a3cb9e78bc6622d5749
Author: spricoder <[email protected]>
AuthorDate: Sat Apr 13 16:30:03 2024 +0800
add \n
---
.../java/org/apache/iotdb/metrics/metricsets/system/SystemMetrics.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git
a/iotdb-core/metrics/interface/src/main/java/org/apache/iotdb/metrics/metricsets/system/SystemMetrics.java
b/iotdb-core/metrics/interface/src/main/java/org/apache/iotdb/metrics/metricsets/system/SystemMetrics.java
index fe6fa8a3881..31e1cba9d08 100644
---
a/iotdb-core/metrics/interface/src/main/java/org/apache/iotdb/metrics/metricsets/system/SystemMetrics.java
+++
b/iotdb-core/metrics/interface/src/main/java/org/apache/iotdb/metrics/metricsets/system/SystemMetrics.java
@@ -195,7 +195,7 @@ public class SystemMetrics implements IMetricSet {
new BufferedReader(new InputStreamReader(process.getInputStream())))
{
String line;
while ((line = input.readLine()) != null) {
- result.append(line);
+ result.append(line + "\n");
}
}
logger.error(result.toString());