top

The top command outputs card statistics including memory topology and DMA transfer metrics. This command is similar to the Linux top command. When running, it continues to operate until q is entered in the terminal window.

It has the following option:

  • -i <seconds> (Optional): Refreshes rate (in seconds). Default is 1 second.

To run top with a refresh rate of two seconds, enter the following command:

$ xbutil top -i 2

An output similar to the one below is displayed:

Device Memory Usage						
[0] bank0	 [					0.00%  ]
[1] bank1	 [					0.00%  ]
[2] bank2	 [					0.00%  ]
[3] bank3	 [					0.00%  ]
[4] PLRAM0	[					0.00%  ]
[5] PLRAM1	[					0.00%  ]
[6] PLRAM2	[					0.00%  ]
						
						
Power						
25.0W						
						
Mem Topology			Device Memory Usage			
Tag		 	Type		Temp		Size	Mem Usage	Bo nums	
[0] bank0		**UNUSED**	32 C		16 GB	0 Byte		0	
[1] bank1		MEM_DDR4	  37 C		17 GB	0 Byte		0	
[2] bank2		**UNUSED**	34 C		18 GB	0 Byte		0	
[3] bank3		**UNUSED**	32 C		19 GB	0 Byte		0	
[4] PLRAM0	   **UNUSED**	Not Supp	128 KB   0 Byte		0	
[5] PLRAM1	   **UNUSED**	Not Supp	128 KB   0 Byte		0	
[6] PLRAM2	   **UNUSED**	Not Supp	128 KB   0 Byte		0	
						
Total DMA Transfer Metrics:						
Chan[0].h2c:   0  Byte						
Chan[0].c2h:   0  Byte						
Chan[1].h2c:   0  Byte						
Chan[1].c2h:   0  Byte