tail /var/log/messages 可以看到下面的信息 [root@localhost Module_test2]# tail /var/log/messages Jul 7 00:19:56 localhost htt_server[1739]: status has not been enabled yet. (1, 1) Jul 7 00:20:17 localhost htt_server[1739]: status has not been enabled yet. (1, 2) Jul 7 00:20:33 localhost last message repeated 9 times Jul 7 00:20:54 localhost htt_server[1739]: status has not been enabled yet. (1, 1) Jul 7 00:22:10 localhost htt_server[1739]: status has not been enabled yet. (1, 2) Jul 7 00:22:12 localhost htt_server[1739]: status has not been enabled yet. (1, 2) Jul 7 00:22:18 localhost htt_server[1739]: status has not been enabled yet. (1, 1) Jul 7 00:22:20 localhost htt_server[1739]: status has not been enabled yet. (1, 2) Jul 7 00:22:32 localhost htt_server[1739]: status has not been enabled yet. (1, 1) Jul 7 00:57:03 localhost last message repeated 2 times
在日志中只是找到\u5740\u201cxml:readwrite:/root/.gconf\u201d\u89e3\u6790\u4e3a\u4f4d\u4e8e 0 \u7684\u53ef\u5199\u5165\u914d\u7f6e\u6e90 Jul 7 00:12:37 localhost kernel: Hello module init Jul 7 00:17:57 localhost htt_server[1739]: status has not been enabled yet. (1, 1) 没有找到Hello module exit的打印 但是 [root@localhost Module_test2]# lsmod ¦ grep hello hello 1536 0