Educational computer laboratory management faces significant challenges in monitoring numerous terminal devices for daily operation, maintenance, and troubleshooting. Long-term practice has identified critical issues that severely impact operational efficiency and teaching stability, motivating the development of an effective monitoring solution. This paper proposes a lightweight Python-based monitoring system with an IoT(Internet of Things) architecture for laboratory terminals. The system adopts a three-layer structure: the perception layer collects real-time CPU(Central Processing Unit), memory, and disk usage via the psutil library; the network layer employs UDP(User Datagram Protocol) for low-latency, low-overhead data transmission; and the application layer uses Flask and SQLite to provide a unified visual dashboard with intelligent alarm logging. Experimental results on 59 terminals show that the system operates stably with minimal resource consumption. The client uses less than 1% CPU, transmission latency is under 100 ms, and the server reliably processes concurrent data. Over a 1.5-hour test, 40, 927 records were collected, effectively reducing manual workload and improving the intelligent operation and maintenance level of computer laboratories.