[[email protected] ~]# mysqladmin -uroot -p123456 -S /tmp/mysql.sock extended-status|grep -w "Com_update" | Com_update #匹配单词 过滤出含 这个单词的那一行
[[email protected] ~]# mysqladmin -uroot -p123456 -S /tmp/mysql.sock extended-status|grep -w "Com_update" | Com_update | 28505 | [[email protected] ~]# mysqladmin -uroot -p123456 -S /tmp/mysql.sock extended-status|grep -w "Com_update"|gut -d"|" -f3 -bash: gut: command not found [[email protected] ~]# mysqladmin -uroot -p123456 -S /tmp/mysql.sock extended-status|grep -w "Com_update"|cut -d"|" -f3 28626
时间: 2024-10-05 15:58:42