python中系統資訊模組--psutil
獲得系統效能資訊
(1)psutil.cpu_times() 獲得CPU資訊
(2)psutil.vitual_memory() 獲得記憶體使用資訊 psutil.swap_memory() 獲得交換分割槽使用資訊
(3)psutil.disk_partitions() 獲得磁碟的分割槽情況 psutil.disk_usage('/') 獲得’/‘分割槽的使用情況 psutil.disk_io_counters() 獲得磁碟的IO次數統計
(4)psutil.net_io_counters() 獲得網路的發包或者傳送位元組數目的統計資訊
(5)psutil.users() 獲得登陸使用者資訊 psutil.boot_time() 使用者的開機時間統計
系統程式的管理方法
(1)psutil.pids() 列出程式的pid號碼
(2)psutil.Process(程式號碼) 例項化一個程式,方便之後對該程式直接進行操作
(3)psutil.Popen() 獲得應用程式的例項
相關文章
- Python獲取系統資訊模組psutil(轉載)Python
- Python自動化運維之psutil系統效能資訊模組Python運維
- Python系統效能資訊模組psutil安裝報錯解決一例Python
- Python筆記之psutil模組(自動化運維利器psutil玩轉系統監控及管理)Python筆記運維
- psutil模組詳解
- Python中的psutil使用簡介Python
- python使用wmi模組獲取windows下的系統資訊 監控系統PythonWindows
- Python對系統資料進行採集監控——psutilPython
- Python 常用系統模組整理Python
- javascript中的模組系統JavaScript
- Windows系統中安裝Python模組pip numpy matplotlibWindowsPython
- Python基礎:常用系統模組Python
- 安裝psutil模組報錯的解決方法
- 【學生資訊管理系統】模組程式碼的理解
- python常用標準庫(os系統模組、shutil檔案操作模組)Python
- Python中os模組Python
- 使用 Python 獲取 Linux 系統資訊PythonLinux
- Python中模組是什麼?Python有哪些模組?Python
- Python中的模組--SSH相關模組Python
- LINUX C系統程式設計與PYTHON中的時間模組對比Linux程式設計Python
- Python中的abc模組Python
- python中的chardet模組Python
- Python中模組的使用Python
- [譯] 模組化系統中的 event.stopPropagation()
- ERP系統中的稽核模組設計(轉)
- macOS Sierra系統中如何在資訊中播放影片Mac
- 資訊系統中的編碼問題
- ABP之模組系統
- JS模組化系統JS
- Python 判斷當前作業系統型別的模組Python作業系統型別
- Python學生資訊管理系統-簡易版(Python基礎)Python
- 資訊系統
- python中重要的模組--asyncioPython
- Python 中argparse模組的使用Python
- Python3中的模組Python
- Python中operator 模組的用法Python
- Python中itertools 模組的用法Python
- Oracle系統統計資訊Oracle