Skip to content

Commit

Permalink
fix memory
Browse files Browse the repository at this point in the history
  • Loading branch information
rbonghi committed Jan 9, 2024
1 parent 0b1302b commit 99213e1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion jtop/core/memory.py
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,7 @@ def read_emc(root_path):
with open(root_path + "/debug/cactmon/mc_all", 'r') as f:
utilization = int(f.read())
elif os.access(root_path + "/actmon_avg_activity/mc_all", os.R_OK):
with open(root_path + "/debug/cactmon/mc_all", 'r') as f:
with open(root_path + "/actmon_avg_activity/mc_all", 'r') as f:
utilization = int(f.read())
else:
# if utilization not accesibile return empty EMC data
Expand Down

0 comments on commit 99213e1

Please sign in to comment.