samvova.blogg.se

Nodejs memory monitor
Nodejs memory monitor




nodejs memory monitor

heapUsed refer to the memory usage of V8. moryUsage() Returns an object describing the memory usage (in bytes) of the Node.js process.process.cpuUsage() in object with attributes user and system Returns the user and system CPU time usage of the current process in microseconds.

nodejs memory monitor

process.env The environment variable for the application runtime environment.

nodejs memory monitor

  • process.versions returns the version information for Node.js and its dependencies.
  • process.argv Returns the array containing the command line arguments passed in when starting the Node.js process.
  • process.arch The CPU architecture of the operating system on which the Node.js binary was compiled.
  • process.cwd() Returns the current working directory of the application process.
  • atform Returns a string identifying the OS platform on which the Node.js process is running.
  • process.ppid The PID of the current process’s parent process.
  • process.pid The PID of the current process.
  • Information provided by the process module in Node.js The following is a brief introduction to the information that may be used for statistical analysis of data. In Node.js applications, various system-related information can be obtained mainly through the process and os modules, which can be divided into static basic information and dynamically changing runtime information. The native capabilities in Electron are based on Node.js, so most of the system data collection for Electron applications is based on the capabilities provided by Node.js. When analyzing problems with Electron applications, relevant system operation information is sometimes essential, so naturally there is a need for system base information collection and operation performance monitoring.






    Nodejs memory monitor