Questions tagged [vmstat]

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

40 questions
0
votes
1 answer

how can I tell if there is a cpu trashing on my linux machine

I want to write a script that will kill my processes when my machine is doing "too much" swapping of process memory from disk to memory. What is the best way to determine that? I saw top has %wa and iostat has iowait data. vmstat has swap in and…
oshai
  • 109
  • 2
0
votes
1 answer

What to do if bo value in vmstat is too high?

I don't know what to do about high bo values is vmtstat. bi is 0 but bo is about 6000. So I don't know what that means and what to do. The application running on server is hanging. I don't know if it is because of that bo value. But if it is, what…
ramazan polat
  • 148
  • 2
  • 10
0
votes
2 answers

Vmstat seems to give non-standard values?

We have a proprietry system, which runs on Tru64 Unix. It is a terminal based system. We are able to use the login 'vmstat' to the system which brings up a vmstat-like view. However, the information displayed is slightly different from the standard…
0
votes
2 answers

load average in top and procs in vmstat

As far as I know, the load average in top is the numbers of precess(threads) in running or uninterrupted sleep status, So it should be equal to (procs-r +1 )+ procs-b in vmstat, but in practice, this two number always have big gap. Any wrongs in my…
Mingfei.hua
  • 3
  • 1
  • 4
0
votes
1 answer

VMstat explanation needed

can somebody explain me this graph please? What does it show? What those green peaks mean?
Worker
  • 647
  • 1
  • 6
  • 9
0
votes
3 answers

what kind of context switch is counted in the cs parameter in the output of vmstat command

vmstat provides a counter cs for context switch. As this explains, the context switch can be from one process to another , kernel to user or due to a interrupt being fired. Does the cs give a total of this?If so, is there a way I can get an…
doon
  • 119
  • 2
  • 6
0
votes
1 answer

running vmstat around a command

Im trying to automate a long list of database experiments. I would like to save vmstat output while specific parts of the experiments are running. Does something exist along the lines of time(1) or script(1) that I could use to say: " While this…
svrist
  • 183
  • 7
0
votes
1 answer

sar and top show high cpu usage, but vmstat and ps show low cpu usage. Why?

I'm diagnosing a high CPU usage event, and I found a weird difference between numbers from ps/vmstat, which show almost 0%, and sar/top, which show almost 100% (user + system): sar 1 5 Linux 2.6.9-67.ELsmp (uxdfl712) 07/25/2020 01:48:31 PM …
-1
votes
2 answers

vmstat output incompatible

as you can see when run a vmstat like below. bash-3.00# vmstat 1 5 kthr memory page disk faults cpu r b w swap free re mf pi po fr de sr m1 m1 m1 m2 in sy cs us sy…
Olgun Kaya
  • 137
  • 2
  • 10
-1
votes
1 answer

How do I troubleshoot high vmstat sy

I have a Solaris server with very high vmstat sy time. What tools can I use to identify which process is causing the high system cpu usage? kthr memory page disk faults cpu r b w swap free re mf pi po…
user99959
  • 1
  • 1
1 2
3