Bookmarks

Yahoo Gmail Google Facebook Delicious Twitter Reddit Stumpleupon Myspace Digg

Search queries

php save mails as eml, WWWXXXAPC, sqlexpress database file auto-creation error, sqlexpress database file auto-creation error, dbf2mysql parameter, wwwxxxAPC, How to unsubscrube from dategen spam, docmd.close 2585, WWWXXXDOCO, nu vot

Links

XODOX
Impressum

#1: process wait channel (WCHAN) and alarm?

Posted on 2003-06-03 13:22:17 by Herta Van den Eynde

Where can I find the meaning of the different channels a process can be
waiting in? And what do the alarm values represent?
(Rightmost colums in 'ps -eo pid,user,cmd,alarm,wchan')

Hert

--
Herta Van den Eynde -=- Toledo system management
K.U. Leuven - Ludit -=- phone: +32 (0)16 322 166

"For something fulfilled this hour, loved or endured."
(W.H. Auden)


-
To unsubscribe from this list: send the line "unsubscribe linux-admin" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html

Report this message

#2: Re: process wait channel (WCHAN) and alarm?

Posted on 2003-06-03 13:43:37 by Glynn Clements

Herta Van den Eynde wrote:

> Where can I find the meaning of the different channels a process can be
> waiting in?

The WCHAN value is the name of the kernel function in which the
process is currently blocked.

> And what do the alarm values represent?

The delay (in seconds) of an outstanding timer, as set by alarm() or
setitimer().

--
Glynn Clements <glynn.clements@virgin.net>
-
To unsubscribe from this list: send the line "unsubscribe linux-admin" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html

Report this message

#3: Re: process wait channel (WCHAN) and alarm?

Posted on 2003-06-03 13:59:47 by Herta Van den Eynde

Fine. I can see how alarm works.

Can you give me more details on how to find out what kernel functions
such as rt_sigsuspend, pause, ... imply?

Herta

Glynn Clements wrote:

>Herta Van den Eynde wrote:
>
>
>
>>Where can I find the meaning of the different channels a process can be
>>waiting in?
>>
>>
>
>The WCHAN value is the name of the kernel function in which the
>process is currently blocked.
>
>
>
>>And what do the alarm values represent?
>>
>>
>
>The delay (in seconds) of an outstanding timer, as set by alarm() or
>setitimer().
>
>
>

--
Herta Van den Eynde -=- Toledo system management
K.U. Leuven - Ludit -=- phone: +32 (0)16 322 166

"For something fulfilled this hour, loved or endured."
(W.H. Auden)



-
To unsubscribe from this list: send the line "unsubscribe linux-admin" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html

Report this message

#4: Re: process wait channel (WCHAN) and alarm?

Posted on 2003-06-03 14:15:57 by Glynn Clements

Herta Van den Eynde wrote:

> Fine. I can see how alarm works.
>
> Can you give me more details on how to find out what kernel functions
> such as rt_sigsuspend, pause, ... imply?

In many cases, the name is related to a system call, which will have a
manual page (in section 2). E.g. rt_sigsuspend suggests the
sigsuspend() system call; "man 2 sigsuspend" says (amongst other
things):

int sigsuspend(const sigset_t *mask);

...

The sigsuspend call temporarily replaces the signal mask
for the process with that given by mask and then suspends
the process until a signal is received.

Similarly, do_select() is related to select() etc.

In other cases, you might have to refer to the kernel's source code to
determine the nature of a function.

--
Glynn Clements <glynn.clements@virgin.net>
-
To unsubscribe from this list: send the line "unsubscribe linux-admin" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html

Report this message