This is a pre-production deployment of Warehouse, however changes made here WILL affect the production instance of PyPI.
Latest Version Dependencies status unknown Test status unknown Test coverage unknown
Project Description
procfs3
-------

procfs3 is a python3 version of procfs <https: github.com="" pmuller="" procfs="">.
It was converted using 2to3 with some manual fixes and some tests thrown in.
To run the tests, run::
python3 tests/doctests.py

Easy to use
```````````

::

>>> from procfs import Proc
>>> proc = Proc()

>>> proc.loadavg
{'average': {1: 0.0, 5: 0.0, 15: 0.0},
'entities': {'current': 1, 'total': 117},
'last_pid': 3068}

>>> proc.net.dev.eth1.receive.bytes
117997558

>>> proc.meminfo.MemFree
57044

>>> proc.net.snmp.Udp
{'InDatagrams': 3394, 'OutDatagrams': 3399, 'RcvbufErrors': 0,
'InErrors': 0, 'SndbufErrors': 0, 'NoPorts': 4}


Process information
```````````````````

::

>>> proc.self
<process 3068:="" python="">

>>> proc.self.parent
<process 17423:="" bash="">

>>> proc.self.uptime
datetime.timedelta(0, 346, 380262)

>>> proc.processes
<processes: [<process="" 1:="" init="">, <process 2:="" kthreadd="">, <process 3:="" migration="" 0="">, <process 4:="" ksoftirqd="" 0="">, <process 5:="" watchdog="" 0="">, <process 6:="" migration="" 1="">, <process 7:="" ksoftirqd="" 1="">, <process 8:="" watchdog="" 1="">, <process 9:="" events="" 0="">, <process 10:="" events="" 1="">, ...]>
>>> len(proc.processes)
110

>>> proc.processes.cmdline('(vim|ssh)')
<processes: [<process="" 2956:="" vim="">, <process 3044:="" vim="">, <process 3136:="" vim="">, <process 10422:="" sshd="">, <process 10440:="" sshd="">, <process 10504:="" sshd="">]>

>>> proc.processes.uid(1000)
<processes: [<process="" 1120:="" bash="">, <process 2593:="" bash="">, <process 2956:="" vim="">, <process 3044:="" vim="">, <process 3093:="" python="">, <process 10504:="" sshd="">, <process 10505:="" bash="">, <process 10875:="" screen="">, <process 10876:="" screen="">, <process 12908:="" bash="">, ...]>

>>> proc.processes.user('pmuller').cmdline('python')[0]
<process 3093:="" python="">


Links
`````

* `github <http: github.com="" galini="" procfs3="">`_
Release History

Release History

0.1.3

This version

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

0.1.2

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

Download Files

Download Files

TODO: Brief introduction on what you do with files - including link to relevant help section.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
procfs3-0.1.3.tar.gz (13.7 kB) Copy SHA256 Checksum SHA256 Source Aug 29, 2012

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS HPE HPE Development Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting