Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 26 May 2003 13:06:43 -0400 (EDT)
From:      anclo@anclo.com
To:        freebsd-questions@FreeBSD.org
Subject:   vmstat: which processes are blocked?
Message-ID:  <1053968803.3ed249a339e1a@vmail.3dresearch.com>

next in thread | raw e-mail | index | archive | help
Hello All,

my vmstat output shows that there 2 processes blocked all the time:

# vmstat -w 2
 procs      memory      page                    disks     faults      cpu
 r b w     avm    fre  flt  re  pi  po  fr  sr ad0 ad1   in   sy  cs us sy id
 0 2 0    8304  22004    1   0   0   0   1   0   0   0  248   53  14  0  1 99
 0 2 0    8304  22004    2   0   0   0   0   0   0   0  287  122  29  0  2 98
 0 2 0    8304  22004    2   0   0   0   0   0   0   0  279   94  26  0  2 98
 0 2 0    8304  22004    3   0   0   0   0   0   0   0  282  105  26  0  2 98
 0 2 0    8732  22004    2   0   0   0   0   0   0   0  287  120  31  0  2 98
 0 2 0    8336  22004    3   0   0   0   0   0   0   0  276   99  26  0  2 98
 0 2 0    8336  22004    2   0   0   0   0   0   0   0  285  120  28  0  2 98
 0 2 0    8336  22004    2   0   0   0   0   0   0   0  277   96  25  1  2 98
 0 2 0    8336  22004    3   0   0   0   0   0   0   0  287  113  30  0  3 97
 0 2 0    8336  22004    2   0   0   0   0   0   0   0  310  152  39  1  3 96
 0 2 0    7204  22004    3   0   0   0   0   0   0   0  283  107  28  1  3 96
 0 2 0    7204  22004    2   0   0   0   0   0   0   0  282  110  28  0  3 97
 0 2 0    7204  22004    2   0   0   0   0   0   0   0  278   96  27  1  1 98
 0 2 0    7204  22004    3   0   0   0   0   0   0   0  264   79  23  0  1 98
 0 2 0    6776  22004    2   0   0   0   0   0   0   0  269   92  23  0  1 99
 0 2 0    6776  22004    3   0   0   0   0   0   0   0  269   81  24  0  2 98
 0 2 0    6776  22004    2   0   0   0   0   0   0   0  268   82  23  0  2 98
 0 2 0    6776  22004    2   0   0   0   0   0   0   0  272   86  24  0  2 98
 0 2 0    6776  22004    3   0   0   0   0   0   0   0  282  109  28  0  1 98
 0 2 0    7204  22004    2   0   0   0   0   0   0   0  273   98  25  0  3 97
 1 2 0    7204  22004    3   0   0   0   0   0   0   0  285  107  31  0  2 98
 0 2 0    8820  22004    2   0   0   0   0   0   0   0  282  107  27  0  1 98
 0 2 0    8820  22004    2   0   0   0   0   0   0   0  274   86  24  0  2 97
 0 2 0    8820  22004    3   0   0   0   0   0   0   0  259   65  20  0  1 99
 0 2 0    8820  22004    2   0   0   0   0   0   0   0  311  154  38  1  2 98
 0 2 0    9216  22004   58   0   0   0  55   0   0   0  291  238  37  0  4 96
 0 2 0    9216  22004    2   0   0   0   0   0   0   0  296  132  31  0  2 98
 1 2 0    9216  22004    2   0   0   0   0   0   0   0  290  118  30  1  2 97
 0 2 0    9216  22004    3   0   0   0   0   0   0   0  290  117  30  1  2 97
 0 2 0    9216  22004    2   0   0   0   0   0   0   0  286  112  30  0  1 99
 0 2 0    7600  22004    3   0   0   0   0   0   0   0  283  107  30  1  2 98
 0 2 0    7600  22004    2   0   0   0   0   0   0   0  269   88  23  0  2 98
 0 2 0    7600  22004    2   0   0   0   0   0   0   0  259   62  19  0  2 98
 0 2 0    7600  22004    3   0   0   0   0   0   1   0  268   81  22  0  2 98
 0 2 0    7600  22004    2   0   0   0   0   0   0   0  276  110  26  0  1 99
 0 2 0    7204  22004    3   0   0   0   0   0   0   0  279  103  28  0  1 99
 0 2 0    7204  22004    2   0   0   0   0   0   0   0  270   90  24  0  1 98
 0 2 0    7204  22004    2   0   0   0   0   0   0   0  264   70  21  0  2 98
 0 2 0    7204  22004    3   0   0   0   0   0   0   0  268   81  24  0  1 99
^C

- How do I find out which ones are the blocked processes?

- Why are these processes blocked? Seems I have free memory and the hard drive 
usage is pretty low, too.

Hope you can give some insight,

Anclo



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1053968803.3ed249a339e1a>