arma-server-web-admin
arma-server-web-admin copied to clipboard
Show CPU and Memory usage
I kindly suggest you to make the interval editable via settings modal or config.js
Added CPU and RAM usage by headless clients as well in server page
Can you please merge this in master.
🤔 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