aboutsummaryrefslogtreecommitdiffstats
path: root/node-admin/src/main/java/com/yahoo/vespa/hosted/node/admin/nodeadmin/ProcMeminfo.java
blob: a1f750a34e3bedfef3291a6e1d8a4ac603a99b53 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
// Copyright Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
package com.yahoo.vespa.hosted.node.admin.nodeadmin;

/**
 * Represents /proc/meminfo, see proc(5).
 *
 * @param memTotalBytes     Total usable RAM (i.e., physical RAM minus a few reserved bits and the kernel binary code).
 * @param memAvailableBytes An estimate of how much memory is available for starting new applications, without swapping.
 *
 * @author hakon
 */
public record ProcMeminfo(long memTotalBytes, long memAvailableBytes) { }