User Tools

Site Tools


plugin_-_cpu_per_user

Process plugin

Description

Plugin which allows you to see how much is your processor used by different processes.

Configuration

Edit Bijk plugin config file by editor.

  1. For example vim.
        # vim /etc/bijk/plugins.yml
  2. Uncoment whole process section and add this line.
        - cpu_per_user
    1. Save your changes.
    2. Below is an example from default version, so your plugins.yml could be a bit different.
  3. Do not use TAB, just SPACE.
# Bijk-node plugin configuration file
# Commented values are defaults

#---
#apache:
#  default:
#    url: http://127.0.0.1/server-status?auto
#filesystem:
#  sensors:
#    exclude:
#    - ^[^-]*-/lib
#    - ^[^-]*-/dev
#memcached:
#  default:
#    host: 127.0.0.1
#    port: 11211
#mysql:
#  default:
#    host: localhost
#    port: 3306
#netstat:
#  iproute_ss_find: 1
#  iproute_ss_path: /sbin/ss
#nginx:
#  default:
#    url: http://127.0.0.1/server-status
process:
  sensors:
    exclude:
    - '-'
    include:
    - ^[^-]*-(?:apache2?|httpd)$
    - ^[^-]*-mysqld$
    - ^[^-]*-postgres$
    - ^[^-]*-nginx$
    - ^[^-]*-lighttpd$
    - cpu_per_user                #Add this line 
#sender:
#  fallback_timeout: 900
#  local_port: 50011
#  period: 300
#  timeout: 480
#system:
#  sensors:
#    exclude:
#    - ^cpu_.*?-\d+

Bijk.com

  1. Go to your graph section.
  2. From your graph list select CPU per user and wait few minutes.
  3. Enjoy graphs.
plugin_-_cpu_per_user.txt · Last modified: 2011/05/04 14:36 by elch