You are not logged in.

#1 2019-04-13 18:10:56

GOKOP
Member
Registered: 2018-04-29
Posts: 45

[SOLVED] Conky and Polybar show different memory usage

For some reason polybar always show a few percent higher memory usage than conky. When conky shows 18% RAM usage and 0% SWAP usage, polybar shows 22% memory usage. Anyone knows why is that?

Last edited by GOKOP (2019-04-13 20:02:49)

Offline

#2 2019-04-13 18:19:34

Lupo Alberto
Member
From: Gomel, Belarus
Registered: 2013-11-25
Posts: 84

Re: [SOLVED] Conky and Polybar show different memory usage

It's obvious - they receive data from different sources or in different time points.

Last edited by Lupo Alberto (2019-04-13 18:21:52)

Offline

#3 2019-04-13 18:43:21

natervance
Member
Registered: 2017-04-20
Posts: 52

Re: [SOLVED] Conky and Polybar show different memory usage

Memory management and reporting is rather more messy than most utilities let on. Take a look at the `man free` page, especially how the free command estimates the memory available, to see what I mean. As Lupo Alberto says, presumably polybar and conky obtain these estimates from different sources which go about guessing how much memory is available in different ways.

Offline

#4 2019-04-13 20:02:38

GOKOP
Member
Registered: 2018-04-29
Posts: 45

Re: [SOLVED] Conky and Polybar show different memory usage

Ok then, thanks everyone

Offline

Board footer

Powered by FluxBB