gao-sun / eul

🖥️ macOS status monitoring app written in SwiftUI.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Network activity is not being shown

ndelvalle opened this issue · comments

For some reason, the network activity is not being shown. It is always set to 0.0 kb/s.

Screen Shot 2021-12-23 at 16 15 32

Context

  • eul version: v1.2.3
  • macOS version: macOS Monterrey v12.0.1
  • Device model: MacBook Pro (14-inch, 2021), Apple M1 Pro.

Debug Output

⚙️ loaded data from user defaults {
  "showTopActivities" : false,
  "networkRefreshRate" : 3,
  "showIcon" : true,
  "fontDesign" : "default",
  "language" : "en",
  "availableComponents" : [
    "Battery",
    "Memory"
  ],
  "textDisplay" : "compact",
  "showComponents" : true,
  "activeComponents" : [
    "CPU",
    "Network"
  ]
}
shell with ["route get 0.0.0.0 | grep interface | awk \'{print $2}\'"]
shell with ["netstat -bI "]
shell with ["route get 0.0.0.0 | grep interface | awk \'{print $2}\'"]
shell with ["netstat -bI "]
shell with ["route get 0.0.0.0 | grep interface | awk \'{print $2}\'"]
shell with ["netstat -bI "]
shell with ["route get 0.0.0.0 | grep interface | awk \'{print $2}\'"]
shell with ["netstat -bI "]
shell with ["route get 0.0.0.0 | grep interface | awk \'{print $2}\'"]

Same on M1 max. The network status doesn't update, always shown as 0 kb/s.

May work in the version from homebrew or github release, but not from App store.

Looks like you are using the App Store version (v1.2.3) that is too old. :-) App Store uses a sandbox which isolates the real env thus we cannot capture the network traffic down there. Please use the app from GitHub or HomeBrew. Thanks.

@gao-sun perfect, installed from brew and now everything works correctly.
Thanks and great app! <3