import * as mod from "https://dotland.deno.dev/std@0.177.0/node/os.ts";
Functions
f arch | |
f cpus | |
Returns a string identifying the endianness of the CPU for which the Deno binary was compiled. Possible values are 'BE' for big endian and 'LE' for little endian. | |
Return free memory amount | |
Not yet implemented | |
Returns the string path of the current user's home directory. | |
Returns the host name of the operating system as a string. | |
Returns an array containing the 1, 5, and 15 minute load averages | |
Returns an object containing network interfaces that have been assigned a network address. Each key on the returned object identifies a network interface. The associated value is an array of objects that each describe an assigned network address. | |
Returns the a string identifying the operating system platform. The value is set at compile time. Possible values are 'darwin', 'linux', and 'win32'. | |
Returns the operating system as a string | |
Not yet implemented | |
Returns the operating system's default directory for temporary files as a string. | |
Return total physical memory amount | |
f type | Returns operating system type (i.e. 'Windows_NT', 'Linux', 'Darwin') |
Returns the Operating System uptime in number of seconds. | |
Not yet implemented | |
Returns a string identifying the kernel version |