top in Rawhide

Stephen Gallagher sgallagh at redhat.com
Tue Oct 21 13:47:45 UTC 2014




On Tue, 2014-10-21 at 14:33 +0100, Richard W.M. Jones wrote:
> Anyone worked out how to get top to give a normal (ie. old) display in
> Rawhide?
> 
> The default consumes huge amounts of whitespace with a useless display
> of per-CPU stats, and [not shown] is completely static until you press 'P'.
> 
> Rich.
> 
> top - 14:20:04 up  3:46,  3 users,  load average: 1.65, 1.18, 1.06
> Tasks: 169 total,   1 running, 167 sleeping,   1 stopped,   0 zombie
> %Cpu0  :   2.0/13.2   15[||||||||                                             ]
> %Cpu1  :   0.6/60.4   61[||||||||||||||||||||||||||||||||                     ]
> %Cpu2  :   0.0/0.7     1[                                                     ]
> %Cpu3  :   0.0/1.3     1[|                                                    ]
> %Cpu4  :   0.7/1.3     2[|                                                    ]
> %Cpu5  :   0.0/3.4     3[||                                                   ]
> %Cpu6  :   0.0/1.3     1[|                                                    ]
> %Cpu7  :   9.1/7.1    16[|||||||||                                            ]
> GiB Mem :  2.8/15.726   [                                                     ]
> GiB Swap:  0.0/16.000   [                                                     ]
> 
>   PID USER      PR  NI    VIRT    RES  %CPU %MEM     TIME+ S COMMAND          
>  6540 root      20   0  204.7m  86.5m   6.5  0.5   2:35.27 D yum              
>   465 root      20   0   37.8m  21.4m   2.6  0.1   0:11.91 S systemd-journal  
>     9 root      20   0    0.0m   0.0m   2.0  0.0   0:38.04 S rcuos/1          
>  7274 root      20   0    0.0m   0.0m   2.0  0.0   0:01.24 S kworker/5:0      
> 16102 rjones    20   0  108.1m   3.6m   1.3  0.0   0:00.18 R top              
>     1 root      20   0   10.8m   7.8m   0.7  0.0   0:09.63 S systemd          
> [etc]
> 


FWIW, if you press "1" (numeral one), it collapses all the CPUs to a
single line covering all of them. I find that quite helpful.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: This is a digitally signed message part
URL: <http://lists.fedoraproject.org/pipermail/devel/attachments/20141021/4713e66e/attachment-0001.sig>


More information about the devel mailing list