Softpedia
 


LINUX CATEGORIES:



GLOBAL PAGES >>
NEWS ARCHIVE >>
SOFTPEDIA REVIEWS >>
MEET THE EDITORS >>
WEEK'S BEST
  • Linux Kernel 3.9.3 / 3....
  • LibreOffice 3.6.6 / 4.0.3
  • MPlayer 1.1.1
  • systemd 204
  • Arch Linux 2013.05.01
  • Blender 2.67a
  • KDE Software Compilatio...
  • CrunchBang Linux Stable...
  • Elementary OS 0.1 / 0.2...
  • SystemRescueCd 3.6.0
  • Home > Linux > Internet > HTTP (WWW)

    django-processinfo 0.6.4

    Download button

    Downloads: 253  Tell us about an update
    User Rating:
    Rated by:
    NOT RATED
    0 user(s)
    Developer:

    License / Price:

    Last Updated:

    Category:
    Jens Diemer | More programs
    GPL / FREE
    September 27th, 2012, 14:09 GMT [view history]
    ROOT / Internet / HTTP (WWW)

     Read user reviews (0)  Refer to a friend  Subscribe

    django-processinfo description

    A Django application to collect information about the running server processes

    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).


    Product's homepage

    Requirements:

    · Python
    · Django

    What's New in This Release: [ read full changelog ]

    · Bugfix in templates: missed i18n

      


    TAGS:

    collect information | server processes | Django | server | processes

    Go to top

    WindowsGamesDriversMacLinuxScriptsMobileHandheldNews

    SUBMIT PROGRAM   |   ADVERTISE   |   GET HELP   |   SEND US FEEDBACK   |   RSS FEEDS   |   UPDATE YOUR SOFTWARE   |   ROMANIAN FORUM