show slave staus

2007-11-27 Thread bruce
hi..

simple question!!

mysql show slave status

returns a number of fields, with information on the status of the slave. is
there a way to only return the field(s) i'm interested in...

i thought that i had figured this out, but i can't recall, and it's been
awhile since i've played with this!

thanks


-- 
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]



Re: show slave staus

2007-11-27 Thread Alex Arul Lurthu
You can set pager command to grep out unwanted fields.

On 11/28/07, bruce [EMAIL PROTECTED] wrote:
 hi..

 simple question!!

 mysql show slave status

 returns a number of fields, with information on the status of the slave. is
 there a way to only return the field(s) i'm interested in...

 i thought that i had figured this out, but i can't recall, and it's been
 awhile since i've played with this!

 thanks


 --
 MySQL General Mailing List
 For list archives: http://lists.mysql.com/mysql
 To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]



-- 
Sent from Gmail for mobile | mobile.google.com

Thanks
Alex
http://alexlurthu.wordpress.com

-- 
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]



RE: show slave staus

2007-11-27 Thread bruce

hi alex..

thanks for the reply. but i thought i had seen a way in mysql, to specify
the given field that i want. the show slave status cmd obviously displays
a list of fields, so i'm pretty sure that there should be a way of just
displaying the targeted field, without having to parse using grep...

thanks

-Original Message-
From: Alex Arul Lurthu [mailto:[EMAIL PROTECTED]
Sent: Tuesday, November 27, 2007 7:19 PM
To: bruce; mysql list
Subject: Re: show slave staus


You can set pager command to grep out unwanted fields.

On 11/28/07, bruce [EMAIL PROTECTED] wrote:
 hi..

 simple question!!

 mysql show slave status

 returns a number of fields, with information on the status of the slave.
is
 there a way to only return the field(s) i'm interested in...

 i thought that i had figured this out, but i can't recall, and it's been
 awhile since i've played with this!

 thanks


 --
 MySQL General Mailing List
 For list archives: http://lists.mysql.com/mysql
 To unsubscribe:
http://lists.mysql.com/[EMAIL PROTECTED]



--
Sent from Gmail for mobile | mobile.google.com

Thanks
Alex
http://alexlurthu.wordpress.com


-- 
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]



Re: show slave staus

2007-11-27 Thread Philip Hallstrom

mysql show slave status

returns a number of fields, with information on the status of the slave. is
there a way to only return the field(s) i'm interested in...

i thought that i had figured this out, but i can't recall, and it's been
awhile since i've played with this!


My slave server isn't nearby, but...

show status like '%threads%';

will return just the results from show status that match on threads.

Might work for slave status as well.

-philip

--
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]