Merge pull request #294 from Stunkymonkey/remove_memory_discussion

forgot to remove memory discussion from man page (it is implemented)
This commit is contained in:
Ingo Bürk 2018-06-30 06:52:58 +02:00 committed by GitHub
commit c5ad20bf50
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -669,25 +669,12 @@ is set to +xmobar+.
i3status | xmobar -o -t "%StdinReader%" -c "[Run StdinReader]" i3status | xmobar -o -t "%StdinReader%" -c "[Run StdinReader]"
--------------------------------------------------------------------- ---------------------------------------------------------------------
== What about memory usage or CPU frequency? == What about CPU frequency?
While talking about two specific things, please understand this section as a While talking about specific things, please understand this section as a
general explanation why your favorite information is not included in i3status. general explanation why your favorite information is not included in i3status.
Lets talk about memory usage specifically. It is hard to measure memory in a Lets talk about CPU frequency specifically. Many people dont understand how
way which is accurate or meaningful. An in-depth understanding of how paging
and virtual memory work in your operating system is required. Furthermore, even
if we had a well-defined way of displaying memory usage and you would
understand it, I think that its not helpful to repeatedly monitor your memory
usage. One reason for that is that I have not run out of memory in the last few
years. Memory has become so cheap that even in my 4 year old notebook, I have
8 GiB of RAM. Another reason is that your operating system will do the right
thing anyway: Either you have not enough RAM for your workload, but you need to
do it anyway, then your operating system will swap. Or you dont have enough
RAM and you want to restrict your workload so that it fits, then the operating
system will kill the process using too much RAM and you can act accordingly.
For CPU frequency, the situation is similar. Many people dont understand how
frequency scaling works precisely. The generally recommended CPU frequency frequency scaling works precisely. The generally recommended CPU frequency
governor ("ondemand") changes the CPU frequency far more often than i3status governor ("ondemand") changes the CPU frequency far more often than i3status
could display it. The display number is therefore often incorrect and doesnt could display it. The display number is therefore often incorrect and doesnt
@ -699,10 +686,9 @@ a WiFi network or not, and if you have enough disk space to fit that 4.3 GiB
download. download.
However, if you need to look at some kind of information more than once in a However, if you need to look at some kind of information more than once in a
while (like checking repeatedly how full your RAM is), you are probably better while, you are probably better off with a script doing that, which pops up.
off with a script doing that, which pops up an alert when your RAM usage reaches After all, the point of computers is not to burden you with additional boring
a certain threshold. After all, the point of computers is not to burden you tasks like repeatedly checking a number.
with additional boring tasks like repeatedly checking a number.
== External scripts/programs with i3status == External scripts/programs with i3status