The loadTable.c file details



Data Structures :
    StrArr  *strArr : The string array that keeps all the information about coordinator
            read from the node_inf_file.

    char    myIPaddr[100] : The variable stores the ip-address of the machine.
    char    machineName[100] : Stores the name of the machine.
    char    ipAddr[100] : The value of the ip-address read from the node_inf_file.
    char    archName[100] : The machine architecture.
    char    fileSystem [100] : The file system type.
    char    capacity [100] : The machine capacity.
    char    cpuId1[100] : The beginning of the range.
    char    cpuId2[100] : Then end of the range.


Following are the tasks done in this file loadTable.c:

Below is the format of the information stored in the "/kernel/src/coordinator/node_inf_file".
An example of the entry in the file could be following :

janjira     192.168.211.33 JANJIRA   janjira     9000    1073778689  1073782784

I has seven columns.