Giter VIP home page Giter VIP logo

Comments (4)

mikeTWC1984 avatar mikeTWC1984 commented on September 25, 2024

CPU/memory metrics come from this command

/bin/ps -eo "ppid pid %cpu rss"

You probably have some in-the-box / non-standard version of ps (might need to install standard version)

from cronicle.

Drallas avatar Drallas commented on September 25, 2024

CPU/memory metrics come from this command

/bin/ps -eo "ppid pid %cpu rss"

You probably have some in-the-box / non-standard version of ps (might need to install standard version)

Not sure, if I paste in the command I do get output.

/bin/ps -eo "ppid pid %cpu rss"
PPID PID %CPU RSS
0 1 0.0 7808
1 51 0.0 7648
1 73 0.0 3456
1 91 0.0 2176
1 100 0.0 1408
1 101 0.0 2944
1 104 0.0 5248
1 156 0.0 1152
1 158 0.0 1024
1 159 0.0 1152
1 160 0.0 3968
1 167 0.2 52612
1 342 0.0 2964
160 13543 0.0 4352
1 13546 0.0 6144
13546 13547 0.0 2700
13543 13563 0.0 1536
13563 16737 0.0 1792
16737 16738 0.0 1060
16738 16739 0.0 1280
342 453070 0.0 6912
342 453071 0.0 6784
160 471751 0.0 11264
471751 471755 0.0 8960
471755 478254 0.0 4096

Seems my jobs are too short, to display average CPU time, only some heavier ones have a value now.

from cronicle.

mikeTWC1984 avatar mikeTWC1984 commented on September 25, 2024

Oh, ok. TO test, you can create event using test plugin, and check "burn cpu" option. Normally it should utilize 1 core for 100%. Also, performance metrics get update after 10 seconds

from cronicle.

Drallas avatar Drallas commented on September 25, 2024

Most of my jobs are between 5 and 20 seconds. Since it an LXC on Proxmox the CPU impact might be to low to get over the threshold to be picked up. Only one job that runs longer shows CPU stats.

Screenshot 2023-11-09 at 15 31 38 Screenshot 2023-11-09 at 15 34 59

from cronicle.

Related Issues (20)

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.