From owner-freebsd-stable@FreeBSD.ORG Tue Jun 29 09:25:26 2010 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1C157106566B for ; Tue, 29 Jun 2010 09:25:26 +0000 (UTC) (envelope-from pluknet@gmail.com) Received: from mail-wy0-f182.google.com (mail-wy0-f182.google.com [74.125.82.182]) by mx1.freebsd.org (Postfix) with ESMTP id A02848FC17 for ; Tue, 29 Jun 2010 09:25:25 +0000 (UTC) Received: by wyb34 with SMTP id 34so1906802wyb.13 for ; Tue, 29 Jun 2010 02:25:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:date:message-id :subject:from:to:content-type; bh=Rw8+10IjOH+UEqHQAbt0+8Ei6JUNveDDe9EaRpB3lnU=; b=mZ0l8t54Pc5Y9vyDqkMjfM6YjYBrl01XDS9m5IDOezJluoIiewbzmA2I+US7iTiX2I T/ch2MYQvUVuxqPYlYOFvtWLgJCjEaM2u/JXsNK3UBKlGYy/h3a50BByhFMK9OrFDtsZ 7HfLo1KDPDtUQyYZ6cOyfJCLvtvnCNc+y6UNE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=CT/rz8VU0ePWHMnddA217JxJ/43CgMhY7ATloSVoPtZZZwTbMvLEfij86P6cQV/DMo l5hc9CHtR2VGzm7oarrwxU8NQDuVOVMcRT+pKFh4gcz+hi/YOAtaFu4+CrQL7U/gRoSv 1hf81Jh4NQC/smrZShZIp0sAOpyGUSD6VKofQ= MIME-Version: 1.0 Received: by 10.227.127.83 with SMTP id f19mr4940522wbs.83.1277803519218; Tue, 29 Jun 2010 02:25:19 -0700 (PDT) Received: by 10.216.37.68 with HTTP; Tue, 29 Jun 2010 02:25:19 -0700 (PDT) Date: Tue, 29 Jun 2010 13:25:19 +0400 Message-ID: From: pluknet To: freebsd-stable Content-Type: text/plain; charset=ISO-8859-1 Subject: ps doesn't respect -o cpu keyword X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 29 Jun 2010 09:25:26 -0000 Hi. I noticed that ps on all supported releases (w/ ULE) shows the value of cpu keyword always as 0 (zero). COMMAND CPU kernel/swapper 0 kernel/firmware taskq 0 kernel/thread taskq 0 kernel/kqueue taskq 0 kernel/acpi_task_0 0 kernel/acpi_task_1 0 kernel/acpi_task_2 0 kernel/igb0 taskq 0 kernel/igb1 taskq 0 init 0 g_event 0 g_up 0 g_down 0 xpt_thrd 0 sctp_iterator 0 pagedaemon 0 vmdaemon 0 pagezero 0 audit 0 idle/idle: cpu2 0 idle/idle: cpu1 0 P.S. That's only for ps; top is not affected. PID USERNAME PRI NICE SIZE RES STATE C TIME WCPU COMMAND 11 root 171 ki31 0K 24K RUN 0 117.2H 43.46% {idle: cpu0} 11 root 171 ki31 0K 24K RUN 2 115.3H 40.28% {idle: cpu2} 11 root 171 ki31 0K 24K CPU1 1 103.1H 36.67% {idle: cpu1} 12 root -68 - 0K 184K CPU0 0 981:19 22.75% {irq260: igb1} 0 root -68 0 0K 64K - 1 200:18 1.07% {igb1 taskq} 12 root -32 - 0K 184K WAIT 1 55:24 0.59% {swi4: clock} 12 root -68 - 0K 184K WAIT 2 310:31 0.29% {irq259: igb1} 12 root -40 - 0K 184K WAIT 0 5:48 0.20% {swi2: cambio} 4 root -8 - 0K 8K - 2 26:21 0.00% g_down 64298 root 44 0 10748K 6776K select 2 23:06 0.00% snmpd 16 root 44 - 0K 8K syncer 2 22:22 0.00% syncer 12 root -64 - 0K 184K WAIT 1 16:22 0.00% {irq32: sym0} 13 root 44 - 0K 8K - 0 13:55 0.00% yarrow 12 root -44 - 0K 184K WAIT 2 11:39 0.00% {swi1: netisr 0} -- wbr, pluknet