<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>blog.watashii &#187; ps</title>
	<atom:link href="http://blog.watashii.com/tag/ps/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.watashii.com</link>
	<description></description>
	<lastBuildDate>Wed, 02 Nov 2011 02:23:46 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1.3</generator>
		<item>
		<title>Unix ps command &#8211; Long Process Listing</title>
		<link>http://blog.watashii.com/2008/09/unix-ps-command-long-process-listing/</link>
		<comments>http://blog.watashii.com/2008/09/unix-ps-command-long-process-listing/#comments</comments>
		<pubDate>Tue, 23 Sep 2008 06:53:57 +0000</pubDate>
		<dc:creator>watashii</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[Unix]]></category>
		<category><![CDATA[ps]]></category>
		<category><![CDATA[unix]]></category>

		<guid isPermaLink="false">http://blog.watashii.com/?p=67</guid>
		<description><![CDATA[When viewing full process listings with ps -ef command, sometimes the command name is too long and gets chopped off at the end of the screen. This command name has a limit of 80 characters. netcool@sun61 [/opt/netcool] 688 % ps -ef&#124;grep 6176 netcool 6176 1 0 Sep 12 ? 31:55 /opt/netcool/platform/solaris2/jre_1.5.0/bin/java -Xmx1024m -Xms256m -Djava.awt So [...]


Related Posts:<ol><li><a href='http://blog.watashii.com/2008/08/unix-file-size-listing-du-command/' rel='bookmark' title='Permanent Link: UNIX file size listing &#8211; du command'>UNIX file size listing &#8211; du command</a></li>
<li><a href='http://blog.watashii.com/2009/10/unix-ls-command-with-colors-without-the-color-option/' rel='bookmark' title='Permanent Link: Unix LS Command With Colors&#8230; Without the &#8212;color Option'>Unix LS Command With Colors&#8230; Without the &#8212;color Option</a></li>
<li><a href='http://blog.watashii.com/2010/06/unix-shell-check-if-directory-is-empty/' rel='bookmark' title='Permanent Link: Unix Shell &#8211; Check If Directory Is Empty'>Unix Shell &#8211; Check If Directory Is Empty</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>When viewing full process listings with ps -ef command, sometimes the command name is too long and gets chopped off at the end of the screen.  This command name has a limit of 80 characters.</p>
<pre name="code" class="php">netcool@sun61 [/opt/netcool] 688 % ps -ef|grep 6176
netcool 6176 1 0 Sep 12 ?  31:55 /opt/netcool/platform/solaris2/jre_1.5.0/bin/java -Xmx1024m -Xms256m -Djava.awt</pre>
<p>So how can we show the entire command?  The solution is to use the <em><strong>/usr/ucb/ps -auxxwww</strong></em> command:</p>
<pre name="code" class="php">netcool@sun61 [/opt/netcool] 689 % /usr/ucb/ps -auxxwww|grep -i 6176
netcool   6176  0.1 10.5610440428552 ?  R   Sep 12 31:55 /opt/netcool/platform/solaris2/jre_1.5.0/bin/java -Xmx1024m -Xms256m -Djava.awt.headless=true -Dnchome=/opt/netcool -Dngfhome=/opt/netcool/guifoundation -Dfile.encoding=UTF-8 -Dsun.jnu.encoding=UTF-8 -Dbase.directory=/opt/netcool -Dsm.props.directory=/opt/netcool/etc/sm -Djava.security.auth.login.config=/opt/netcool/guifoundation/conf/mach_jaas.config -Djava.endorsed.dirs=/opt/netcool/guifoundation/common/endorsed -classpath /opt/netcool/platform/solaris2/jre_1.5.0/lib/tools.jar:/opt/netcool/guifoundation/bin/bootstrap.jar -Dcatalina.base=/opt/netcool/guifoundation -Dcatalina.home=/opt/netcool/guifoundation -Djava.io.tmpdir=/opt/netcool/guifoundation/temp org.apache.catalina.startup.Bootstrap start</pre>


<p>Related Posts:<ol><li><a href='http://blog.watashii.com/2008/08/unix-file-size-listing-du-command/' rel='bookmark' title='Permanent Link: UNIX file size listing &#8211; du command'>UNIX file size listing &#8211; du command</a></li>
<li><a href='http://blog.watashii.com/2009/10/unix-ls-command-with-colors-without-the-color-option/' rel='bookmark' title='Permanent Link: Unix LS Command With Colors&#8230; Without the &#8212;color Option'>Unix LS Command With Colors&#8230; Without the &#8212;color Option</a></li>
<li><a href='http://blog.watashii.com/2010/06/unix-shell-check-if-directory-is-empty/' rel='bookmark' title='Permanent Link: Unix Shell &#8211; Check If Directory Is Empty'>Unix Shell &#8211; Check If Directory Is Empty</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://blog.watashii.com/2008/09/unix-ps-command-long-process-listing/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

