arma-server-web-admin icon indicating copy to clipboard operation
arma-server-web-admin copied to clipboard

Show CPU and Memory usage

Open Dahlgren opened this issue 5 years ago • 4 comments

image

image

Dahlgren avatar Jan 16 '20 20:01 Dahlgren

I kindly suggest you to make the interval editable via settings modal or config.js

Frozen-byte avatar Jan 17 '20 09:01 Frozen-byte

Added CPU and RAM usage by headless clients as well in server page

Dahlgren avatar Apr 11 '20 00:04 Dahlgren

Can you please merge this in master.

ards avatar May 20 '21 16:05 ards

🤔 while memory usage shows good values, CPU is always at 0% for me (Windows Server 2019). Weirdly enough, it's fine on my Windows 10 machine though.

edit: ...and cpu values are fine even on the Windows Server if I start the service via "npm start", but return 0 if I start the service via the respective server control panel. I'm stumped, but I guess the code here is ok and it's some service permissions thing or something else I'm missing

edit2: fixed my problem, which was caused by limited permissions for a service user preventing it from getting system uptime... see https://github.com/soyuka/pidusage/pull/130

Fusselwurm avatar May 22 '21 17:05 Fusselwurm