Research Article

A Real-Time Detection Method of Software Configuration Errors Based on Fine-Grained Configuration Item Types

Table 4

System environment constraints met by different configuration item types.

configuration item typeSystem environment constraintsCommand of obtaining system environment information

MemoryLess than the available memoryFree - m
Speed rateLess than the upper bandwidth limitip a and ethtool [ethernet port]
PortNot occupied by other servicesNetstat - anp | grep [port]
User nameUser existscat/etc/passwd | grep [user name]
File nameFile name existsStat [file name]
LanguageAvailable language typesISO 639–1 [54]
MIME typesAvailable MIME typesIANA [55]
PathPath existsStat (path)
Domain nameDomain name is availableCurl - I [domain name]
IP addressIP address is accessiblePing [IP address]