Git Product home page Git Product logo

sysusage's People

Contributors

dalibot avatar darold avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

sysusage's Issues

sysusagegraph: alternative configuration file not read.

#-> /bin/sysusagegraph -c /etc/sysusage_central.cfg -d
ERROR: Configuration file /etc/sysusage.cfg doesn't exists.

Usage: sysusagegraph [-c conf_file] [-h|--help] [-v]

        -c file    : Path to config file. Def: /usr/local/etc/sysusage.cfg
        -C         : Only build all CPU reports, not per CPU reports.
        -d|--debug : Verbose output.
        -h|--help  : Output this message and exit
        -v         : Show Sysusagegraph version

In the code I found:

my $CONF_DIR = "/etc";
my $CONF_FILE = "$CONF_DIR/sysusage.cfg";
if (!-e $CONF_FILE) {
        $CONF_FILE = '/usr/local/etc/sysusage.cfg';
        if (!-e $CONF_FILE) {
                $CONF_FILE = '/etc/sysusage.cfg';
        }
}

This is Sysusage v5.7 installed from EPEL (on RHEL 7)

Both sysusagegraph sysusagejqgraph complain that sysusage.pl has not been run...

I've just finished installing sysusage on CentOS7 but can't get it to generate graphs. When I run the sysusagegraph command manually, I get this

# ./sysusagegraph
main(): Starting the main loop process
main(): Looking for multisites stats into /usr/local/sysusage/rrdfiles
main(): Looking for rrdtool databases into /usr/local/sysusage/rrdfiles/server.domain.com.au
main(): No rrdtool databases found. You need to run sysusage.pl first
main(): Generating HTML global index into /
main(): Exiting sysusagegraph

However, I have already run sysusage (there's no sysusage.pl - just sysusage in /usr/local/sysusage/bin) and I've posted the output at Pastebin.

When I visit /usr/local/sysusage/rrdfiles/server.domain.com.au I see an empty directory. I'm running these commands as root and I've also specified root in the /etc/crontab entries.

Any ideas on what else I can try?

Note: I've sanitised the server.domain.com.au part to protect the innocent!

Monitor CPU usage per process

Dear darold,

Firstly, thanks for the amazing project. I'm using it to monitor multiple servers and I tried (but failed) to find a way to monitor a process's CPU Usage.

Is there a way to do this, even a work-around solution?

Thanks and best regards

No more month or year view

Hello,

On a pretty vanilla setup (no tweaked options) the month and year view (for every metrics) does not show anymore.

This errors is thrown on CentOS 7 machine.

Following the error about time found i supposed the locale or something related is the problem there.

locale is like this on the machine :
LANG=fr_FR.UTF-8
LC_CTYPE="fr_FR.UTF-8"
LC_NUMERIC="fr_FR.UTF-8"
LC_TIME="fr_FR.UTF-8"
LC_COLLATE="fr_FR.UTF-8"
LC_MONETARY="fr_FR.UTF-8"
LC_MESSAGES="fr_FR.UTF-8"
LC_PAPER="fr_FR.UTF-8"
LC_NAME="fr_FR.UTF-8"
LC_ADDRESS="fr_FR.UTF-8"
LC_TELEPHONE="fr_FR.UTF-8"
LC_MEASUREMENT="fr_FR.UTF-8"
LC_IDENTIFICATION="fr_FR.UTF-8"
LC_ALL=

Any idea of what's going wrong ? You can find attached an example file generated and the error witch seems related.
Let me know if some more information is needed.

Regards

screenshot-b7dbe77e
year_disk_.html.gz

rrd files have nans.

have installed sysusage (many times) on ubuntu and centos. rrdfiles not getting sar data... rows are all NaN.
NaNNaNNaN
NaNNaNNaN
NaNNaNNaN
NaNNaNNaN
NaNNaNNaN
NaNNaNNaN
NaNNaNNaN
NaNNaNNaN
NaNNaNNaN
NaNNaNNaN
NaNNaNNaN


graphs create with correct menu items but no data.. would really appreciate some help.

SysUsage is not working with CentOS7 and sar 10.5.1

Executing /usr/local/sysusage/bin/sysusage on a fresh installation outputs:

sh: /sbin/ifconfig: No such file or directory
ERROR: Unknown statistic type 'dirty' for mycentos7.
ERROR: Unknown statistic type 'blocked' for mycentos7.

Incorrect CPU usage graphed?

I'm not sure if this my misinterpretation, or an actual error.
CPU0 distribution usage:
User: current=77.44, max=78.51, average=19.61
Nice: current=0.00, max=0.00, average=0.00
System: current=12.39, max=15.64, average=4.95

However, User and System seem inaccurate based on the sar output below.
sar -u ALL shows:

06:50:01 PM CPU %usr %nice %sys %iowait %steal %irq %soft %guest %gnice %idle
07:00:01 PM all 5.77 0.00 2.88 0.04 0.00 0.00 0.04 0.00 0.00 91.28
07:10:01 PM all 6.17 0.00 3.09 0.02 0.00 0.00 0.05 0.00 0.00 90.67
07:20:01 PM all 6.11 0.00 3.04 0.04 0.00 0.00 0.04 0.00 0.00 90.77
07:30:01 PM all 6.09 0.00 3.04 0.03 0.00 0.00 0.06 0.00 0.00 90.78
07:40:01 PM all 6.04 0.00 3.10 0.02 0.00 0.00 0.04 0.00 0.00 90.81
07:50:01 PM all 5.89 0.00 2.86 0.02 0.00 0.00 0.04 0.00 0.00 91.20
08:00:02 PM all 5.21 0.00 2.65 0.02 0.00 0.00 0.04 0.00 0.00 92.09
08:10:01 PM all 5.50 0.00 2.74 0.03 0.00 0.00 0.03 0.00 0.00 91.70
Average: all 2.22 0.00 1.70 0.06 0.00 0.00 0.02 0.00 0.00 95.99

Thank you.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.