django-processinfo 0.6.4

A Django application to collect information about the running server processes
django-processinfo
  2 Screenshots
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, 14:09 GMT
price:
FREE!
homepage:
github.com
license type:
GPL (GNU General Public License) 
developed by:
Jens Diemer
category:
ROOT \ Internet \ HTTP (WWW)
django-processinfo
Download Button

In a hurry? Add it to your Download Basket!

user rating

UNRATED
0.0/5
 

0/5

Rate it!
2 Screenshots
django-processinfo
What's New in This Release:
  • Bugfix in templates: missed i18n
read full changelog

Add your review!

SUBMIT