On 02/27/2011 18:00, David Xu wrote:
I think in normal case, pthread_cond_signal will wake up one thread,
but other events for example, UNIX signal and fork() may interrupt
a thread sleeping in kernel, and cause pthread_cond_wait to return
to userland, this is called spurious wakeup, and other
Hi,
without procfs, there is a way to get usertime and systime from a
running process?
Thiago
___
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to
On Wed, 2011-03-16 at 14:02 -0300, Thiago Damas wrote:
Hi,
without procfs, there is a way to get usertime and systime from a
running process?
Maybe:
ps axwwwo pid,time,command
According to ps(1):
time ... accumulated cpu time, user + system
Unfortunately, I'm not able to find a
In the last episode (Mar 16), Thiago Damas said:
Hi,
without procfs, there is a way to get usertime and systime from a
running process?
Try applying the attached patch to ps. I've had it for a while but never
submitted a PR.
Heh. I've had it for a very long time.
Hi,
the patch worked for me, using RELENG_8_2
Very thanks!
Thiago
2011/3/16 Dan Nelson dnel...@allantgroup.com:
In the last episode (Mar 16), Thiago Damas said:
Hi,
without procfs, there is a way to get usertime and systime from a
running process?
Try applying the attached
On Wed, 2011-03-16 at 12:56 -0500, Dan Nelson wrote:
In the last episode (Mar 16), Thiago Damas said:
Hi,
without procfs, there is a way to get usertime and systime from a
running process?
Try applying the attached patch to ps. I've had it for a while but never
submitted a PR.
On Wed, Mar 16, 2011 at 12:56:14PM -0500, Dan Nelson wrote:
In the last episode (Mar 16), Thiago Damas said:
Hi,
without procfs, there is a way to get usertime and systime from a
running process?
Try applying the attached patch to ps. I've had it for a while but never
submitted a
On Wed, 16 Mar 2011 14:42:22 -0500, Devin Teske dte...@vicor.com wrote:
+1 useful.
I'd like to see this committed.
Agreed.
___
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send
In the last episode (Mar 16), Kostik Belousov said:
On Wed, Mar 16, 2011 at 12:56:14PM -0500, Dan Nelson wrote:
In the last episode (Mar 16), Thiago Damas said:
Hi,
without procfs, there is a way to get usertime and systime from a
running process?
Try applying the attached
On 2011/03/16 23:23, Yuri wrote:
On 02/27/2011 18:00, David Xu wrote:
I think in normal case, pthread_cond_signal will wake up one thread,
but other events for example, UNIX signal and fork() may interrupt
a thread sleeping in kernel, and cause pthread_cond_wait to return
to userland, this is
On Wed, Mar 16, 2011 at 6:54 PM, David Xu davi...@freebsd.org wrote:
On 2011/03/16 23:23, Yuri wrote:
On 02/27/2011 18:00, David Xu wrote:
I think in normal case, pthread_cond_signal will wake up one thread,
but other events for example, UNIX signal and fork() may interrupt
a thread sleeping
11 matches
Mail list logo