Updated:
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”
https://heptech.wpblog.jp/2017/06/24/get_memory_usage_in_running_process/