推荐学习书目
Learn Python the Hard Way
Python Sites
PyPI - Python Package Index
http://diveintopython.org/toc/index.html
Pocoo
值得关注的项目
PyPy
Celery
Jinja2
Read the Docs
gevent
pyenv
virtualenv
Stackless Python
Beautiful Soup
结巴中文分词
Green Unicorn
Sentry
Shovel
Pyflakes
pytest
Python 编程
pep8 Checker
Styles
PEP 8
Google Python Style Guide
Code Style from The Hitchhiker's Guide
Livid
280.84D
557.5D
V2EX  ›  Python

psutil

  •  
  •   Livid ·
    PRO
    · Jun 14, 2012 · 3884 views
    This topic created in 5095 days ago, the information mentioned may be changed or developed.
    好东西啊,用来查看系统的各种状态,API 太简洁了。

    http://code.google.com/p/psutil/
    7 replies    1970-01-01 08:00:00 +08:00
    myrual
        1
    myrual  
       Jun 14, 2012
    比login到远程主机自己查看的优点是什么呢?
    可以写一个定时报告的脚本然后存下来么?
    ratazzi
        2
    ratazzi  
       Jun 14, 2012
    可以查看指定进程的网络链接,我觉得在 Mac 上 netstat 不能查看进程相关信息的情况下就很有用
    Livid
        3
    Livid  
    MOD
    OP
    PRO
       Jun 14, 2012
    @myrual 嗯,用来写服务器监控软件会很有用。
    myrual
        4
    myrual  
       Jun 14, 2012
    比snmp有什么不同呢?
    通过web.py可以搭一个页面来看系统负载,还可以用cron来定时收集系统信息,然后存储
    zealot
        5
    zealot  
       Jun 14, 2012
    0bit
        6
    0bit  
       Apr 2, 2013
    太好用了,不用受snmp的折磨了
    Livid
        7
    Livid  
    MOD
    OP
    PRO
       Apr 3, 2013
    @zealot 对,甚至可以用在 Solaris 上。
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   2959 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 48ms · UTC 15:02 · PVG 23:02 · LAX 08:02 · JFK 11:02
    ♥ Do have faith in what you're doing.