nice configure

William Davis frstan at bellsouth.net
Sat Jan 10 11:11:40 PST 2009


On Jan 9, 2009, at 8:46 AM, Adam Mercer wrote:

> On Thu, Jan 8, 2009 at 22:02, William Davis <frstan at bellsouth.net>  
> wrote:
>
>> AFAIK the nice command has been broken for a very long time.  Just  
>> bring up
>> Activity Monitor and check it out.  You will fine the %CPU used by  
>> "nice"
>> processes is always zero (unless you are using a really old OS).
>
> Thats a bug in ActivityMonitor not reporting nice'd processes
> properly, I have a bug open with Apple about this. If you use top on
> the command line then the nice'd processes will be properly displayed.
>
> Cheers
>
> Adam

Really Adam?  Please show me where in this print of top I can see that:

Processes:  75 total, 4 running, 2 stuck, 69 sleeping... 282  
threads    14:06:05
Load Avg:  3.48,  3.59,  3.16    CPU usage: 68.64% user,  7.27% sys,  
24.09% idle
SharedLibs: num =    8, resident =   81M code, 1984K data, 5068K  
linkedit.
MemRegions: num = 14244, resident =  493M +   32M private,  407M shared.
PhysMem:  304M wired, 1146M active,  307M inactive, 1769M used,  279M  
free.
VM: 11G + 373M   321202(0) pageins, 0(0) pageouts

   PID COMMAND      %CPU   TIME   #TH #PRTS #MREGS RPRVT  RSHRD   
RSIZE  VSIZE
29068 top          7.8%  0:17.80   1    18     29  504K   188K   
1096K    18M
29066 xclock       0.0%  0:19.62   1    14    123 3996K  2852K   
6320K    26M
29013 PubSubAgen   0.0%  0:00.10   2    57     27  544K  2136K   
1588K    20M
28938 bash         0.0%  0:00.03   1    14     19  300K   704K    
944K    18M
28937 login        0.0%  0:00.01   1    17     55  300K   268K   
1076K    19M
28929 pmTool       0.0%  0:16.95   1    24     25  464K  4664K   
1328K    27M
28927 Activity M   0.5%  0:20.49   5   112    264 4984K    28M     
12M   391M
28924 quartz-wm    0.0%  0:00.06   2    43     64  476K  5120K   
2548K   299M
28820 X11.bin      0.7%  0:01.55   8   135    269 6160K    21M     
14M   390M
28819 Xquartz      0.0%  0:00.00   1    25     25  164K  2160K    
892K    20M
28818 xinit        0.0%  0:00.00   1    13     31  120K   968K    
512K    18M
28767 sh           0.0%  0:00.01   1    13     18  152K   184K    
688K    18M
28766 xedit        0.0%  0:00.06   1    13     68  880K  2064K   
2772K    21M
28723 bash         0.0%  0:00.02   1    14     19  304K   704K    
944K    18M
28722 login        0.0%  0:00.03   1    17     55  296K   268K   
1072K    19M
28721 Terminal     2.5%  0:07.43   3   100    170 3460K+   16M+ 9444K 
+  361M+


William Davis
frstanATbellsouthDOTnet
Mac OS X.5.6 Darwin 9.5.0
XQuartz 2.3.2 (xorg-server 1.4.2-apple31)
Mac Mini Intel Duo @ 1.86 GHz

Mundus vult decepi, ego non



More information about the macports-dev mailing list