你的位置:首页 > 操作系统

[操作系统]cut mysqladmin

[root@86 ~]# mysqladmin -uroot -p123456 -S /tmp/mysql.sock statusUptime: 112403 Threads: 17 Questions: 1091141 Slow queries: 0 Opens: 4644 Flush tables: 1 Open tables: 64 Queries per second avg: 9.707[root@86 ~]# mysqladmin -uroot -p123456 -S /tmp/mysql.sock status|cut -f2 -d":" 112486 Threads[root@86 ~]# mysqladmin -uroot -p123456 -S /tmp/mysql.sock status|cut -f2 -d":" 112507 Threads[root@86 ~]# mysqladmin -uroot -p123456 -S /tmp/mysql.sock status|cut -f2 -d":"|cut -f1 -d"T" 112573