<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Logging your MySQL command line client sessions</title>
	<atom:link href="http://www.mysqlperformanceblog.com/2008/07/08/logging-your-mysql-command-line-client-sessions/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.mysqlperformanceblog.com/2008/07/08/logging-your-mysql-command-line-client-sessions/</link>
	<description>Everything about MySQL Performance</description>
	<lastBuildDate>Sat, 21 Nov 2009 05:23:57 -0800</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: jeffatrackaid</title>
		<link>http://www.mysqlperformanceblog.com/2008/07/08/logging-your-mysql-command-line-client-sessions/comment-page-1/#comment-325196</link>
		<dc:creator>jeffatrackaid</dc:creator>
		<pubDate>Wed, 09 Jul 2008 16:04:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.mysqlperformanceblog.com/?p=434#comment-325196</guid>
		<description>No problem.  I think screen is an oft-overlooked tool. Not related to logging, but for one client we have an admin box with mytop installed.  They have 5 database servers in a master/slave farm setup.  I have aliases setup to launch mytop and have it connect to each system. (e.g. mytopdb1 connects mytop to db1). I do this from inside screen and then can quickly toggle through mytop output on all boxes.  

There are probably cleaner ways to do this but I&#039;ve found it handy to quickly check how queries are spreading over the slave pool as the load balancing is controlled on the application side.</description>
		<content:encoded><![CDATA[<p>No problem.  I think screen is an oft-overlooked tool. Not related to logging, but for one client we have an admin box with mytop installed.  They have 5 database servers in a master/slave farm setup.  I have aliases setup to launch mytop and have it connect to each system. (e.g. mytopdb1 connects mytop to db1). I do this from inside screen and then can quickly toggle through mytop output on all boxes.  </p>
<p>There are probably cleaner ways to do this but I&#8217;ve found it handy to quickly check how queries are spreading over the slave pool as the load balancing is controlled on the application side.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: peter</title>
		<link>http://www.mysqlperformanceblog.com/2008/07/08/logging-your-mysql-command-line-client-sessions/comment-page-1/#comment-325194</link>
		<dc:creator>peter</dc:creator>
		<pubDate>Wed, 09 Jul 2008 15:36:23 +0000</pubDate>
		<guid isPermaLink="false">http://www.mysqlperformanceblog.com/?p=434#comment-325194</guid>
		<description>Thanks Jeff</description>
		<content:encoded><![CDATA[<p>Thanks Jeff</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: jeffatrackaid</title>
		<link>http://www.mysqlperformanceblog.com/2008/07/08/logging-your-mysql-command-line-client-sessions/comment-page-1/#comment-325191</link>
		<dc:creator>jeffatrackaid</dc:creator>
		<pubDate>Wed, 09 Jul 2008 15:22:05 +0000</pubDate>
		<guid isPermaLink="false">http://www.mysqlperformanceblog.com/?p=434#comment-325191</guid>
		<description>I almost always use screen when diagnosing server issues or running OS updates. 

I can have a mytop, top and other tools running and toggle between them easily.  As mentioned, screen has a logging option tool. 

I wrote a screen tutorial some time ago:
http://www.rackaid.com/resources/linux-tutorials/general-tutorials/linux-screen.cfm</description>
		<content:encoded><![CDATA[<p>I almost always use screen when diagnosing server issues or running OS updates. </p>
<p>I can have a mytop, top and other tools running and toggle between them easily.  As mentioned, screen has a logging option tool. </p>
<p>I wrote a screen tutorial some time ago:<br />
<a href="http://www.rackaid.com/resources/linux-tutorials/general-tutorials/linux-screen.cfm" rel="nofollow">http://www.rackaid.com/resources/linux-tutorials/general-tutorials/linux-screen.cfm</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: James Cohen</title>
		<link>http://www.mysqlperformanceblog.com/2008/07/08/logging-your-mysql-command-line-client-sessions/comment-page-1/#comment-325123</link>
		<dc:creator>James Cohen</dc:creator>
		<pubDate>Wed, 09 Jul 2008 08:07:34 +0000</pubDate>
		<guid isPermaLink="false">http://www.mysqlperformanceblog.com/?p=434#comment-325123</guid>
		<description>You can also access this from the MySQL client prompt:

mysql&gt; tee /tmp/session_log_file.txt
Logging to file &#039;/tmp/session_log_file.txt
mysql&gt; notee
Outfile disabled.</description>
		<content:encoded><![CDATA[<p>You can also access this from the MySQL client prompt:</p>
<p>mysql&gt; tee /tmp/session_log_file.txt<br />
Logging to file &#8216;/tmp/session_log_file.txt<br />
mysql&gt; notee<br />
Outfile disabled.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: peter</title>
		<link>http://www.mysqlperformanceblog.com/2008/07/08/logging-your-mysql-command-line-client-sessions/comment-page-1/#comment-324978</link>
		<dc:creator>peter</dc:creator>
		<pubDate>Tue, 08 Jul 2008 21:46:34 +0000</pubDate>
		<guid isPermaLink="false">http://www.mysqlperformanceblog.com/?p=434#comment-324978</guid>
		<description>Right.  SCREEN is the tool for many needs :)</description>
		<content:encoded><![CDATA[<p>Right.  SCREEN is the tool for many needs <img src='http://www.mysqlperformanceblog.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Baron Schwartz</title>
		<link>http://www.mysqlperformanceblog.com/2008/07/08/logging-your-mysql-command-line-client-sessions/comment-page-1/#comment-324965</link>
		<dc:creator>Baron Schwartz</dc:creator>
		<pubDate>Tue, 08 Jul 2008 21:16:45 +0000</pubDate>
		<guid isPermaLink="false">http://www.mysqlperformanceblog.com/?p=434#comment-324965</guid>
		<description>Another way to do this is to use screen.  CTRL-A H will log the screen to a file.</description>
		<content:encoded><![CDATA[<p>Another way to do this is to use screen.  CTRL-A H will log the screen to a file.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tom Krouper</title>
		<link>http://www.mysqlperformanceblog.com/2008/07/08/logging-your-mysql-command-line-client-sessions/comment-page-1/#comment-324944</link>
		<dc:creator>Tom Krouper</dc:creator>
		<pubDate>Tue, 08 Jul 2008 20:46:38 +0000</pubDate>
		<guid isPermaLink="false">http://www.mysqlperformanceblog.com/?p=434#comment-324944</guid>
		<description>I was thinking it was another MySQL tool. Perfect, thanks.</description>
		<content:encoded><![CDATA[<p>I was thinking it was another MySQL tool. Perfect, thanks.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: peter</title>
		<link>http://www.mysqlperformanceblog.com/2008/07/08/logging-your-mysql-command-line-client-sessions/comment-page-1/#comment-324942</link>
		<dc:creator>peter</dc:creator>
		<pubDate>Tue, 08 Jul 2008 20:31:56 +0000</pubDate>
		<guid isPermaLink="false">http://www.mysqlperformanceblog.com/?p=434#comment-324942</guid>
		<description>Well &quot;man script&quot; does it on my Linux distribution if you do not have it installed you can check some online man pages to see if it will work for you 

http://unixhelp.ed.ac.uk/CGI/man-cgi?script</description>
		<content:encoded><![CDATA[<p>Well &#8220;man script&#8221; does it on my Linux distribution if you do not have it installed you can check some online man pages to see if it will work for you </p>
<p><a href="http://unixhelp.ed.ac.uk/CGI/man-cgi?script" rel="nofollow">http://unixhelp.ed.ac.uk/CGI/man-cgi?script</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tom Krouper</title>
		<link>http://www.mysqlperformanceblog.com/2008/07/08/logging-your-mysql-command-line-client-sessions/comment-page-1/#comment-324939</link>
		<dc:creator>Tom Krouper</dc:creator>
		<pubDate>Tue, 08 Jul 2008 20:21:47 +0000</pubDate>
		<guid isPermaLink="false">http://www.mysqlperformanceblog.com/?p=434#comment-324939</guid>
		<description>I&#039;ve heard of (and overlooked) the tee mysql client option. I&#039;ve never heard of the &quot;script&quot; tool. Could you please let me know where I would find the &quot;script&quot; tool?

Thanks,
Tom

PS: I think I know a lot about MySQL, then I find another thing I&#039;d never heard of. :-)</description>
		<content:encoded><![CDATA[<p>I&#8217;ve heard of (and overlooked) the tee mysql client option. I&#8217;ve never heard of the &#8220;script&#8221; tool. Could you please let me know where I would find the &#8220;script&#8221; tool?</p>
<p>Thanks,<br />
Tom</p>
<p>PS: I think I know a lot about MySQL, then I find another thing I&#8217;d never heard of. <img src='http://www.mysqlperformanceblog.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
</channel>
</rss>
