Questions tagged [vmstat]

CLI tool that reports information about processes, memory, paging, block IO, traps, and cpu activity

40 questions
2
votes
1 answer

how to efficiently monitor system stat using vmstat?

Am getting the real-time memory stats from vmstat command. I did this using following steps: $ nohup vmstat 60 > vmstatrecord.app & the command executes in background and writes the log to the file vmstatrecord.app. When i see use the command $ ps…
subash
  • 21
  • 4
2
votes
1 answer

Huge CS value in #vmstat - what does it mean?

Here is the output for #vmstat for my VPS (Parallels virtualization): procs -----------memory---------- ---swap-- -----io---- --system-- -----cpu------ r b swpd free buff cache si so bi bo in cs us sy id wa st 0 0 0…
soupagain
  • 141
  • 1
  • 3
2
votes
1 answer

inonice not working properly in xen dom0

I have a Xen Dom0 (3.2) with a bunch of domUs (paravirt). DomU VBDs are on local LVM volumes. Now I want to get backups of the LVM volumes using snapshots. I use rsync ioniced to idle (ionice -c3). I have verified that the rsync processes are really…
tim
  • 1,217
  • 3
  • 11
  • 23
2
votes
1 answer

Very long IO wait times

Following scenario has happened twice with different RAID controllers. One was LSI MegaRAID running RAID5, the second was HP Smart Array E200i running RAID1. At first server works smoothly for few years. Then people start complaining about…
Jacek Prucia
  • 470
  • 6
  • 11
1
vote
2 answers

3 different methods to count the number of context switches for a specific workload provide 2 different answers

I have a Centos7 system on a Google cloud machine, running a multithreaded database server that executes a particular set of queries in 70 secs (plus or minus 1 sec). I want to know how many context switches the server makes running this…
1
vote
2 answers

Interpretation of non-zero vmstat “bi/bo” values

What are useful rule-of-thumbs with regard to interpreting non-zero vmstat "bi/bo" values? When are the values "okay" and when are they an indication of that the system is under heavy stress? The question is of course hard to answer in the general…
knorv
  • 1,799
  • 6
  • 19
  • 29
1
vote
1 answer

Two identical servers, one of them have 2x CPU load

Http requests are splitted 50/50 between two servers. Servers are running FreeBSD 9.2, their hardware, software & application configurations are absolutely identical. But one of servers is getting 2x CPU load. During traffic peaks this fact causes…
Kirzilla
  • 563
  • 3
  • 9
  • 21
1
vote
1 answer

Advice on web server performance troubleshooting is needed

I'm renting a virtual CentOS based server where I have about 5 active sites running. Several months ago I noticed a significant performance degradation in how my sites are running. First symptom was too many (~300) apache processes running after…
Alexey
  • 11
  • 1
1
vote
1 answer

vmstat is consuming most of the CPU power

when I issue the vmstat command without any parameter I get this result: # vmstat procs -----------memory---------- ---swap-- -----io---- --system-- -----cpu------ r b swpd free buff cache si so bi bo in cs us sy id wa st 7 117…
ramazan polat
  • 148
  • 2
  • 10
1
vote
0 answers

High Load Average in Solaris Operating System - Due to high read I/O

In Linux OS, the load average is dependent on multiple factors like CPU utilization, number of uninterruptible sleep processes, and others. On the other hand, Solaris OS load average is dependent on the number of runnable and running processes. I…
1
vote
3 answers

How much resources does vmstat really use?

We have a server running Tru64 Unix, which is our main production server for a single application our organisation uses. The software vendor has complete control of the hardware and software (we still administer the software, but have no root…
Michael Galos
  • 153
  • 1
  • 5
0
votes
0 answers

runqueue length in vmstat and sar

i am looking at the vmstat output to assess certain performance degradation on our systems, specifically for long runqueue. i find frequently it looks like this on a 8 CPU m/c: Mon Jun 13 12:14:02 2016 procs -----------memory---------- ---swap--…
raven
  • 1
0
votes
1 answer

Is the run-queue column in vmstat a sum of values or just one measurement?

When I run vmstat on a RHEL 6.6 machine with a time interval I sometimes see the run-queue column jump to "high" values. I know the first line reported by vmstat is averages since the machine booted but what about the following lines? Is the…
Ola Mattsson
  • 15
  • 1
  • 3
0
votes
1 answer

Vmstat indicates memory is disappearing

I wanted to profile the memory usage of a script. Here's the output before it was running: procs -----------memory---------- ---swap-- -----io---- -system-- ----cpu---- r b swpd free buff cache si so bi bo in cs us sy id wa 0 …
jimbotron
  • 3
  • 1
0
votes
2 answers

vmstat spend writing/reading explaination

I ran vmstat -D for 1s interval and take the different of milli reading/writing between two interval. Then I start copy a file to test. bytes write per secs is 23.9M/s, and mili writing is 7244. As vmstat documentation, mili writing is time spend…
ntcong
  • 101
  • 3