Shows the OS statistics and information about OS.

/*******************************************************
*     MYCPLUS Sample Code - https://www.mycplus.com     *
*                                                     *
*   This code is made available as a service to our   *
*      visitors and is provided strictly for the      *
*               purpose of illustration.              *
*                                                     *
* Please direct all inquiries to saqib at mycplus.com *
*******************************************************/



lstat


\n", ($statInfo[0]+65));
		printf("Mode: %o 
\n", $statInfo[2]); print("Links: $statInfo[3]
\n"); print("Size: $statInfo[7] bytes
\n"); printf("Last Accessed: %s
\n", date("H:i:s F d, Y", $statInfo[8])); printf("Last Modified: %s
\n", date("H:i:s F d, Y", $statInfo[9])); printf("Created: %s
\n", date("H:i:s F d, Y", $statInfo[10])); } else { // print UNIX version print("Device: $statInfo[0]
\n"); print("INode: $statInfo[1]
\n"); printf("Mode: %o
\n", $statInfo[2]); print("Links: $statInfo[3]
\n"); print("UID: $statInfo[4]
\n"); print("GID: $statInfo[5]
\n"); print("Device Type: $statInfo[6]
\n"); print("Size: $statInfo[7] bytes
\n"); printf("Last Accessed: %s
\n", date("H:i:s F d, Y", $statInfo[8])); printf("Last Modified: %s
\n", date("H:i:s F d, Y", $statInfo[9])); printf("Last Changed: %s
\n", date("H:i:s F d, Y", $statInfo[10])); print("Block Size: $statInfo[11]
\n"); print("Blocks: $statInfo[12]
\n"); } ?>