Find the answer to your Linux question:
Results 1 to 2 of 2
hi, can anyone please tell me the difference between wait_f, wait4 and schedule, which we find under the column WCHAN when we enter the command ps -l?...
  1. #1
    Just Joined!
    Join Date
    Nov 2007
    Posts
    27

    process status information(wait_f,wait4,schedule)

    hi,
    can anyone please tell me the difference between wait_f, wait4 and schedule, which we find under the column WCHAN when we enter the command ps -l?

  2. #2
    Linux Engineer wje_lf's Avatar
    Join Date
    Sep 2007
    Location
    Mariposa
    Posts
    1,192
    When I enter this at the bash prompt:
    Code:
    man ps
    I get (among other output) this:
    Code:
    nwchan     WCHAN    address of the kernel function where the process is
                        sleeping (use wchan if you want the kernel function name).
                        Running tasks will display a dash ('-') in this column.
    
    wchan      WCHAN    name of the kernel function in which the process is
                        sleeping, a "-" if the process is running, or a "*" if the
                        process is multi-threaded and ps is not displaying
                        threads.
    To go beyond that, you'll have to browse through kernel source, unless there's a kernel guru around here who wishes to step up to the plate.

    Hope this helps.
    --
    Bill

    Old age and treachery will overcome youth and skill.

Posting Permissions

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