Announcement

Collapse
No announcement yet.

CPUf statistics

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • CPUf statistics

    Hello,

    I was reviewing lveinfo documentation ( http://docs.cloudlinux.com/lveinfo.html ) and found CPUf parameter (total number of max CPU usage faults) but I cannot see how can I find its value using CLI. lveinfo help page doesnt have any information about CPUf statistics.

    So my question is: is there any way to get CPUf statistics via CLI ( lveinfo version is 0.8 )?

    Thanks in advance.

    --
    Regards,
    Felix O.

  • #2
    Hi,

    By default lveinfo command shows only brief stats, you have to use --show-all key to see all columns.

    Comment


    • #3
      Helo,

      Unfortunately it doesnt work for me. Please take a look at the console output:

      Code:
      $ lveinfo --show-all -l 1
      
      +----+----+----+----+---+---+----+---+---+---+-----+-----+-----+------+-----+-----+------+------+------+---+-----+-----+------+
      
      | ID |aCPU|mCPU|lCPU|aIO|mIO|lIO |aEP|mEP|lEP|aVMem|mVMem|lVMem|aPMem |mPMem|lPMem|aNproc|mNproc|lNproc|EPf|VMemF|PMemF|NprocF|
      
      +----+----+----+----+---+---+----+---+---+---+-----+-----+-----+------+-----+-----+------+------+------+---+-----+-----+------+
      
      |1572| 0  | 5  | 5  | 12|431|8192| 0 | 2 | 20| 6.4M|78.8M|  0  |338.9M| 1.5G| 1.5G|  0   |  2   |  40  | 0 |  0  |  0  |  0   |
      
      +----+----+----+----+---+---+----+---+---+---+-----+-----+-----+------+-----+-----+------+------+------+---+-----+-----+------+
      There is no CPUf parameter in the stats table. Also please take a look at the following listing:

      Code:
      $ lveinfo --help | sed -n /Output/,$p
      
      Output:
      
      ID                     : LVE Id or username
      
      aCPU                   : Average CPU usage
      
      mCPU                   : Max CPU usage
      
      lCPU                   : CPU Limit
      
      aEP                    : Average Entry Processes
      
      mEP                    : Max Entry Processes
      
      lEP                    : maxEntryProc limit
      
      aVMem                  : Average Virtual Memory Usage
      
      mVMem                  : Max Virtual Memory Usage
      
      lVMem                  : Virtual Memory Limit
      
      VMemF                  : Out Of Memory Faults
      
      EPf                    : Entry processes faults
      
      aPMem                  : Average Physical Memory Usage
      
      mPMem                  : Max Physical Memory Usage
      
      lPMem                  : Physical Memory Limit
      
      aNproc                 : Average Number of processes
      
      mNproc                 : Max Number of processes
      
      lNproc                 : Limit of Number of processes
      
      PMemF                  : Out Of Physical Memory Faults
      
      NprocF                 : Number of processes faults
      
      aIO                    : Average I/O
      
      mIO                    : Max I/O
      
      lIO                    : I/O Limit
      So, there is no CPUf output description also, but I can see the description on the documentation page: http://docs.cloudlinux.com/lveinfo.html

      Please correct me if Im wrong and thanks in advance.

      --
      Regards,
      Felix O.

      Comment


      • #4
        Sorry for misinformation, I missed this documentation is about lve-stats2 only which is available in beta, CPUf is not available in lve-stsats-0.10-44 .

        Comment

        Working...
        X