How to check memory utilization of a Container?
Issue
- How to check memory utilization of a Container?
- We have
memorylimits set to512MiB, however container shows more memory available infreecommand output.
# oc describe po rhel7-sl365
Containers:
...
Limits:
cpu: 8
memory: 8G
Requests:
cpu: 2
memory: 8G
$ oc exec rhel7-sl365 free
total used free shared buff/cache available
Mem: 32931180 5842580 22874396 38092 4214204 26486720
Swap: 0
Environment
- Openshift Container Platform 3
- Red Hat Enterprise Linux (RHEL) 7
- RHEL Atomic
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
