@@ -22,52 +22,47 @@ console.info("Hostname is: %s", os.hostname());
2222/***
2323 * Returns the name of the operating system.
2424*/
25- console . log ( "Type is %s" , os . type ( ) ) ;
25+ console . info ( "Type is %s" , os . type ( ) ) ;
2626
2727/***
2828 * Returns the platform of the operating system.
2929*/
30- console . log ( "Platform is %s" , os . platform ( ) ) ;
30+ console . info ( "Platform is %s" , os . platform ( ) ) ;
3131
3232/***
33- * Returns the operating system CPU architecture .
33+ * Returns the operating system's default directory for temp files .
3434*/
35- console . log ( "CPU Architecture is %s", os . arch ( ) ) ;
35+ console . info ( "Default OS directory for temp files: %s", os . tmpdir ( ) ) ;
3636
3737/***
38- * Returns the operating system release .
38+ * Returns the operating system CPU architecture .
3939*/
40- console . log ( "Release is %s", os . release ( ) ) ;
40+ console . info ( "CPU Architecture is %s", os . arch ( ) ) ;
4141
4242/***
43- * Returns the operating system uptime in seconds .
43+ * Returns the operating system release .
4444*/
45- console . log ( "Uptime is %d Seconds ", os . uptime ( ) ) ;
45+ console . info ( "Release is %s ", os . release ( ) ) ;
4646
4747/***
4848 * Returns the operating system total amount of system memory in bytes.
4949*/
50- console . log ( "Total amount of system memory is %d in bytes" , os . totalmem ( ) ) ;
50+ console . info ( "Total amount of system memory is %d in bytes" , os . totalmem ( ) ) ;
5151
5252/***
5353 * Returns the operating system the amount of free system memory in bytes.
5454*/
55- console . log ( "Total amount of free system memory is %d in bytes" , os . freemem ( ) ) ;
56-
57- /***
58- * Returns the operating system's default directory for temp files.
59- */
60- console . log ( "Temp directory is" , os . tmpDir ( ) ) ;
55+ console . info ( "Total amount of free system memory is %d in bytes" , os . freemem ( ) ) ;
6156
6257/***
6358 * Returns an array of objects containing information about each CPU/core installed:
6459 * model, speed (in MHz), and times
6560*/
66- console . log ( "Information about CPU/Core Installed:\n" ) ;
67- console . log ( os . cpus ( ) ) ;
61+ console . info ( "Information about CPU/Core Installed:\n" ) ;
62+ console . info ( os . cpus ( ) ) ;
6863
6964/***
7065 * Returns get a list of network interfaces:
7166*/
72- console . log ( "List of network interfaces:\n" ) ;
73- console . log ( os . networkInterfaces ( ) ) ;
67+ console . info ( "List of network interfaces:\n" ) ;
68+ console . info ( os . networkInterfaces ( ) ) ;
0 commit comments