django-processinfo 0.6.4

A Django application to collect information about the running server processes

  Add it to your Download Basket!

 Add it to your Watch List!

0/5

Rate it!

What's new in django-processinfo 0.6.4:

  • Bugfix in templates: missed i18n
Read full changelog
send us
an update
LICENSE TYPE:
GPL (GNU General Public License) 
USER RATING:
UNRATED
  0.0/5
DEVELOPED BY:
Jens Diemer
HOMEPAGE:
github.com
CATEGORY:
ROOT \ Internet \ HTTP (WWW)
2 django-processinfo Screenshots:
django-processinfodjango-processinfo
django-processinfo is an experimental Django app to collect information about the running server processes.

This only works, if /proc/$$/status exists. So only on only on unix/linux like platforms.

What is it not:

- track user actions
- collect infos which are found in e.g. apache.log
- not a profiler (read https://code.djangoproject.com/wiki/ProfilingDjango)

More info: http://www.python-forum.de/viewtopic.php?f=6&t=27168 (de)

Install

pip install django-processinfo

Usage

add to settings.py:

import os

import django_processinfo


INSTALLED_APPS = (
 ...
 'django_processinfo',
 ...
)

MIDDLEWARE_CLASSES = (
 'django_processinfo.middlewares.django_processinfo.ProcessInfoMiddleware',
 ...
)

# Put templates above admin contrib, e.g.:
TEMPLATE_DIRS = (
 ...
 os.path.join(os.path.abspath(os.path.dirname(django_processinfo.__file__)), "templates/"),
 ...
)

# include app settings from ./django_processinfo/app_settings.py
from django_processinfo import app_settings as PROCESSINFO

# Change settings like this:
PROCESSINFO.ADD_INFO = True

run: syncdb to create database tables.

ProcessInfoMiddleware

The ProcessInfoMiddleware can actually be inserted anywhere. However, it should be added far above. Thus, to capture everything.

For performance enhancement, put ProcessInfoMiddleware after LocalSyncCacheMiddleware. Then, however, lacks some statistical values​​ (in every cache hit).

Last updated on September 27th, 2012

requirements

#collect information #server processes #Django #server #processes #information

Add your review!

SUBMIT