banshee est en développement actif : les collecteurs vont encore changer, et une version que vous publiez demandera sans doute des ajustements. Pour un usage stable, attendez la version 1.0.0.

Linux

banshee/linux-collection/linux/ssh/

memory

Memory of a Linux by SSH: total, used and available as the kernel counts it (MemAvailable).

  • linux
  • ssh
  • memory
  • alpine
  • debian
  • fedora

par banshee1 installation2 versions

v2Dernière

Publiée le 28 octobre 2026. One naming convention across collections; documentation completed.

Memory of a Linux, by SSH

Returns the physical memory, the memory available as the kernel counts it, the used memory and its share. Swap is the linux/ssh/swap collector.

Versions

Generic: /proc/meminfo is written by the kernel the same way on Alpine, Debian and Fedora. A kernel older than 3.14, without MemAvailable, stops the collector misconfigured rather than guess.

How it works

The collector runs cat /proc/meminfo and reads MemTotal and MemAvailable.

  • MemAvailable is the kernel's estimate of what can be given to a program without swapping: free memory plus the caches and buffers that can be dropped. Used memory is MemTotal − MemAvailable: caches do not count as used.
  • Nothing is written on the target.

Prerequisites

  • an SSH account for monitoring, without write rights;
  • the fingerprint of the server's host key, set in protocol:ssh:fingerprint (not needed when the Security settings trust the first SSH fingerprint presented).

Outputs

NameLabelUnitPer instance
totalPhysical memoryMiBno
usedUsed memoryMiBno
availableAvailable memoryMiBno
used-percentUsed memory%no

Watches

NameTitleKindDefaultsChecked by default
memory-highMemory saturatedabove a threshold, on used-percentwarning above 90 %, critical above 95 %, for 3 runsyes
availableLittle memory availablebelow a threshold, on availablecritical below 512 MiB; no warningno

Limits

  • In a container without lxcfs, /proc/meminfo shows the host's memory, not the container's limit.