Friday, June 19, 2026

.::: Check progress restore status MariaDB MarinaDB :::.

  

1. check folder size

watch du -s /var/lib/mysql/teguhth
 

 
2. check folder size using unit 

watch du -sh /var/lib/mysql/teguhth
 

3. check pogress file 


watch 'find /var/lib/mysql/teguhth -type f -printf "%TY-%Tm-%Td %TH:%TM:%TS %p\n" | sort -r | head'
 

4. check pogress file byte


watch 'find /var/lib/mysql/teguhth -type f -printf "%TY-%Tm-%Td %TH:%TM:%TS %12s %p\n" | sort -r | head'
 

5. check pogress file in unit 

watch 'find /var/lib/mysql/teguhth -type f -printf "%TY-%Tm-%Td %TH:%TM:%TS %s %p\n" | sort -r | head | while read d t s f; do printf "%s %s %8s %s\n" "$d" "$t" "$(numfmt --to=iec-i --suffix=B "$s")" "$f"; done'
 

 

No comments:

Post a Comment

Popular Posts