Skip to content

Commit

Permalink
put lscpu first
Browse files Browse the repository at this point in the history
  • Loading branch information
opotowsky committed Jan 28, 2025
1 parent 3049a0c commit 82a5932
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion armi/bookkeeping/report/reportingUtils.py
Original file line number Diff line number Diff line change
Expand Up @@ -354,7 +354,7 @@ def _getSystemInfoLinux():
return ""

# get processor information
linuxProcCommands = ["cat /proc/cpuinfo", "lscpu", "lshw -class CPU"]
linuxProcCommands = ["lscpu", "cat /proc/cpuinfo", "lshw -class CPU"]
procInfo = ""
for cmd in linuxProcCommands:
procInfo = subprocess.run(
Expand Down

0 comments on commit 82a5932

Please sign in to comment.