Questions tagged [vmstat]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
3
votes
0answers
22 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 -...
0
votes
1answer
24 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 /...
1
vote
1answer
54 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 ...
-1
votes
1answer
116 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) ...
0
votes
1answer
144 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 ...
0
votes
1answer
26 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 ...
0
votes
1answer
312 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(...
1
vote
2answers
1k views

what's the meaning of swpd in vmstat

I am using vmstat on my linux machine, and it shows ➜ ~ vmstat ...
3
votes
1answer
35 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 ...
2
votes
1answer
1k 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, ...
0
votes
4answers
972 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 ...
0
votes
1answer
72 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?
1
vote
0answers
1k views

vmstat: Very high interrupts (system.in) & context switches (system.cs)

My desktop PC has been quite sluggish lately, especially after I leave it overnight and then start using it again the next morning. I've tried decreasing swappiness (current value is 5) and the disk ...
1
vote
1answer
1k views

How to understand the IO output from vmstat?

I use vmstat to get IO stats from ubuntu linux. Below is the description of this command: IO bi: Blocks received from a block device (blocks/s). bo: Blocks sent to a block device (...
0
votes
1answer
746 views

vmstat doesn't return the correct value on the first time run

I am using vmstat on ubuntu linux to get cpu usage. My current cpu is very busy at almost 100%. If I run vmstat like below: $ vmstat procs -----------memory---------- ---swap-- -----io---- -...
-1
votes
1answer
104 views

Why swpd is above 0 but si & so = 0 all the time

I've been monitoring my Centos with vmstat 1 $ cat /etc/centos-release CentOS Linux release 7.3.1611 (Core) Here is the output: So why swpd is above 0 but si & so = 0 all the time Could someone ...
3
votes
1answer
1k views

System Usage 80% and User CPU usage 20%

Company purchased HP Gen 9 Server to be used for Oracle Applications. Today while doing daily system check Top show that System Area CPU Usage is 80%(Certainly not normal)while User Area Usage is 17-...
-1
votes
1answer
430 views

What does the “buff” column represents in vmstat output?

I am trying to ascertain the meaning of buff column in vmstat output. The manpage says that it represents the amount of memory used as buffers. Which buffers are being talked about here? I ran an ...
3
votes
0answers
86 views

Does ZFS reads and writes show up in vmstat -p output

I am aware of ZFS not using the regular file system cache for caching pages for reads or writes (ZFS uses ARC and ZILs). My question is would "vmstat -p" on a recent Solaris machine also reflect read ...
3
votes
2answers
2k views

How to insert vmstat output to a file maintaining only the latest entry always

I want to insert vmstat output to a file in every 10 seconds. I use the following command to do it. vmstat 10 > vmstatfile.txt This will create a file named vmstatfile.txt and appends to it, on ...
1
vote
0answers
377 views

what does vmstat “r” mean?

I'm recently started studying RHEL. But I'm not sure, what does vmstat column "r" mean? does it include kernel and user thread? or only kernel thread? does vmstat command read /proc/stat or traversal ...
1
vote
2answers
1k views

Reset vmstat statistics without rebooting

Running vmstat will give you the average virtual memory usage since last reboot. The si and so values give the average virtual memory I/O. For example: root@mymachine# vmstat procs -----------...