question for a column of ps reporting

Ask a Question related to Linux / Unix Administration, Design and Development.

  1. #1

    Default question for a column of ps reporting

    Hi,

    What does WCHAN mean in ps reporting? In this column, what does
    "schedu" mean? Why a process is set to "schedu" or just "-"?

    Alex
    Alex Shi Guest

  2. Similar Questions and Discussions

    1. Datagrid column question
      I have a problem with my datagrid columns populating with content. Here's the xml structure: Code: <headline>Bridgeport...
    2. Quiz reporting question
      Is it possible to lock down the email messages that are generated once a Captivate Quiz is completed so that users can not edit the message? //...
    3. Table column question
      Right now I'm using this code on the display page and it is giving me a list of role profiles under a job family heading. It works fine but when...
    4. One Question - which column?
      Ok, how about just one of the previous questions. Here are the columns in my datagrid: <Columns> <asp:BoundColumn Visible="False"...
    5. datagrid question: template column
      how to capture button click event (created under template column) ? should i used javascript? could you give me sample program? and is it possible...
  3. #2

    Default Re: question for a column of ps reporting

    Alex Shi wrote:
    >
    > What does WCHAN mean in ps reporting? In this column, what does
    > "schedu" mean? Why a process is set to "schedu" or just "-"?
    Did you try reading the man page? Here's the exerpt from AIX:

    WCHAN
    (-l flag) The event for which the process or kernel thread is waiting or
    sleeping. For a kernel thread, this field is blank if the kernel thread is
    running. For a process, the wait channel is defined as the wait channel of the
    sleeping kernel thread if only one kernel thread is sleeping; otherwise a star
    is displayed.

    WCHAN
    (l flag) The event on which process is waiting (an address in the system). A
    symbol is chosen that classifies the address, unless numerical output is
    requested.

    So it's what the thread is waiting for. Looks like you chose the
    option to classify the address to get "schedu". Your vendor's
    man page should define that but my best guess is it means the
    thread is runable and waiting to get scheduled some runtime.
    Doug Freyburger Guest

  4. #3

    Default Re: question for a column of ps reporting

    In article <tZlLc.10276$OD2.4249@nntp-post.primus.ca>,
    Alex Shi <chpshi@stonix.com> wrote:
    >What does WCHAN mean in ps reporting?
    That's the "wait channel". When a process requests some service from the
    kernel that can't be satisfied immediately (for example, input from a tty, a
    block from some file that must be read from disk, or even an explicit request
    to sleep for a while), it is put to sleep. Whatever puts the process to sleep
    (a driver or some other part of the kernel) selects an address to use as a
    "tag" for the event that will eventually wake it up. When the event occurs,
    any processes waiting on that address will be waked up.
    > In this column, what does "schedu" mean? Why a process is set to "schedu"
    > or just "-"?
    If there's no wait channel, the process is in some state other than waiting on
    an event at its own request. It might be running, suspended, in the process of
    being created or destroyed, waiting for blocks of its executable to be paged
    in, running under a debugger, etc.

    John
    --
    John DuBois [email]spcecdt@armory.com[/email] KC6QKZ/AE [url]http://www.armory.com/~spcecdt/[/url]
    John DuBois Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139