If you like BoxMatrix then please contribute Supportdata, Supportdata2, Firmware and/or Hardware (get in touch).
My metamonk@yahoo.com is not reachable by me since years. Please use hippie2000@webnmail.de instead.

0
U

Property:cpu (lincmd)

From BoxMatrix


BoxMatrix >> Shell-Commands >> cpu (lincmd) @ BoxMatrix   -   IRC-Chat   -   Translate: de es fr it nl pl
News Selectors Models Accessories Components Environment Config Commands System Webif Software Develop Lexicon Community Project Media

Startup-Scr Hotplug-Scr BusyBox-Cmds Bash-Cmds AVM-Cmds Chipset-Cmds Linux-Cmds Shared-Libs Kernel-Mods Research

Info
  
Name-Collision - multiple objects in this wiki use the name cpu!
cpu (iface) The interface to the second AR7 CPU of the 5188.
cpu (lincmd) Simple tool for monitoring CPU load.
cpu (uimod) RAM, CPU and Temperature status

Linux-Command

Goto:   Examples  -  GPL-Browser  -  Dependencies   -   Model-Matrix   -   Symbols   -   SMW-Browser

Details

cpu is a simple tool for monitoring CPU load.

It creates a top alike cyclically refreshed realtime display.

Unlike top it is terminated by ctrl-c.

Fw 4.72 help:

root@fritz31:/var/mod/root# cpu --help

Usage: /sbin/cpu [options]

 Simple tool monitoring cpu load

Arguments:
  -p,  --pid=value		PID of process to monitor
  -a,  --all			Monitor all processes
  -s,  --summarize		Summarize cpu load
						(Shows only total cpu load
						and running processes)
  -r,  --refresh=value	Refresh rate in s
  -c,  --continuous		Show CPU Load continously
  -v   --verbose		Be verbose
  -h,  --help			Print this help

Examples

root@fritz31:/var/mod/root# cpu
<clears screen and shows:> 

CPU:   0.0% user,   0.9% system,   0.0% nice,  99.0% idle
  PID     USER   SYSTEM   COMMAND       
 1503     0.0%     0.0%   cpu            

<ctrl-c>
root@fritz31:/var/mod/root# cpu -a
<clears screen and shows:> 
 
CPU:   0.6% user,   2.2% system,   0.0% nice,  97.0% idle
  PID     USER   SYSTEM   COMMAND       
    1     0.0%     0.0%   init           
    2     0.0%     0.0%   ksoftirqd/0    
    3     0.0%     0.0%   events/0       
    4     0.0%     0.0%   khelper        
    5     0.0%     0.0%   kthread        
    6     0.0%     0.0%   kblockd/0      
   23     0.0%     0.0%   pdflush        
   24     0.0%     0.0%   pdflush        
   25     0.0%     0.0%   kswapd0        
   26     0.0%     0.0%   aio/0          
   62     0.0%     0.0%   pm_info        
   66     0.0%     0.0%   CPMAC          
   70     0.0%     0.0%   mtdblockd      
   96     0.0%     0.0%   tffsd_mtd_0    
  464     0.0%     0.0%   capi_oslib     
  465     0.0%     0.3%   capi_oslib     
  466     0.0%     0.0%   capitransp     
  473     0.0%     0.0%   glob_codecs    
  488     0.0%     0.0%   khubd          
  538     0.0%     0.0%   ctlmgr         
  565     0.0%     0.0%   igdd           
  578     0.0%     0.0%   multid         
  617     0.0%     0.0%   dsld           
  685     0.0%     0.0%   telefon        
  691     0.0%     0.0%   voipd          
  694     0.0%     0.0%   pbd            
  695     0.0%     0.0%   pbd            
  702     0.0%     0.0%   pbd            
  703     0.0%     0.0%   pbd            
  706     0.0%     0.0%   run_clock      
  717     0.0%     0.0%   init           
  847     0.0%     0.0%   igdd           
  848     0.0%     0.0%   igdd           
  849     0.0%     0.0%   igdd           
  924     0.0%     0.0%   httpd-webcfg   
  992     0.0%     0.0%   ctlmgr         
  993     0.0%     0.0%   ctlmgr         
  997     0.0%     0.0%   ctlmgr         
 1107     0.0%     0.0%   dropbear       
 1423     0.0%     0.6%   dropbear       
 1424     0.0%     0.0%   sh             
 1445     0.0%     0.0%   dropbear       
 1446     0.0%     0.0%   sh             
 1447     0.0%     0.0%   sftp-server    
 1448     0.0%     0.0%   dropbear       
 1449     0.0%     0.0%   sh             
 1450     0.0%     0.0%   sftp-server    
 1504     0.6%     1.2%   cpu            

 <ctrl-c>

GPL-Browser

Daily updated index of all cpu code findings on the GPL-Browser. Last update: 2024-04-27 04:18 GMT.
The Browse column points to the Path containing the respective source code on the gpl.boxmatrix.info service.
The SoC column lists the Chip-Codenames, the Model column lists the nicks of the Box-Models.
The Diff column links the comparison of the AVM Kernel to the pristine original from Kernel.org.
The Download column links the full tarball the respective directory content is extracted from.
The presence of the source does not mean it fits the respective model and architecture. See the Model-Matrix where it's used.

Dependencies

Daily updated index of all dependencies of this command. Last update: 2024-04-26 07:29 GMT.
A * in the Mod column marks info from Supportdata-Probes, which will always stay incomplete.

Relation Typ Object Mod Firmware Info Origin
Depends on lib libc.so 44 1.120 - 5.09 Standard C library Linux
Depends on lib libgcc_s.so 40 4.22 - 5.09 GCC low-level runtime library Linux
2 dependencies for this command

Model-Matrix

Daily updated index of the presence, path and size of this command for each model. Last update: 2024-04-26 05:10 GMT.
Showing all models using this command. Click any column header (click-wait-click) to sort the list by the respective data.
The (main/scrpn/boot/arm/prx/atom) label in the Model column shows which CPU is meant for models with multiple Linux instances.
Note that this list is merged from Firmware-Probes of all known AVM firmware for a model, including Recovery.exe and Labor-Files.

Model Firmware Path Size
FRITZ!Box 2.76 - 3.37 /bin, /sbin 5.6k - 18.4k
FRITZ!Box 2110 4.52 /bin 19.3k
FRITZ!Box 2170 4.31 - 4.57 /bin 19.3k - 24.8k
FRITZ!Box SL WLAN 3.23 - 4.34 /bin 18.4k - 24.8k
FRITZ!Box WLAN 3020 3.23 - 4.34 /bin 18.4k - 24.8k
FRITZ!Box WLAN 3030 4.33 - 4.34 /bin 24.8k
FRITZ!Box WLAN 3130 4.34 /bin 24.8k
FRITZ!Box WLAN 3131 4.29 - 4.57 /bin 19.3k - 24.8k
FRITZ!Box WLAN 3170 4.31 - 4.58 /bin 19.3k - 24.8k
FRITZ!Box WLAN 3270 4.57 - 4.70 /bin 14.6k - 18.2k
FRITZ!Box Fon ata 3.23 - 3.37 /bin 18.4k
FRITZ!Box Fon ata 1020 3.23 - 3.37 /bin 18.4k
FRITZ!Box Fon 1.120 - 4.49 /bin, /sbin 5.6k - 24.8k
FRITZ!Box Fon 5010 4.43 /bin 24.8k
FRITZ!Box Fon 5050 3.23 - 4.31 /bin 18.4k - 19.3k
FRITZ!Box Fon 5124 4.47 - 4.67 /bin 18.2k - 19.3k
FRITZ!Box Fon 5140 4.37 - 4.67 /bin 19.3k - 24.8k
VoIP Gateway 5188 4.28 - 4.61 /bin 18.2k - 24.8k
FRITZ!Box Fon WLAN 3.14 - 4.49 /bin, /sbin 5.6k - 24.8k
FRITZ!Box Fon WLAN 7050 3.29 - 4.50 /bin, /sbin 5.6k - 24.8k
FRITZ!Box Fon WLAN 7113 4.40 - 4.77 /bin 19.3k - 24.8k
FRITZ!Box Fon WLAN 7113 DE 4.40 - 4.77 /bin 19.3k - 24.8k
FRITZ!Box Fon WLAN 7140 4.30 - 4.67 /bin 18.2k - 24.8k
FRITZ!Box Fon WLAN 7141 4.14 - 4.70 /bin 18.2k - 24.8k
FRITZ!Fon 7150 4.30 - 4.77 /bin 18.2k - 24.8k
FRITZ!Box Fon WLAN 7170 4.22 - 4.99 /bin 18.2k - 24.8k
FRITZ!Box Fon WLAN 7170 v1 4.22 - 4.99 /bin 18.2k - 24.8k
FRITZ!Box Fon WLAN 7170 v2 4.22 - 4.99 /bin 18.2k - 24.8k
FRITZ!Box Fon WLAN 7240 4.65 - 4.97 /bin 14.6k
FRITZ!Box Fon WLAN 7270 v1 4.44 - 4.99 /bin 14.6k - 19.3k
FRITZ!Box Fon WLAN 7270 v2 4.67 /bin 14.6k
FRITZ!Box Fon WLAN 7570 vDSL 4.70 - 4.72 /bin 14.6k
FRITZ!WLAN Repeater N/G 4.65 - 4.66 /bin 14.6k
congstar DSL-Box 4.25 - 4.58 /bin 19.2k - 24.8k
congstar komplett Box 4.68 - 4.71 /bin 14.6k
Speedport W 503V 4.68 - 4.71 /bin 14.6k
Speedport W 701V 4.25 - 4.58 /bin 19.2k - 24.8k
Speedport W 721V 4.74 - 4.75 /bin 18.2k
Speedport W 722V 4.76 - 4.79 /bin 14.6k
Speedport W 900V 4.21 - 4.57 /bin 19.2k - 19.3k
Speedport W 101 Bridge 4.68 /bin 14.6k
Eumex 300 IP 3.29 - 4.44 /bin 18.4k - 19.3k
Alice IAD 5130 4.65 - 4.71 /bin 19.3k
Alice IAD 7570 vDSL 4.86 - 5.09 /bin 14.6k
44 models use this command

Symbols

Daily updated index of all symbols of this command. Last update: 2024-04-26 07:29 GMT.

Firmware Symbol
3.23 - 5.09 calculateCPULoad
3.23 - 5.09 calculateProcesses
3.23 - 5.09 compare
3.23 - 5.09 emptyList
3.23 - 5.09 filter
1.120 - 4.07 get
3.23 - 5.09 getCPULoad
3.23 - 5.09 getProcess
3.23 - 5.09 initCPULoad
3.23 - 5.09 initProcess
3.23 - 5.09 initProcesses
1.120 - 5.09 main
3.23 - 5.09 parseCmdLn
3.23 - 5.09 scanInitProcesses
3.23 - 5.09 updateProcesses
3.23 - 5.09 visualise
16 symbols for this command

SMW-Browser

Information is currently being retrieved from the backend.