<?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>My Workday &#187; Unix</title>
	<atom:link href="http://www.goworkday.com/category/unix/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.goworkday.com</link>
	<description>Let&#039;s talk TECH</description>
	<lastBuildDate>Thu, 02 Feb 2012 18:52:32 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>Find the Biggest CPU Hog</title>
		<link>http://www.goworkday.com/2009/03/27/find-the-biggest-cpu-hog/</link>
		<comments>http://www.goworkday.com/2009/03/27/find-the-biggest-cpu-hog/#comments</comments>
		<pubDate>Fri, 27 Mar 2009 04:36:34 +0000</pubDate>
		<dc:creator>Admin</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Unix]]></category>
		<category><![CDATA[ps]]></category>

		<guid isPermaLink="false">http://www.goworkday.com/?p=103</guid>
		<description><![CDATA[<br/>Is a certain process running your CPU right into the ground? How do you find said process without picking your way through the ps aux results? With this command: ps -e -o pcpu,cpu,nice,state,cputime,args --sort pcpu &#124; sed '/^ 0.0 /d' &#8230;at which point you can kill it with sudo kill -9.]]></description>
			<content:encoded><![CDATA[<br/><p>Is a certain process running your CPU right into the ground? How do you find said process without picking your way through the ps aux results? With this command:</p>
<p><code>ps -e -o pcpu,cpu,nice,state,cputime,args --sort pcpu | sed '/^ 0.0 /d'</code></p>
<p>&#8230;at which point you can kill it with sudo kill -9.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.goworkday.com/2009/03/27/find-the-biggest-cpu-hog/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How do I know what services I have running?</title>
		<link>http://www.goworkday.com/2008/08/21/how-do-i-know-what-services-i-am-running/</link>
		<comments>http://www.goworkday.com/2008/08/21/how-do-i-know-what-services-i-am-running/#comments</comments>
		<pubDate>Thu, 21 Aug 2008 03:03:06 +0000</pubDate>
		<dc:creator>Admin</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Unix]]></category>
		<category><![CDATA[ps]]></category>

		<guid isPermaLink="false">http://www.goworkday.com/?p=11</guid>
		<description><![CDATA[<br/>To get a list of all running processes, enter the command &#8220;ps auxw&#8221;. You might also want to try using &#8220;ps auxf&#8221; (or &#8220;ps auxfw&#8221; if the lines get truncated) &#8211; this prints everything in a nice tree format that may give you a better understanding of how and why things are running. To get [...]]]></description>
			<content:encoded><![CDATA[<br/><p>To get a list of all running processes, enter the command &#8220;ps auxw&#8221;. You might also want to try using &#8220;ps auxf&#8221; (or &#8220;ps auxfw&#8221; if the lines get truncated) &#8211; this prints everything in a nice tree format that may give you a better understanding of how and why things are running.</p>
<p>To get a complete listing of all listening network services using netstat, enter: netstat -altpu</p>
<p>You can also get similar information using lsof by entering: lsof -i | egrep -i &#8216;LISTEN|UDP&#8217;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.goworkday.com/2008/08/21/how-do-i-know-what-services-i-am-running/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Recover root password on Solaris</title>
		<link>http://www.goworkday.com/2008/06/08/recover-root-password-on-solaris/</link>
		<comments>http://www.goworkday.com/2008/06/08/recover-root-password-on-solaris/#comments</comments>
		<pubDate>Sun, 08 Jun 2008 03:03:00 +0000</pubDate>
		<dc:creator>Admin</dc:creator>
				<category><![CDATA[Unix]]></category>

		<guid isPermaLink="false">http://www.goworkday.com/?p=5</guid>
		<description><![CDATA[<br/>Use the software cd 1 of 2 to recover root password: ?View Code BASH1 2 3 4 5 6 7 8 9 10 11 12 boot cdrom -s from ok prompt &#160; mkdir /tmp/a &#160; mount /dev/dsk/c0t0d0s0 /tmp/a &#160; cd /tmp/a/etc &#160; TERM=vt100; export TERM &#160; vi shadow   Delete passwd entry (13 chars) in [...]]]></description>
			<content:encoded><![CDATA[<br/><p>Use the software cd 1 of 2 to recover root password:</p>

<div class="wp_codebox_msgheader"><span class="right"><sup><a href="http://www.ericbess.com/ericblog/2008/03/03/wp-codebox/#examples" target="_blank" title="WP-CodeBox HowTo?"><span style="color: #99cc00">?</span></a></sup></span><span class="left"><a href="javascript:;" onclick="javascript:showCodeTxt('p5code2'); return false;">View Code</a> BASH</span><div class="codebox_clear"></div></div><div class="wp_codebox"><table><tr id="p52"><td class="line_numbers"><pre>1
2
3
4
5
6
7
8
9
10
11
12
</pre></td><td class="code" id="p5code2"><pre class="bash" style="font-family:monospace;">boot cdrom <span style="color: #660033;">-s</span> from ok prompt
&nbsp;
<span style="color: #c20cb9; font-weight: bold;">mkdir</span> <span style="color: #000000; font-weight: bold;">/</span>tmp<span style="color: #000000; font-weight: bold;">/</span>a
&nbsp;
<span style="color: #c20cb9; font-weight: bold;">mount</span> <span style="color: #000000; font-weight: bold;">/</span>dev<span style="color: #000000; font-weight: bold;">/</span>dsk<span style="color: #000000; font-weight: bold;">/</span>c0t0d0s0 <span style="color: #000000; font-weight: bold;">/</span>tmp<span style="color: #000000; font-weight: bold;">/</span>a
&nbsp;
<span style="color: #7a0874; font-weight: bold;">cd</span> <span style="color: #000000; font-weight: bold;">/</span>tmp<span style="color: #000000; font-weight: bold;">/</span>a<span style="color: #000000; font-weight: bold;">/</span>etc
&nbsp;
<span style="color: #007800;">TERM</span>=vt100; <span style="color: #7a0874; font-weight: bold;">export</span> TERM
&nbsp;
<span style="color: #c20cb9; font-weight: bold;">vi</span> shadow
 </pre></td></tr></table></div>

<p>Delete passwd entry (13 chars) in the line for root.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.goworkday.com/2008/06/08/recover-root-password-on-solaris/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

