Analysis Of Cpu And Memory Usage In Monitoring-Based Operating Systems Using Python
Main Article Content
Abstract
Monitoring computer resource usage, particularly the central processing unit (CPU) and memory, is a crucial aspect in maintaining the performance and stability of an operating system. This study aims to analyze CPU and memory usage in real-time using the Python programming language as the primary tool. The method used involves collecting system resource usage data through Python libraries, such as psutil, followed by data processing and visualization to obtain an overview of usage patterns. The results show that Python is capable of providing accurate and efficient information regarding CPU and memory usage conditions, thus providing a basis for decision-making to optimize system performance. Furthermore, the developed monitoring system is flexible, easy to use, and can be implemented on various operating system platforms. Therefore, this study is expected to contribute to the development of a simple yet effective resource monitoring system. (Monitoring computer resource usage, particularly the central processing unit (CPU) and memory, is a crucial aspect in maintaining the performance and stability of an operating system. This study aims to analyze CPU, and memory usage in real time using the Python programming language as the primary tool. The method used involves collecting system resource usage data through Python libraries, such as psutil, followed by data processing and visualization to obtain an overview of usage patterns. The results show that Python is capable of providing accurate and efficient information regarding CPU and memory usage conditions, thus providing a basis for decision-making to optimize system performance. Furthermore, the developed monitoring system is flexible, easy to use, and can be implemented on various operating system platforms. Thus, this research is expected to contribute to the development of a simple yet effective resource monitoring system.
Downloads
Article Details

This work is licensed under a Creative Commons Attribution-NonCommercial 4.0 International License.
References
Agarwala, S., Poellabauer, C., Kong, J., Schwan, K., & Wolf, M. (2003). System-level resource monitoring in high-performance computing environments.
Cao, S., Zeng, Y., Yang, S., & Cao, S. (2021). Research on Python data visualization technology. Journal of Physics: Conference Series, 1757(1), 012122. https://doi.org/10.1088/1742-6596/1757/1/012122
Fauzia Fredella, & Rahman, U. (2025). Penerapan virtual memory terhadap kinerja CPU, GPU, dan respons multitasking pada Windows 10. Mars: Jurnal Teknik Mesin, Industri, Elektro dan Ilmu Komputer, 3(5), 168–178. https://doi.org/10.61132/mars.v3i5.1133
Gómez-Luna, J., El Hajj, I., Fernandez, I., Giannoula, C., Oliveira, G. F., & Mutlu, O. (2023). Benchmarking memory-centric computing systems: Analysis of real processing-in-memory hardware. http://arxiv.org/abs/2110.01709
Karan, N., & Nimay, N. (n.d.). CoreWatch AI-driven CPU/GPU performance analyzer. https://doi.org/10.51583/IJLTEMAS
Martínez, A., & Rivera, C. (n.d.). Enhancing reliability through effective system monitoring.
P. M., A. B. J., & S. E. S. (2024). Real-time web server monitoring system using Python. Journal of Artificial Intelligence and Capsule Networks, 6(3), 332–339. https://doi.org/10.36548/jaicn.2024.3.006
Rey, W. P., Cudilla, E. A. G., & Verdida, R. A. (2025). Performance peaks: Monitoring and optimizing systems for efficiency. Journal of Advances in Information Technology, 16(11), 1595–1603. https://doi.org/10.12720/jait.16.11.1595-1603
Syari, M. A., Ramadani, S., Sembiring, H., & Fitriani, A. (2024). The utilization of Python models in real-time data processing for oil and gas monitoring systems. Tamika Journal, 4(2), 227–231. https://doi.org/10.46880/tamika.Vol4No2(SEMNASTIK)