Re: "busy" load counters

From: dada1 (dada1_at_cosmosbay.com)
Date: 09/13/03

  • Next message: Dmitri Katchalov: "2.6.0-test5 atkbd.c: Unknown key (100% reproduceable)"
    To: "Albert Cahalan" <albert@users.sourceforge.net>, "linux-kernel mailing list" <linux-kernel@vger.kernel.org>
    Date:	Sat, 13 Sep 2003 10:36:22 +0200
    
    

    From: "Albert Cahalan" <albert@users.sourceforge.net>
    > The feature is available, but you'll need to upgrade
    > to procps-3.1.12 and linux-2.6.0-test4 at least.
    >
    > http://www.kernel.org/pub/linux/kernel/v2.6/
    > http://procps.sf.net/
    >

    With procps-3.1.12 and linux-2.6.0-test5, top and ps reports 0.00 time for
    multi-threaded programs.

    It seems only the 'main' thread is now visible in /proc, and its cpu time
    dont include the cpu time of other threads...

    Example :

    root 1238 0.0 0.0 2692 1576 pts/1 S 08:13 0:00 /bin/bash
    root 1293 0.0 0.0 2692 1576 pts/1 S 08:14 0:00 /bin/bash
    root 1298 0.0 19.5 716016 658460 pts/1 S 08:14 0:00 ./server
    ! THIS process certainly has wrong TIME
    root 2465 0.0 0.0 2672 1564 pts/2 S 10:19 0:00 -bash

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


  • Next message: Dmitri Katchalov: "2.6.0-test5 atkbd.c: Unknown key (100% reproduceable)"

    Relevant Pages

    • Re: [patch] voluntary-preempt-2.6.9-rc3-mm2-T0
      ... > fundamentally wrong - ksoftirqd must never use that much CPU time on an ... would you try this patch below that I posted yesterday? ... today realize it's probably what I've been hunting - I'm ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: 2.6.14 kswapd eating too much CPU
      ... cat /proc/zoneinfo gets you ... Also - when you say "too much cpu time", ... Send instant messages to your online friends http://au.messenger.yahoo.com ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: RFA: Changing scheduler quantum (Was: REQUEST: OpenLDAP 2.3.7)
      ... tell us what the kernel should do all over again. ... multiple tasks are running prior to expiration on the active runqueue. ... wanting cpu time on the active runqueue. ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: [Question]How to restrict some kind of task?
      ... > I want to restrict some kind of task. ... > 40% CPU time, ... Don't requeue after dequeue. ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: PATCH: cdrecord: avoiding scsi device numbering for ide devices
      ... >> An option to reserve some portion of CPU time for ... I hate to derail a good flame-fest, but this would be extremely useful, ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)