Skip to content

Tag Archives: Node.js-os-module

Node.js OS module provides information about the computer operating system. Below example illustrate the os.version() method in Node.js: Example: Javascript // Import the os module… Read More
The os.version() method is used to identify the version of the kernel of the Operating System. This information is determined by calling uname on POSIX… Read More
The os.getPriority() method is an inbuilt application programming interface of the os module which is used to get the scheduling priority of the process specified… Read More
The os.networkInterfaces() method is an inbuilt application programming interface of the os module which is used to get the information about network interfaces of the… Read More
The os.type() method is an inbuilt application programming interface of the os module which is used to get Operating system name. Syntax: os.type() Parameters: This… Read More
The os.constants is an inbuilt application programming interface of the os module which is used to get operating system specified constants for error code, signal… Read More
The os.release() method is an inbuilt application programming interface of the os module which is used to get Operating system release. Syntax:  os.release() Parameters: This… Read More
The os.tmpdir() method is an inbuilt application programming interface of the os module which is used to get path of default directory for temporary files… Read More
The os.hostname() method is an inbuilt application programming interface of the os module which is used to get host name of the operating system. Syntax:… Read More
The os.userInfo() method is an inbuilt application programming interface of the os module which is used to get the information of currently effective user. Syntax: … Read More
The os.setPriority() method is an inbuilt application programming interface of the os module which is used to set the scheduling priority of the process specified… Read More
The os.uptime() method is an inbuilt application programming interface of the os module which is used to get system uptime in seconds.  Syntax: os.uptime() Parameters:… Read More
The os.platform() method is an inbuilt application programming interface of the os module which is used to get the Operating system platform. Syntax:   os.platform() Parameters:… Read More
The os.loadavg() method is an inbuilt application programming interface of the os module which is used to get the load average. Load average is a… Read More
The os.totalmem() method is an inbuilt application programming interface of the os module which is used to get the amount of total system memory in… Read More