Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Table of Contents

Introduction

  • RDK PROC ANALYZER is a tool that enables different teams like development, triage and testing to analyze the CPU and memory utilization of the processes that run on top of RDK framework.
  • It helps us in detecting the memory leaks, cpu and memory performance regressions.
  • This tool is implemented as a service.
  • Highly configurable (Parameters like period , time interval and processes to be monitored can be configured).

...

  • The main code flow of CPU Procanalyzer -

draw.io Diagram
diagramName
Gliffy Diagram
macroId56d27dde-f067-4bc6-b545-41e889243b3a
nameMAIN CODE FLOW.drawio
pagePinrevision21

  • To get the Load Average information- 

Gliffy Diagramdrawio
namediagramNameloadavg.drawio
pagePinrevision31

  •  To get the Memory information- 

draw.io Diagram
diagramName
Gliffy Diagram
macroIdcd94e81d-2752-47c6-b981-beda29edbfbc
namemem info.drawio
pagePinrevision1

  • To get the Idle Percent Information-

Gliffy Diagramdrawio
namediagramNameidlepercent.drawio
pagePinrevision31

How to Launch

...

This tool runs as a service.

...

2. Open ‘/opt/processes.list’ file on the device.

...

  File to configure process names to be monitored