Questions tagged [vmstat]

23 questions
4
votes
1 answer

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-20%(which is normal). I checked for RAM…
OmiPenguin
  • 4,168
  • 34
  • 79
  • 111
3
votes
0 answers

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 -f 2 /usr/bin/vmstat 1 1 | tail -1 | awk '{ print…
Steve
  • 131
  • 3
3
votes
1 answer

"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 can I check as a "one-shot" action (e.g. through a…
trikelef
  • 381
  • 1
  • 4
  • 13
3
votes
1 answer

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

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, which took 200 seconds to complete. sudo perf…
sourcejedi
  • 48,311
  • 17
  • 143
  • 296
3
votes
0 answers

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 and write activity performed by ZFS, in the form…
3
votes
2 answers

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 every 10 seconds. What I want is, my file should…
Alfred
  • 143
  • 1
  • 4
2
votes
1 answer

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 (blocks/s). I wonder what the block device means. Does…
Joey Yi Zhao
  • 211
  • 2
  • 6
  • 12
1
vote
1 answer

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 /proc/meminfo; free -w; vmstat -s I just can't…
Vespene Gas
  • 163
  • 1
  • 6
1
vote
1 answer

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 total number of page allocations done for as long…
Rovanion
  • 921
  • 1
  • 7
  • 17
1
vote
1 answer

what's the meaning of swpd in vmstat

I am using vmstat on my linux machine, and it shows ➜ ~ vmstat …
Chanson
  • 11
  • 4
1
vote
0 answers

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 activity is now less intense. But the sluggishness…
Gerry Lufwansa
  • 513
  • 2
  • 5
  • 15
1
vote
1 answer

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---- -system-- ------cpu----- r b swpd free buff …
Joey Yi Zhao
  • 211
  • 2
  • 6
  • 12
1
vote
0 answers

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 /proc//stat? Because for AIX, I know are…
JiongMingQi
  • 31
  • 1
  • 2
1
vote
2 answers

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 -----------memory---------- ---swap-- -----io---- -system--…
Questionmark
  • 3,885
  • 8
  • 37
  • 57
0
votes
0 answers

In Linux what is the difference between swapping and paging?

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 2761696 K used memory 3647052 K active memory …
1
2