mirror of
				https://git.proxmox.com/git/mirror_zfs.git
				synced 2025-10-26 18:05:04 +03:00 
			
		
		
		
	arcstat: flush stdout / outfile after each line
Otherwise, if arcstat gets interrupted before the desired number of iterations is reached, the output file will be empty (both if set via '-o' or via shell redirection). Reviewed-by: George Melikov <mail@gmelikov.ru> Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov> Reviewed-by: Giuseppe Di Natale <dinatale2@llnl.gov> Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com> Closes #6775
This commit is contained in:
		
							parent
							
								
									029a1b0c20
								
							
						
					
					
						commit
						d834d6811b
					
				| @ -219,6 +219,7 @@ def print_values(): | ||||
|             sep | ||||
|         )) | ||||
|     sys.stdout.write("\n") | ||||
|     sys.stdout.flush() | ||||
| 
 | ||||
| 
 | ||||
| def print_header(): | ||||
|  | ||||
		Loading…
	
		Reference in New Issue
	
	Block a user
	 Fabian-Gruenbichler
						Fabian-Gruenbichler