Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (Flatly)
  • No Skin
Collapse
Brand Logo

NetXMS Forum

  1. Home
  2. Support
  3. Wrong CPU count on linux

Wrong CPU count on linux

Scheduled Pinned Locked Moved Support
9 Posts 3 Posters 47.6k Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • J
    J
    Marco Incalcaterra
    wrote on last edited by
    #1

    Hi,

    it seems that this counter:

    System.CPU.Count

    reports the wrong number of CPU (it reports one less than the real number). I tried it on two Linux distribution (ZeroShell 2.0RC2 and Debian 7 x64). It works properly on Windows (all flavours).

    Do it is a bug or I'm doing something wrong?

    Best regards,
    Marco

    1 Reply Last reply
    0
    • V
      V
      Victor Kirhenshtein
      wrote on last edited by
      #2

      It's hard to do something wrong here 🙂 Definitely a bug, I'll check this.

      Best regards,
      Victor

      1 Reply Last reply
      0
      • J
        J
        Marco Incalcaterra
        wrote on last edited by
        #3

        @victor said in Wrong CPU count on linux:

        It's hard to do something wrong here 🙂 Definitely a bug, I'll check this.

        Well, for the momenti I just added +1 in the transformation ;D

        Marco

        1 Reply Last reply
        0
        • A
          A
          Alex Kirhenshtein
          wrote on last edited by
          #4

          Could you please send me content of /proc/stat and /proc/cpuinfo from the affected server?

          1 Reply Last reply
          0
          • J
            J
            Marco Incalcaterra
            wrote on last edited by
            #5

            @alk said in Wrong CPU count on linux:

            Could you please send me content of /proc/stat and /proc/cpuinfo from the affected server?

            Hi Alex,

            you can find here attached the requested info for Zeroshell and Debian.

            Best regards,
            Marco


            zeroshell-proc_stat.txt

            zeroshell-proc_cpuinfo.txt

            debian-proc_stat.txt

            debian-proc_cpuinfo.txt

            1 Reply Last reply
            0
            • J
              J
              Marco Incalcaterra
              wrote on last edited by
              #6

              Hi Alex,

              did you find anything interesting in the files I attached? I have the same behaviour also on a CentOS v. 5.10 (Kernel Linux 2.6.18-371.1.2.el5 on x86_64).

              Best regards,
              Marco

              1 Reply Last reply
              0
              • A
                A
                Alex Kirhenshtein
                wrote on last edited by
                #7

                Yes, thanks, I found issue in linux subagent. I'll try to push this fix into 1.2.10.

                1 Reply Last reply
                0
                • A
                  A
                  Alex Kirhenshtein
                  wrote on last edited by
                  #8

                  Fixed in revision 906fa25, will be included in 1.2.10

                  1 Reply Last reply
                  0
                  • J
                    J
                    Marco Incalcaterra
                    wrote on last edited by
                    #9

                    Good job. Thank you!

                    Marco

                    1 Reply Last reply
                    0

                    Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                    Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                    With your input, this post could be even better 💗

                    Register Login
                    Reply
                    • Reply as topic
                    Log in to reply
                    • Oldest to Newest
                    • Newest to Oldest
                    • Most Votes


                    • Login

                    • Don't have an account? Register

                    • Login or register to search.
                    Powered by NodeBB Contributors
                    • First post
                      Last post
                    0
                    • Categories
                    • Recent
                    • Tags
                    • Popular
                    • Users
                    • Groups