서버상태수정
This commit is contained in:
@@ -153,8 +153,6 @@ public class MapSheetLearnRepositoryImpl implements MapSheetLearnRepositoryCusto
|
||||
systemMetricEntity.memused,
|
||||
systemMetricEntity.kbmemused,
|
||||
gpuMetricEntity.gpuUtil
|
||||
// gpuMetricEntity.gpuMemUsed,
|
||||
// gpuMetricEntity.gpuMemTotal
|
||||
))
|
||||
.from(systemMetricEntity)
|
||||
.leftJoin(gpuMetricEntity)
|
||||
@@ -163,7 +161,9 @@ public class MapSheetLearnRepositoryImpl implements MapSheetLearnRepositoryCusto
|
||||
.timestamp
|
||||
.in(latestGpuIds)
|
||||
.and(gpuMetricEntity.serverName.eq(systemMetricEntity.serverName)))
|
||||
.where(systemMetricEntity.timestamp.in(latestIds)) // In 절 사용
|
||||
.where(systemMetricEntity.timestamp.in(latestIds)
|
||||
//.and(systemMetricEntity.serverName.ne("server2"))
|
||||
) // In 절 사용
|
||||
.orderBy(systemMetricEntity.serverName.asc())
|
||||
.limit(4)
|
||||
.fetch();
|
||||
|
||||
Reference in New Issue
Block a user