0

I created following command to get value of Innodb_data_writes using command show status in mysql database.

 mysql -u root -p**** -e  "show  status" | grep  Innodb_data_writes

Current Output: Innodb_data_writes 3

Desired Output: 3

How can I eliminate Innodb_data_writes ?

0

Pipe the output rhrough cut:

mysql -u root -p**** -e  "show  status" | grep  Innodb_data_writes | cut -d' ' -f2

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.