Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit82f10d3

Browse files
committed
fix: removed "Total Memory" metric from stacked Memory Overview graph
1 parent0cc5715 commit82f10d3

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

‎mamonsu/plugins/system/linux/memory.py‎

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -84,10 +84,11 @@ def graphs(self, template, dashboard=False):
8484
all_items= []
8585
free_used_items= []
8686
foriteminself.Items:
87-
all_items.append({
88-
"key":self.right_type(self.key,item[0]),
89-
"color":item[3]
90-
})
87+
ifitem[0]!="total":
88+
all_items.append({
89+
"key":self.right_type(self.key,item[0]),
90+
"color":item[3]
91+
})
9192
# manually build Free/Used graph items to manage the order of graph filled regions
9293
# used - User-Space
9394
free_used_items.append({

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp