- memory consumption viewing
- update info every second
npm run dev
accessing the route http://localhost:3000/stats
Example:
{
"stats": {
"OS": "win32",
"Arch": "x64",
"TotalRAM": "6020 MB",
"FreeRAM": "777 MB",
"Usage": "87.09 %"
}
}