2

This is a sample output from running pidstat.

minflt/s majflt/s   VSZ          RSS    %MEM    kB_rd/s kB_wr/s kB_ccwr/s

49     0          217532      18784   0.01    -1      -1      -1

Can you please tell me how to manipulate the values in terms of high values, low values, zero values and -ve values. Alteast some direction of where to find will be of great help.

Thanks in advance.

quanta
  • 51,413
  • 19
  • 159
  • 217

2 Answers2

1

I have it confirmed that the values cannot be -1. But if you get a -1 value it simple means the corresponding setting is missing from the setting file in config under boot dir.

1

Only root can access disk statistics for processes that they do not own. Try to execute pidstat with sudo.

Dave M
  • 4,514
  • 22
  • 31
  • 30
carlos
  • 31
  • 1