Skip to main content

Questions tagged [vmstat]

1 vote
1 answer
223 views

Understanding `pgpgin` in `/proc/vmstat` as I/O Counters: Relationship with I/O Bandwidth Measurements

Hi Kernel I/O Experts, I have a question regarding the pgpgin and pgpgout counters in /proc/vmstat, specifically focusing on pgpgin. I’ve been exploring performance monitoring tools like vmstat and ...
JGL's user avatar
  • 161
1 vote
0 answers
198 views

Completely confused with vmstat

So, from what I've found, there are multiple versions of vmstat out there for various OSes like Linux, BSD, and Solaris. I'm referring to Linux's vmstat procps-ng 3.3.17 . Now, to be more specific, ...
Stan's user avatar
  • 11
0 votes
0 answers
44 views

In Linux what is the difference between swapping and paging? [duplicate]

I am trying to figure out what the difference is between paging and swapping on linux. My question mainly relates to the output vmstat gives you. Example: $ vmstat -s 8022500 K total memory ...
Lasse Jacobs's user avatar
3 votes
0 answers
289 views

Calculating Free Memory using kstat vs vmstat vs mdb

In attempting to calculate the free memory under Solaris 10, I noticed I get different results using vmstat versus kstat or mdb. The basic commands: /usr/bin/kstat -p unix::system_pages:freemem | cut -...
Steve's user avatar
  • 131
1 vote
1 answer
1k views

Linux memory calculation and mearsure: what plus what equals to what?

I've read some articles about Linux memory management and understand (perhaps not proficient) the concept of free memory, available memory, swap, etc. But when I check with the following command: cat /...
Vespene Gas's user avatar
1 vote
1 answer
542 views

What does pgalloc_(dma|dma32|normal|movable) in /proc/vmstat measure?

My /proc/vmstat contains the following rows: pgalloc_dma 0 pgalloc_dma32 288126724 pgalloc_normal 33952724486 pgalloc_movable 0 I'm wondering what they are measurements of. Are they counters of the ...
Rovanion's user avatar
  • 1,121
-1 votes
1 answer
4k views

How to check memory utilization in solaris 11 machine?

May I know how to calculate total memory utilization and percent of a Solaris 11.3 machine? Am I wrong in below calculation? or any other way? memfree=$(vmstat 1 2 | awk '{print $5}' | tail -1) ...
Dastageer Umar's user avatar
0 votes
1 answer
412 views

How to remove the average from vmstat?

In the man vmstat there is the following explanation about the first line: The first report produced gives averages since the last reboot. Additional reports give information on a sampling period ...
Astora's user avatar
  • 519
0 votes
1 answer
131 views

vmstat - Threads Waiting for Runtime vs Load Average?

I've read in a few places now that "load average" shown in top, uptime, and other places is based on the "average length of run queue". I'm looking at the first column in vmstat with the header r1 ...
Philip Kirkbride's user avatar
0 votes
1 answer
1k views

How do I determine amount of resources that Docker host needs to provision to a container, by inspecting a running system?

My goal is to define container definitions("ContainerDefinitions") with appropriate memory size needed in RAM to launch the docker container. For example, below code snippet for jenkins container(...
overexchange's user avatar
  • 1,596
1 vote
1 answer
3k views

what's the meaning of swpd in vmstat

I am using vmstat on my linux machine, and it shows ➜ ~ vmstat ...
Chanson's user avatar
  • 11
3 votes
1 answer
101 views

"One-shot" swapping activity monitoring

I am trying to monitor the swapping activity in a Linux Server in the last, say, 1, 5 or 15 minutes. One way is to run vmstat and keep watching si and so counters during these intervals. However how ...
trikelef's user avatar
  • 470
3 votes
1 answer
4k views

IO wait time is higher than disk utilization. Isn't this impossible? [duplicate]

I am trying to improve my understanding, following this (so far) unanswered question: Possible limiting factor during upgrade of Fedora VM - not disk or cpu or network? I ran the following test load, ...
sourcejedi's user avatar
  • 53.5k
0 votes
4 answers
2k views

Match the column heading and print the values of the column using awk

How to print column free using awk or sed command? Depends on vmstat version column, free may change from column number 5 to something else. bash-3.00$ vmstat 1 1|tail -2 r b w swap free re mf pi po ...
Anavarathan's user avatar
0 votes
1 answer
126 views

CPU section in vmstat

The man page for vmstat states, for example for wa section, " time spent waiting for IO" but what is the unit of time? Is it in seconds?
Maxxy's user avatar
  • 1

15 30 50 per page