Obtaining resource within the app
Updated:Apr 12, 2022
Question
How can I obtain resource information within the app.
Answer
Please find your answer below.
Use WebAPI(getAppResourceInfo) in loopback.
Obtain from “/proc/[pid]/status” or “/proc/[pid]/statm”