Jump to content

Welcome to Smart Home Forum by FIBARO

Dear Guest,

 

as you can notice parts of Smart Home Forum by FIBARO is not available for you. You have to register in order to view all content and post in our community. Don't worry! Registration is a simple free process that requires minimal information for you to sign up. Become a part of of Smart Home Forum by FIBARO by creating an account.

 

As a member you can:

  •     Start new topics and reply to others
  •     Follow topics and users to get email updates
  •     Get your own profile page and make new friends
  •     Send personal messages
  •     ... and learn a lot about our system!

 

Regards,

Smart Home Forum by FIBARO Team


Recommended Posts

Posted

hi Fibaro

 

yes i know how to track CPU for my QA

but how i can track show eat my memory? 

 

Please login or register to see this image.

/monthly_2022_02/image.png.f3b82f3e80aa340624c341f53de39ace.png" />

Posted

I win !

 

 

Please login or register to see this attachment.

  • Thanks 1
Posted

But actually, i think some of the devs around here could need some bash tools. Instead of these useless graphics.

Posted

That percentage doesn't say a thing. The graph to the right says is all, how the ram usage is divided over used space, buffer, cache and free space. 

 

Posted

That's true, but it doesn't really provide insight into which processes use what kind and how much resources.

You could start a quickapp, and see if the actual memory number grows  in the graph. But thats it, i think.

Posted

Also I don't understand why there are 3 seperate pages for CPU, Mem and Storage.
They could have been combined in one page easily.
I don't need to see giant dails or graphs.

Posted

Memory stat could be represented as a binary switch.

 

- not enough. System is slow or crashes.

- enough. Your system is not slow and does not crash. This also means you have too much memory, you are wasting it.

 

Never learned anything from memory percent free stat in 30 years. Not on Windows. Not on Linux.

 

Need per process details...

 

  • Like 3
Posted

I've seen better diagnostic statistics.

 

 

Please login or register to see this attachment.

Posted

It is a linux system, so what you want is the "Atop" tool

 

Please login or register to see this link.

 

System resources are always limited, no matter what type of computer or server you're using. You never seem to have enough RAM, CPU threads, or disk I/O. High level tools like top, htop,sar, iostat, or vmstat do help, but they only give you the 10,000 foot overview of resource usage. They don't allow you to see what part of which program or process is eating up too much RAM or which part is creating race conditions on lock files.

 

A much more powerful took is "Atop", a powerful monitor program that allows you to see system-level counters concerning utilization of CPU and memory/swap, as well as see disk I/O and network utilization counters at the system level -- in real time or historically. It also allows you to store raw counters in a file for long-term analysis on system levels and process levels, as well as seeing resource consumption for each thread within a process of a multi-processor program.

 

Real man build the tool from source:

 

Please login or register to see this link.

 

Atop is an ASCII full-screen performance monitor for Linux that is capable of reporting the activity of all processes (even if processes have finished during the interval), daily logging of system and process activity for long-term analysis, highlighting overloaded system resources by using colors, etcetera. At regular intervals, it shows system-level activity related to the CPU, memory, swap, disks (including LVM) and network layers, and for every process (and thread) it shows e.g. the CPU utilization, memory growth, disk utilization, priority, username, state, and exit code. In combination with the optional kernel module netatop, it even shows network activity per process/thread. In combination with the optional daemon atopgpud, it also shows GPU activity on system level and process level.

 

Mere mortals do "sudo apt install atop" on their Debian derivative O/S

 

Please login or register to see this link.

  • Like 2
Posted

What we need is 3 letters.

 

SSH

 

But i would destroy the system in seconds with that  ;/

  • Like 2
Posted

@jgab just posted an interesting way to do some ad-hoc measurements of your QAs memory hunger (based on Lua GC stat), so that may be a tool to gain some insights.

 

I installed it 15 minutes ago, so rather early to say if I can learn something, and on top of that - I don't actually have a problem to diagnose ? - so *you* give it a spin please and report back ?

 

 

  • Like 1
  • Topic Author
  • Posted
    21 hours ago, SmartHomeEddy said:

    Quite stable ?

    Doc, to the mortuary, please

    • Like 1

    Join the conversation

    You can post now and register later. If you have an account, sign in now to post with your account.

    Guest
    Reply to this topic...

    ×   Pasted as rich text.   Paste as plain text instead

      Only 75 emoji are allowed.

    ×   Your link has been automatically embedded.   Display as a link instead

    ×   Your previous content has been restored.   Clear editor

    ×   You cannot paste images directly. Upload or insert images from URL.

    ×
    ×
    • Create New...