<?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>AIX Commands, Tools, Scripts and Explanations &#187; Certification</title>
	<atom:link href="http://icancompute.ca/aix/category/cert/feed/" rel="self" type="application/rss+xml" />
	<link>http://icancompute.ca/aix</link>
	<description>Everything I have learnt and used while being an AIX systems adminstrator.  Custom scripts, commands and projects used to maintain a virtualized AIX server environment</description>
	<lastBuildDate>Tue, 05 Jun 2012 19:25:14 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.5.1</generator>
		<item>
		<title>Prometric Top 10 IT Cert Myths</title>
		<link>http://icancompute.ca/aix/cert/prometric-top-10-cert-myths/</link>
		<comments>http://icancompute.ca/aix/cert/prometric-top-10-cert-myths/#comments</comments>
		<pubDate>Sun, 29 Jan 2012 22:16:20 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Certification]]></category>
		<category><![CDATA[certification]]></category>
		<category><![CDATA[ibm]]></category>
		<category><![CDATA[prometric]]></category>

		<guid isPermaLink="false">http://icancompute.ca/aix/?p=428</guid>
		<description><![CDATA[Judy Katz, the Communcations Manager over at Prometric released a document named &#8220;The Top 10 IT Certification Myths. Addressing the top 10 Myths About IT Certification: A Counterpoint Position to Misinterpretation&#8221; (read here).  In case you aren&#8217;t aware, Prometric handles the IBM certifications and many other certifications for big name IT leaders. Let&#8217;s take a quick look [...]]]></description>
				<content:encoded><![CDATA[<p>Judy Katz, the Communcations Manager over at Prometric released a document named &#8220;<em>The Top 10 IT Certification Myths. Addressing the top 10 Myths About IT Certification: A Counterpoint Position to Misinterpretation</em>&#8221; (read <a title="Certification Myths" href="https://www.prometric.com/reference/VOC3.htm" target="_blank">here</a>).  In case you aren&#8217;t aware, Prometric handles the IBM certifications and many other certifications for big name IT leaders. Let&#8217;s take a quick look at what she talks about here.</p>
<p>&nbsp;</p>
<p>Myths:</p>
<p><strong>Certifications are Vendor-centric</strong></p>
<ul>
<li>While this is true, the negative outlook on this truth is unwarranted.  Most technologies are developed by specific vendors, and certain vendors are the best to oversee certification over the technology.  This means that while a certification may be vendor specific, that vendor&#8217;s certification will prove a highly technical mastery of the subject at hand.</li>
</ul>
<p><strong>Certification&#8217;s Life Cycle Is Short</strong></p>
<ul>
<li>This is a benefit of the changing times and increasingly powerful IT innovations.  The ability to prove mastery over a current, cutting edge technology has many benefits and employers do see a difference between those certified in archaic technologies and those keeping up with innovation and trends</li>
</ul>
<p><strong>Certifications Are Not Real-World Oriented</strong></p>
<ul>
<li>This criticism has holes in it, being that real world changes and is different from place to place.  Holding certifications in multiple technologies at different levels shows your ability to understand multiple aspects of a technology.  Many certifications also provide real world simulations or environments as a part of the process, and therefore this myth loses truth between vendors and technologies</li>
</ul>
<p><strong>Certifications Have Been Devalued</strong></p>
<ul>
<li>It has been proven that those holding certifications have higher than average salaries, and that cheating is becoming increasingly difficult if not impossible for many certifications.</li>
</ul>
<p><strong>No Oversight Body</strong></p>
<ul>
<li>The Information Technology Certification Council (ITCC) was formed to oversee the certification process and is comprised of many IT leaders such as IBM, HP and Microsoft</li>
</ul>
<p><strong>Degree vs. Certification vs. Experience</strong></p>
<ul>
<li>Certifications prove a deeper understanding and knowledge of specific technologies that degrees cannot match.  Also, certifications speak volumes to those holding them.  Certifications are often seen as tie breakers when other credentials are equal</li>
</ul>
<p><strong>HR People Are Not In Touch with the Real World</strong></p>
<ul>
<li>Certifications stand as a clear delimiter of in depth knowledge over a subject and therefore are an obvious benefit to HR execs.</li>
</ul>
<p><strong>Budget Cuts</strong></p>
<ul>
<li>Studies have shown that companies supporting tuition and certification reimbursement attract higher attention and therefore these remain to be values of top competitor companies.</li>
</ul>
<p><strong>Glut of Certified People</strong></p>
<ul>
<li>A gap exists between the required knowledge and the available skilled professionals.  Certifications help bridge that gap by providing the market with skilled employees.</li>
</ul>
<p><strong>No One Knows Which Certs Matter</strong></p>
<ul>
<li>Certifications add a widely accepted benefit to any professional.  An employer needn&#8217;t know the specifics of the certification to understand the benefit of hiring certified professionals.</li>
</ul>
<p>&nbsp;</p>
<p>Overall I found this write up to be beneficial and to provide further justification for seeking certifications whether you are currently employed with an organization that provides reimbursement, or if you are on the job market and looking for an edge over your competition</p>
]]></content:encoded>
			<wfw:commentRss>http://icancompute.ca/aix/cert/prometric-top-10-cert-myths/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>IBM Certification Format</title>
		<link>http://icancompute.ca/aix/cert/ibm-certification-format/</link>
		<comments>http://icancompute.ca/aix/cert/ibm-certification-format/#comments</comments>
		<pubDate>Tue, 24 Jan 2012 18:51:28 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Certification]]></category>
		<category><![CDATA[aix]]></category>
		<category><![CDATA[certification]]></category>
		<category><![CDATA[format]]></category>

		<guid isPermaLink="false">http://icancompute.ca/aix/?p=424</guid>
		<description><![CDATA[Many of you may be curious on the formatting of the certifications.  I know I was.  The certification tests are offered throughout the world, many of them at small business colleges.  Based on my experience, this is what you can expect: Multiple choice Video recording Computer based Timed Given a scrap of paper for notes [...]]]></description>
				<content:encoded><![CDATA[<p>Many of you may be curious on the formatting of the certifications.  I know I was.  The certification tests are offered throughout the world, many of them at small business colleges.  Based on my experience, this is what you can expect:</p>
<ul>
<li>Multiple choice</li>
<li>Video recording</li>
<li>Computer based</li>
<li>Timed</li>
<li>Given a scrap of paper for notes</li>
<li>Cannot bring cell phone&#8217;s into room</li>
</ul>
<p>If you go to the IBM website you will see that most tests are broken down into categories.  These breakdowns are very accurate as you also get a print out at the end of how you did in each category. If you aren&#8217;t strong in a subject, LEARN IT.  It won&#8217;t be like in highschool where the teacher says something might be on the exam and it isn&#8217;t.  Each category listed is in fact on the exam, with weighting how it is outlined.</p>
]]></content:encoded>
			<wfw:commentRss>http://icancompute.ca/aix/cert/ibm-certification-format/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Test 000-221: AIX 7 Administration Overview</title>
		<link>http://icancompute.ca/aix/cert/overview-test-000221-aix-7-administration-ibm-aix-certification/</link>
		<comments>http://icancompute.ca/aix/cert/overview-test-000221-aix-7-administration-ibm-aix-certification/#comments</comments>
		<pubDate>Tue, 17 Jan 2012 17:58:17 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Certification]]></category>
		<category><![CDATA[000-221]]></category>
		<category><![CDATA[administration]]></category>
		<category><![CDATA[aix]]></category>
		<category><![CDATA[certification]]></category>

		<guid isPermaLink="false">http://icancompute.ca/aix/?p=409</guid>
		<description><![CDATA[System Availability (10%) Identify resources used by Cluster Aware AIX Configure dump devices and analyze output Determine elements necessary to reduce single points of failure Understand geographical logical volume manager (GLVM) Maintain hardware (CEC/Blade Hardware), deferred or concurrent firmware, AMM firmware (for Power Blades), whether an adapter replacement or new installation. Storage Management (21%) Create [...]]]></description>
				<content:encoded><![CDATA[<p><strong>System Availability (10%)</strong></p>
<ol type="1">
<li>Identify resources used by Cluster Aware AIX</li>
<li>Configure dump devices and analyze output</li>
<li>Determine elements necessary to reduce single points of failure</li>
<li>Understand geographical logical volume manager (GLVM)</li>
<li>Maintain hardware (CEC/Blade Hardware), deferred or concurrent firmware, AMM firmware (for Power Blades), whether an adapter replacement or new installation.</li>
</ol>
<p><strong>Storage Management (21%)</strong></p>
<ol type="1">
<li>Create and manage filesystems</li>
<li>Create and manage logical volumes</li>
<li>Create and manage volume groups</li>
<li>Manage physical and virtual devices</li>
<li>Manage storage devices (traditional disk, Solid State Drives, and tape) including redundancy</li>
</ol>
<p><strong>System and Network Security (4%)</strong></p>
<ol type="1">
<li>Configure Role Based Access Control</li>
<li>Configure and Manage remote access</li>
</ol>
<p><strong>Partition Management (11%)</strong></p>
<ol type="1">
<li>Configure and manage Logical Partitions (LPARs), including DLPAR operations</li>
<li>Create and manage Workload Partitions (WPAR), including Versioned WPARs and planning for Live Application Mobility</li>
<li>Understand HMC, SDMC and IVM interfaces</li>
<li>Create and Manage VIO Server partitions (including working with virtual repositories)</li>
<li>Understand and explain LPAR and WPAR migration and mobility at a basic level</li>
</ol>
<p><strong>Performance Management and Tuning</strong></p>
<ol type="1">
<li>Use performance monitoring tools, and plan for future growth</li>
<li>Analyze output from performance monitoring tools</li>
<li>Configure system tunables to support optimal application performance</li>
</ol>
<p><strong>Network Management (11%)</strong></p>
<ol type="1">
<li>Configure network devices (including Etherchannel, IPv4, and IPv6)</li>
<li>Troubleshoot network issues</li>
<li>Configure TCP/IP, with and without VLAN support</li>
</ol>
<p><strong>System Management (18%)</strong></p>
<ol type="1">
<li>Create, maintain and modify user accounts</li>
<li>Manage services and subsystems (using chtcp, etc)</li>
<li>Configure Electronic Service Agent</li>
<li>Configure the system and device attributes</li>
<li>Use AIX system management tools (for example: DSM, Director, NIM)</li>
<li>Install, apply, commit, or reject software</li>
<li>Create and manage paging space</li>
<li>Use Cron and At functions</li>
</ol>
<p><strong>Install and Manage AIX (11%)</strong></p>
<ol type="1">
<li>Understand and manage AIX instance startup</li>
<li>Backup and restore AIX</li>
<li>Migrate WPARs from AIX 6 to AIX 7</li>
<li>Install AIX and use NIM environments</li>
<li>Install Versioned WPARs</li>
</ol>
<p><strong>General administrative tasks (7%)</strong></p>
<ol type="1">
<li>Create and use ksh and Perl scripts at a basic level</li>
<li>Use AIX commands such as TAR, CPIO, DD, RPM, SAVEVGSTRUC, and explain their use</li>
</ol>
]]></content:encoded>
			<wfw:commentRss>http://icancompute.ca/aix/cert/overview-test-000221-aix-7-administration-ibm-aix-certification/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Advanced tasks &#124; AIX Certification</title>
		<link>http://icancompute.ca/aix/cert/advanced-tasks-aix-certification/</link>
		<comments>http://icancompute.ca/aix/cert/advanced-tasks-aix-certification/#comments</comments>
		<pubDate>Wed, 11 Jan 2012 18:49:00 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Certification]]></category>
		<category><![CDATA[aix]]></category>
		<category><![CDATA[certification]]></category>
		<category><![CDATA[crash]]></category>
		<category><![CDATA[errpt]]></category>
		<category><![CDATA[HMC]]></category>
		<category><![CDATA[restart]]></category>
		<category><![CDATA[shut down]]></category>

		<guid isPermaLink="false">http://icancompute.ca/aix/?p=357</guid>
		<description><![CDATA[This is an in-depth explanation for use with the AIX Basics Certification Guide. (Continued from here) Shutdown and reboot the system → shutdown -h, shutdown -r Start or stop logical partitions → HMC Recognize system or partition hangs and crashes Shutdown and reboot the system To shutdown or reboot the lpar from the lpar itself: shutdown -&#62; [...]]]></description>
				<content:encoded><![CDATA[<p>This is an in-depth explanation for use with the <a title="AIX Basics Certification Test Study Guide" href="http://icancompute.ca/aix/miscellaneous/aix-basics-study-guide/">AIX Basics Certification Guide</a>. (Continued from <a title="Other operator tasks | AIX Certification" href="http://icancompute.ca/aix/cert/operator-tasks-aix-certification/" target="_blank">here</a>)</p>
<ol>
<li>Shutdown and reboot the system → shutdown -h, shutdown -r</li>
<li>Start or stop logical partitions → HMC</li>
<li>Recognize system or partition hangs and crashes</li>
</ol>
<div><strong>Shutdown and reboot the system</strong></div>
<p>To shutdown or reboot the lpar from the lpar itself:</p>
<p>shutdown -&gt; Shuts down the lpar</p>
<p>shutdown -r -&gt; Reboots the lpar</p>
<p><strong>Start or stop logical partitions</strong></p>
<p>This process is performed from the HMC (stopping an lpar is the same as shutdown).</p>
<p>Select Systems, Specified System, Check the LPAR -&gt; Operations</p>
<p>**If you would like to start a new profile, or initiate changes made to a profile, you will need to shutdown and start up the lpar</p>
<p>When shutting down the LPAR it will ask you if you are replacing the battery.  Make sure you don&#8217;t select this as this will call home to IBM (unless you want to do that&#8230;)</p>
<p><strong>Recognize system or partition hangs and crashes</strong></p>
<p>There are many ways to monitor and check the status on your LPAR.  Make sure you use the &#8220;errpt&#8221; command to view the error report.  AIX has a system hang detection in place, more info <a title="IBM" href="http://publib.boulder.ibm.com/infocenter/pseries/v5r3/index.jsp?topic=/com.ibm.aix.baseadmn/doc/baseadmndita/sys_startup.htm">here</a>, which will write to a log file upon system hang.</p>
]]></content:encoded>
			<wfw:commentRss>http://icancompute.ca/aix/cert/advanced-tasks-aix-certification/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Other operator tasks &#124; AIX Certification</title>
		<link>http://icancompute.ca/aix/cert/operator-tasks-aix-certification/</link>
		<comments>http://icancompute.ca/aix/cert/operator-tasks-aix-certification/#comments</comments>
		<pubDate>Wed, 11 Jan 2012 18:48:45 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Certification]]></category>
		<category><![CDATA[aix]]></category>
		<category><![CDATA[alog]]></category>
		<category><![CDATA[certification]]></category>
		<category><![CDATA[env]]></category>
		<category><![CDATA[errpt]]></category>
		<category><![CDATA[lsdev]]></category>
		<category><![CDATA[mail]]></category>
		<category><![CDATA[man]]></category>
		<category><![CDATA[mksysb]]></category>
		<category><![CDATA[smit]]></category>

		<guid isPermaLink="false">http://icancompute.ca/aix/?p=356</guid>
		<description><![CDATA[This is an in-depth explanation for use with the AIX Basics Certification Guide. (Continued from here) Describe the function and use of smit → system management interface tool for menu driven admin tools Use &#8216;man&#8217; pages → man [cmd], man -k “keyword” View system logs and errors (errrpt, syslog, alog) Create, read, delete and forward mail → [...]]]></description>
				<content:encoded><![CDATA[<p>This is an in-depth explanation for use with the <a title="AIX Basics Certification Test Study Guide" href="http://icancompute.ca/aix/miscellaneous/aix-basics-study-guide/">AIX Basics Certification Guide</a>. (Continued from <a title="Basic process control | AIX Certification" href="http://icancompute.ca/aix/cert/basic-process-control-aix-certification/" target="_blank">here</a>)</p>
<ol>
<li>Describe the function and use of smit → system management interface tool for menu driven admin tools</li>
<li>Use &#8216;man&#8217; pages → man [cmd], man -k “keyword”</li>
<li>View system logs and errors (errrpt, syslog, alog)</li>
<li>Create, read, delete and forward mail → mail, mail -s “Subject” [destination] &lt; input file, mail [usr]</li>
<li>Use commands to find devices and determine their status (lsdev, lscfg) → cfgmgr, lsdev,</li>
<li>Understand and run different types of backups → mksysb</li>
<li>Understand environment variables (e.g. TERM, EDITOR)</li>
</ol>
<p><strong>Describe the function and use of smit</strong></p>
<p><strong>S</strong>ystem <strong>M</strong>anagement <strong>I</strong>nterface <strong>T</strong>ool for menu driven admin tools</p>
<p>Smit is a menu driven tool that has all of the functions an admin would need to perform built into a step by step process.  Proceed through the menu to choose the action you would like to take, and use these methods to increase your efficiency</p>
<p>**NOTE using smit you can use the function keys (ie F1) or in some cases you may find it better to use the esc sequence.  If you find your function keys don&#8217;t perform well, use esc + the corresponding number.  IE F1 = esc+1</p>
<p>For <strong>yes/no</strong> options, tab between choices</p>
<p>When a <strong>&#8220;+&#8221;</strong> appears beside an input box, use F4 or esc+4 to view choices</p>
<p>Any mandatory fields are marked with an <strong>&#8220;*&#8221;</strong></p>
<p><strong></strong>After smit performs an action, use F6 or esc+6 to <strong>see the commands</strong> smit ran</p>
<p><strong>Use &#8216;man&#8217; pages</strong></p>
<p>Man pages, or manual pages, are a standard to all flavours of unix and linux.  While AIX does feature man pages on most commands, IBM also offers the<a title="Info Center" href="http://publib.boulder.ibm.com/infocenter/pseries/v5r3/index.jsp" target="_blank"> Info Center</a>, for any and all help with AIX commands and questions.</p>
<p>man <em>command</em> -&gt; This will provide you with the manual pages for a command</p>
<p>man -k <em>keyword</em> -&gt; This will search the man pages for your keyword, in case you don&#8217;t know the specific command</p>
<p><strong>View system logs and errors </strong></p>
<p>AIX offers two very versatile tools for error log and system log viewing.</p>
<p>errpt -&gt; This tool outputs the contents of error logs into a report which you can filter through, or use flags to select only the errors you are interested in.  This is a very nice tool for consolidating error reports and providing you with a central location for error checking</p>
<p>alog -&gt; This tool, which works off of standard input, will provide you with much of the functionality of errpt and can tap into places such as the console which is very important in problem determination</p>
<p><strong>Create, read, delete and forward mail</strong></p>
<p>The mail interface can be launched by the &#8220;mail&#8221; command.  This will provide you with a user interface allowing you to view and action any mail in your inbox.  Issue the following commands from within the interface:</p>
<table cellspacing="1" cellpadding="5">
<tbody>
<tr>
<td valign="top">#</td>
<td valign="top">Display message number</td>
</tr>
<tr>
<td valign="top">-</td>
<td valign="top">Print previous</td>
</tr>
<tr>
<td valign="top">+</td>
<td valign="top">Next (no delete)</td>
</tr>
<tr>
<td valign="top">!command</td>
<td valign="top">Escape to the shell to execut command.</td>
</tr>
<tr>
<td valign="top">&lt;CR&gt;</td>
<td valign="top">Next (no delete)</td>
</tr>
<tr>
<td valign="top">a</td>
<td valign="top">Print message that arrived during the mail session.</td>
</tr>
<tr>
<td valign="top">d or dp</td>
<td valign="top">Delete the current message and print the next message.</td>
</tr>
<tr>
<td valign="top">d n</td>
<td valign="top">Delete message number n. Do not go on to next message.</td>
</tr>
<tr>
<td valign="top">dq</td>
<td valign="top">Delete message and quit mail.</td>
</tr>
<tr>
<td valign="top">h</td>
<td valign="top">Display a window of headers around current message.</td>
</tr>
<tr>
<td valign="top">h n</td>
<td valign="top">Display a window of headers around message number n.</td>
</tr>
<tr>
<td valign="top">h a</td>
<td valign="top">Display headers of all messages in the user&#8217;s mailfile.</td>
</tr>
<tr>
<td valign="top">h d</td>
<td valign="top">Display headers of messages scheduled for deletion.</td>
</tr>
<tr>
<td valign="top">m [persons]</td>
<td valign="top">Mail (and delete) the current message to the named persons.</td>
</tr>
<tr>
<td valign="top">n</td>
<td valign="top">Print message number n.</td>
</tr>
<tr>
<td valign="top">p</td>
<td valign="top">Print current message again, overriding any indications of binary (that is, unprintable) content.</td>
</tr>
<tr>
<td valign="top">P</td>
<td valign="top">Override default brief mode and print current message again, displaying all header lines.</td>
</tr>
<tr>
<td valign="top">q, or CTRL-D</td>
<td valign="top">Put undeleted mail back in the mailfile and quit mail .</td>
</tr>
<tr>
<td valign="top">r [users]</td>
<td valign="top">Reply to the sender, and other users, then delete the message.</td>
</tr>
<tr>
<td valign="top">s [files]</td>
<td valign="top">Save message in the named file s (mbox is default) and delete the message.</td>
</tr>
<tr>
<td valign="top">u [n]</td>
<td valign="top">Undelete message number n (default is last read).</td>
</tr>
<tr>
<td valign="top">w [files]</td>
<td valign="top">Save message contents, without any header lines, in the named files (mbox is default) and delete the message.</td>
</tr>
<tr>
<td valign="top">x</td>
<td valign="top">Put all mail back in the mailfile unchanged and exit mail .</td>
</tr>
<tr>
<td valign="top">y [files]</td>
<td valign="top">Same as -w option.</td>
</tr>
<tr>
<td valign="top">?</td>
<td valign="top">Print a command summary.</td>
</tr>
</tbody>
</table>
<p>mail -s “<em>Subject</em>” <em>destination</em> &lt; <em>input file</em> -&gt; This is a simple command to send a mail message to someone in one command.  This can be placed in a script or run from command line.</p>
<p>mail <em>user</em> -&gt; Issue this command to send mail using the step by step process</p>
<p><strong>Use commands to find devices and determine their status (lsdev, lscfg)</strong></p>
<p>lsdev -Cc <em>device_type</em> -&gt; This command will show any devices that fall within the specified type</p>
<p>lscfg -l <em>device</em> -&gt; Once you find the device name using &#8220;lsdev&#8221; you can issue the list configuration command to view its configuration</p>
<p>lsattr -El <em>device</em> -&gt; This command will show you all attributes of a specified device</p>
<p><strong>Understand and run different types of backups</strong></p>
<p>If all you want to do is backup specific files to an external resource, you can very simply use <strong>tar </strong>to package up the files and move them to another device.  There are much more elegant tools however, many of them specific to AIX.  One of the best backups tools for AIX is the <strong>mksysb</strong> command.  This command will perform a full backup of all system files (rootvg), and will maintain structure and provide you with a simple means of restoring your information in case of an emergency.  Alternatively, you can use tools such as <strong>savevg</strong> or <strong>alt_disk_install</strong> which allow you to create backups of your volume group or disk (respectively) onto another medium to create more or less a carbon copy</p>
<p><strong>Understand environment variables (e.g. TERM, EDITOR)</strong></p>
<p>env -&gt; To view all current environment variables, issue this command</p>
<p><em>VARIABLE=value</em> -&gt; To edit an environment variable, for this session, edit it like any other variable</p>
<p>**Note: all environment variables are capitalized</p>
<p>echo <em>$VARIABLE</em> -&gt; view a specific variable value</p>
<p>To <strong>permanently</strong> change environment variables, edit your .profile or .kshrc files</p>
<p>eloquent</p>
]]></content:encoded>
			<wfw:commentRss>http://icancompute.ca/aix/cert/operator-tasks-aix-certification/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Basic process control &#124; AIX Certification</title>
		<link>http://icancompute.ca/aix/cert/basic-process-control-aix-certification/</link>
		<comments>http://icancompute.ca/aix/cert/basic-process-control-aix-certification/#comments</comments>
		<pubDate>Wed, 11 Jan 2012 18:48:17 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Certification]]></category>
		<category><![CDATA[aix]]></category>
		<category><![CDATA[at]]></category>
		<category><![CDATA[certification]]></category>
		<category><![CDATA[cron]]></category>
		<category><![CDATA[jobs]]></category>
		<category><![CDATA[process]]></category>
		<category><![CDATA[topas]]></category>

		<guid isPermaLink="false">http://icancompute.ca/aix/?p=355</guid>
		<description><![CDATA[This is an in-depth explanation for use with the AIX Basics Certification Guide. (Continued from here) Determine which processes are currently running on the system → ps -ef Stop a process, or running or pending job. → kill -9 [pid], kill %[job number] Use at and cron to manage scheduled tasks → crontab -l, crontab -e (minute [...]]]></description>
				<content:encoded><![CDATA[<p>This is an in-depth explanation for use with the <a title="AIX Basics Certification Test Study Guide" href="http://icancompute.ca/aix/miscellaneous/aix-basics-study-guide/">AIX Basics Certification Guide</a>. (Continued from <a title="User management | AIX Certification" href="http://icancompute.ca/aix/cert/user-management/" target="_blank">here</a>)</p>
<ol>
<li>Determine which processes are currently running on the system → ps -ef</li>
<li>Stop a process, or running or pending job. → kill -9 [pid], kill %[job number]</li>
<li>Use at and cron to manage scheduled tasks → crontab -l, crontab -e (minute hour dom month weekday cmd), at [now + 2 days, 5 pm), at -l</li>
<li>View pending jobs → jobs</li>
<li>Understand and use topas</li>
</ol>
<p><strong>Determine which processes are currently running on the system</strong></p>
<p>ps -ef -&gt; This command will show you all of the currently running processes.  If necessary, pipe it to grep (ps -ef | grep <em>keyword</em>) to filter, or to more (ps -ef | more) to display it one page at a time</p>
<p><strong>Stop a process, or running or pending job</strong></p>
<p>In order to communicate with a process, you must issue the kill command.</p>
<p>Once you perform the "ps -ef" as mentioned earlier, you will get the PID (process identification number).  With this we can issue a kill (with flags) to the PID</p>
<p>kill <em>PID</em> -&gt; will result in a termination flag sent to the process</p>
<p>kill -9 <em>PID</em> -&gt; will result in the immediate shut down of a process (can have ill effects)</p>
<p>kill %<em>job_number -&gt; </em>You can also issue a kill command on a job (discussed later)</p>
<p><strong>Use at and cron to manage scheduled tasks</strong></p>
<p>Your crontab is a scheduling tool that allows you to issue recurring tasks at specified times. Each user has their own crontab and can edit it as seen below</p>
<p>crontab -l -&gt; display the contents of the crontab</p>
<p>crontab -e -&gt; edit the contents of the crontab</p>
<p>(minute hour dom month weekday cmd) -&gt; format of crontab entry (substitute any recurring flag with a "*"</p>
<p>at [now + 2 days, 5 pm] <em>command</em>-&gt; issue the &#8220;at&#8221; command to perform a one time schedule of a command.</p>
<p>at -l -&gt; show all scheduled tasks using &#8220;at&#8221;</p>
<p><strong>View pending jobs</strong></p>
<p>Your jobs (anything running in the background related to your session) can be found simply by issuing the &#8220;jobs&#8221; command.  With the job number you can issue the kill command as previously mentioned</p>
<p><strong>Understand and use topas</strong></p>
<p>topas can be used to report statistics on your machine.  This tool is especially useful for retrieving detailed information on an lpar at the present moment.</p>
<p>topas -d20 -i2 -n20 -p20 -w20 -c20 -&gt; This will run topas and display all details at a 20 second refresh rate</p>
<pre></pre>
]]></content:encoded>
			<wfw:commentRss>http://icancompute.ca/aix/cert/basic-process-control-aix-certification/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>User management &#124; AIX Certification</title>
		<link>http://icancompute.ca/aix/cert/user-management/</link>
		<comments>http://icancompute.ca/aix/cert/user-management/#comments</comments>
		<pubDate>Tue, 10 Jan 2012 19:02:33 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Certification]]></category>
		<category><![CDATA[aix]]></category>
		<category><![CDATA[certification]]></category>
		<category><![CDATA[group]]></category>
		<category><![CDATA[password]]></category>
		<category><![CDATA[user]]></category>

		<guid isPermaLink="false">http://icancompute.ca/aix/?p=328</guid>
		<description><![CDATA[This is an in-depth explanation for use with the AIX Basics Certification Guide. (Continued from here) User management (8%) Reset passwords → passwd [user] Show which groups a user belongs to → lsgroup ALL, lsuser ALL View and understand user permissions Control logged-in users → who, finger, fuser -u (-k -x -c) [file, dir], kill users shell [...]]]></description>
				<content:encoded><![CDATA[<p>This is an in-depth explanation for use with the <a title="AIX Basics Certification Test Study Guide" href="http://icancompute.ca/aix/miscellaneous/aix-basics-study-guide/">AIX Basics Certification Guide</a>. (Continued from <a title="Korn Shell" href="http://icancompute.ca/aix/cert/korn-shell/" target="_blank">here</a>)</p>
<p>User management (8%)</p>
<ol>
<li>Reset passwords → passwd [user]</li>
<li>Show which groups a user belongs to → lsgroup ALL, lsuser ALL</li>
<li>View and understand user permissions</li>
<li>Control logged-in users → who, finger, fuser -u (-k -x -c) [file, dir], kill users shell</li>
<li>Understand the login process (what happens during login) → getty → /etc/passwd → /etc/security/passwd → .profile</li>
</ol>
<p><strong>Reset passwords</strong></p>
<p>passwd -&gt; this command will change the current users password</p>
<p>passwd <em>username</em> -&gt; if you are root, you can use this to change another user&#8217;s password (doing this will force the user to reset his/her password on login)</p>
<p>You can also use smitty to change passwords:</p>
<p>smit -&gt; Security and Users -&gt; Passwords -&gt; Change a User&#8217;s Password</p>
<p><strong>Show which groups a user belongs to</strong></p>
<p>lsgroup group<em>name</em> -&gt; list the characteristics of a group, including users</p>
<p>lsuser <em>username </em>-&gt; list the characteristics of a user, including the groups</p>
<p>id -gn <em>username</em> -&gt; list the primary group associated with a user</p>
<p>smit -&gt; Security and Users -&gt; Users -&gt; Change / Show Characteristics of a User -&gt; <em>username</em></p>
<p><strong>View and understand user permissions</strong></p>
<p>AIX maintains user permissions slightly different than the standard UNIX.  The similarities are as follows:</p>
<ul>
<li>All files have permissions, which come down to read, write and execute permissions</li>
<li>Each file separates permissions by user, group and other.  The file is owned by a user and a group, and these permissions reflect those individuals.  The other permission is for everyone that does not fall into the user or group position.</li>
<li>To view these permissions, issue the &#8220;ls -l&#8221; command.  Here you will see the permissions in a &#8220;rwxrwxrwx&#8221; format.  r-read, w-write, x-execute.  First 3 for user, next 3 for group, last 3 for other.</li>
<li>Change permissions using &#8220;chmod&#8221; &#8220;chown&#8221; or &#8220;chgrp&#8221;</li>
</ul>
<div>chown <em>user:group file</em> -&gt; Change the owner of a file to the specified user and group</div>
<div>
<div>chown <em>user file</em> -&gt; Change the owner of a file to the specified user only</div>
<div>chgrp <em>group file</em> -&gt; Change the group associated with the file</div>
<div>chmod <em>ugo+-rwx</em> -&gt; Use any user flag (<strong>u</strong>ser, <strong>g</strong>roup or <strong>o</strong>ther) to add (+) or subtract (-) any permission flag (<strong>r</strong>ead <strong>w</strong>rite or e<strong>x</strong>ecute)</div>
</div>
<div></div>
<div>
<ul>
<li>The <strong>umask</strong> sets the default permissions for new files.  Each user has a umask set in the /etc/security/user file and is in octal notation</li>
<li>Permissions in octal are as follows:</li>
</ul>
<div>
<p>0     0     0 = nothing<br />
1     1      1 = eXecute<br />
2     2      2 = Write<br />
4     4       4 = Read<br />
___ ___ ___<br />
user group others</p>
</div>
</div>
<p><strong>Control logged-in users</strong></p>
<p>who -&gt; This command will tell you what users are currently logged in, what time they logged in at and from where.</p>
<p>finger <em>user -&gt; </em>This command will give you more details about a specific user.  The shell, home directory, how long they have been logged in, and what their plan is (if they set it)</p>
<p><em></em>fuser -u (-k -x -c) <em>file/directory</em> -&gt; Identifies a which user is currently using a specific file or directory.  Good for if you are trying to modify a file, unmount a folder etc.</p>
<p>The easiest way to kick a user off an lpar is to simply kill the user&#8217;s shell.  &#8221;ps -ef | grep <em>user&#8221;</em> and then issue the kill command on the PID.</p>
<p><strong>Understand the login process (what happens during login)</strong></p>
<ul>
<li>User enters id at login prompt.</li>
<li><span style="text-decoration: underline;">getty </span>starts <span style="text-decoration: underline;">login </span>program and checks <span style="text-decoration: underline;">/etc/passwd</span> and <span style="text-decoration: underline;">/etc/security/passwd</span>.</li>
<li>start login shell.</li>
<li><span style="text-decoration: underline;">.profile</span> runs</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://icancompute.ca/aix/cert/user-management/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Korn Shell &#124; AIX Certification</title>
		<link>http://icancompute.ca/aix/cert/korn-shell/</link>
		<comments>http://icancompute.ca/aix/cert/korn-shell/#comments</comments>
		<pubDate>Tue, 10 Jan 2012 18:59:50 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Certification]]></category>
		<category><![CDATA[history]]></category>
		<category><![CDATA[korn shell]]></category>
		<category><![CDATA[ksh]]></category>
		<category><![CDATA[nohup]]></category>
		<category><![CDATA[pipe]]></category>
		<category><![CDATA[script]]></category>

		<guid isPermaLink="false">http://icancompute.ca/aix/?p=327</guid>
		<description><![CDATA[This is an in-depth explanation for use with the AIX Basics Certification Guide. (Continued from here) Korn shell (9%) Redirect standard in, standard out, standard error, and pipe output to another command → ls &#60; cat listfiles 1&#62; output.txt 2&#62;errlog.txt &#124; grep user Use shell history to look at previous commands → history, set -o vi, Run [...]]]></description>
				<content:encoded><![CDATA[<p>This is an in-depth explanation for use with the <a title="AIX Basics Certification Test Study Guide" href="http://icancompute.ca/aix/miscellaneous/aix-basics-study-guide/">AIX Basics Certification Guide</a>. (Continued from <a title="Using vi" href="http://icancompute.ca/aix/cert/vi/" target="_blank">here</a>)</p>
<p>Korn shell (9%)</p>
<ol>
<li>Redirect standard in, standard out, standard error, and pipe output to another command → ls &lt; cat listfiles 1&gt; output.txt 2&gt;errlog.txt | grep user</li>
<li>Use shell history to look at previous commands → history, set -o vi,</li>
<li>Run shell scripts → if executable ($ scriptname), if not (./scriptname) (ksh scriptname)</li>
<li>Use wildcard, regular expressions, and meta characters on the command line → * ? [A-Z] [a-z] [0-9] + {5}</li>
<li>Run a command in the background, and so it does not terminate upon exit → nohup cmd &amp;</li>
</ol>
<p><strong>Redirect standard in, standard out, standard error, and pipe output to another command</strong></p>
<p>In UNIX, when issuing commands there are 3 main parts that are involved with the command.  The first is <strong>standard in (&lt;), </strong>which is the input the command uses and acts upon.  The output of the command, when issuing a verbose command, is referred to as the <strong>standard out(1&gt;)</strong>.  If an error occurs, we refer to the output of this error as <strong>standard error(2&gt;).</strong></p>
<p>For an example of all of these, lets look at the following command:</p>
<p>ls &lt; <em>string1</em> 1&gt; output.txt 2&gt;errlog.txt | grep user</p>
<p>In this case, &#8220;<em>string1</em>&#8221; is the <strong>standard input</strong> going into the &#8220;ls&#8221; command.  Out of that command is the <strong>standard out</strong> going to output.txt and the <strong>standard error</strong> going to errlog.txt.</p>
<p>UNIX also supports the idea of a <strong>pipe ( | )</strong> which is the equivalent of sending the output of a command to another.  A common occurrence of this is when you want to find a specific term in a file, but don&#8217;t want to read the entire thing.  Many people use &#8220;grep&#8221; to find the line which holds a search word.  To use grep, we often <strong>cat</strong> a file and <strong>pipe</strong> it to <strong>grep.</strong></p>
<p>cat testfile | grep</p>
<p><strong>Use shell history to look at previous commands</strong></p>
<p>To view your shell history, you can do a number of things.  One command which will quickly output your most recent history is the aptly named &#8220;history&#8221; command.</p>
<p>If you would like to issue a recent command again you can do the following.</p>
<p>set -o vi -&gt; this will set your session to use vi editing mode</p>
<p>escape-k -&gt; this will bring up your last command</p>
<p>From here you can issue standard vi movements and editing commands to iterate through commands and make changes</p>
<p><strong>Run shell scripts</strong></p>
<p>You can run shell scripts a number of ways:</p>
<p>$ <em>scriptname.sh</em> -&gt; if the script is executable, and in your current directory or path, simply issue its name</p>
<p>./<em>scriptname.sh</em> -&gt; if the script is not executable, you will have to use ./ to run it (while in the current directory)</p>
<p>ksh <em>scriptname.sh</em> -&gt; to explicitly state the shell to run the script with, simply issue the shell command with the script name</p>
<p><strong>Use wildcard, regular expressions, and meta characters on the command line</strong></p>
<p>Many of the wildcards and meta characters below are recognized by your shell when issuing commands:</p>
<p>* ? [A-Z] [a-z] [0-9] + {5}</p>
<p>You can use these to substitute parts of file names etc. to make your life a little easier.</p>
<p>Example: if you have a long file name, begin typing its name until it becomes unique to only that file, and complete it with the asterisk wildcard.  &#8221;cd /etc/proj*&#8221; will take you to /etc/projects</p>
<p><strong>Run a command in the background, and so it does not terminate upon exit</strong></p>
<p>When you issue a command, the command is tied to your session.  Log out of the session and your command will close as well.  To rectify this, perform the following:</p>
<p>nohup <em>command </em>&amp;</p>
<p>nohup -&gt; nohup will allow the command/program to ignore the hangup signal (No Hang Up)</p>
<p>&amp; -&gt; the ampersand will allow the command to be run in the background</p>
]]></content:encoded>
			<wfw:commentRss>http://icancompute.ca/aix/cert/korn-shell/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Using vi &#124; AIX Certification</title>
		<link>http://icancompute.ca/aix/cert/vi/</link>
		<comments>http://icancompute.ca/aix/cert/vi/#comments</comments>
		<pubDate>Tue, 10 Jan 2012 18:10:28 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Certification]]></category>
		<category><![CDATA[aix]]></category>
		<category><![CDATA[certification]]></category>
		<category><![CDATA[text edit]]></category>
		<category><![CDATA[vi]]></category>

		<guid isPermaLink="false">http://icancompute.ca/aix/?p=329</guid>
		<description><![CDATA[This is an in-depth explanation for use with the AIX Basics Certification Guide. (Continued from here) Using vi (9%) Create or open a file using vi → vi [filename] Close a file using vi, both with and without saving changes → :wq, :q!, :w newfile Add, delete and change text using vi → i,a,o,O,x,dw,d$,dd,r,R Find/replace using basic [...]]]></description>
				<content:encoded><![CDATA[<p>This is an in-depth explanation for use with the <a title="AIX Basics Certification Test Study Guide" href="http://icancompute.ca/aix/miscellaneous/aix-basics-study-guide/">AIX Basics Certification Guide</a>. (Continued from <a title="Access a System" href="http://icancompute.ca/aix/cert/access-system/" target="_blank">here</a>)</p>
<p>Using vi (9%)</p>
<ol>
<li>Create or open a file using vi → vi [filename]</li>
<li>Close a file using vi, both with and without saving changes → :wq, :q!, :w newfile</li>
<li>Add, delete and change text using vi → i,a,o,O,x,dw,d$,dd,r,R</li>
<li>Find/replace using basic substitution, and search for text strings using vi → s/find/replace/g</li>
<li>Copy and/or move text using vi → yy,dd, p, P</li>
<li>Navigating within vi (changing cursor position, etc.) → arrows, hjkl, ctrl-d, ctrl-u, ctrl-b, ctrl-f</li>
</ol>
<p>&nbsp;</p>
<p><strong>Create or open a file using vi</strong></p>
<p>To initialize vi, simply call it in the command line using the &#8220;vi&#8221; command</p>
<p>vi <em>existing_file</em> -&gt; you can edit a file in vi by issuing this command</p>
<p>vi <em>new_file</em> -&gt; you can create a new file and begin editing it in vi by issuing this command</p>
<p><strong>Close a file using vi, both with and without saving changes</strong></p>
<p>While in vi, drop down to command mode using &#8220;:&#8221;</p>
<p>:w -&gt; to write changes to file</p>
<p>:q -&gt; to quit vi</p>
<p>:q! -&gt; quit without making changes</p>
<p>:wq -&gt; to write changes and exit vi</p>
<p>:w <em>newfile</em> -&gt; write the changes to a new file</p>
<p><strong>Add, delete and change text using vi</strong></p>
<p>i -&gt; change to &#8220;insert&#8221; mode at cursor</p>
<p>a -&gt;change to &#8220;insert&#8221; mode after cursor</p>
<p>o -&gt; open new line below and change to &#8220;insert&#8221; mode</p>
<p>O -&gt; open new line above and change to &#8220;insert&#8221; mode</p>
<p>x -&gt; delete character</p>
<p>dw -&gt; delete word</p>
<p>d$ -&gt; delete until end of line</p>
<p>dd -&gt; delete entire line</p>
<p>r -&gt; replace single character</p>
<p>R -&gt; switch to &#8220;overwrite&#8221; mode</p>
<p><strong>Find/replace using basic substitution, and search for text strings using vi</strong></p>
<p>/<em>search_string</em> -&gt; search the document for a string.  use &#8216;n&#8217; for next result and &#8216;b&#8217; for back</p>
<p>s/<em>search_string</em>/<em>replace_with</em> -&gt; basic means of issuing find a replace in vi (only on current line and first occurence)</p>
<p>s/<em>search_string</em>/<em>replace_with/g</em> -&gt; issue find and replace globally (only on current line)</p>
<p>%s/<em>search_string</em>/<em>replace_with/g </em>-&gt; issue find and replace globally on entire file</p>
<p><strong>Copy and/or move text using vi</strong></p>
<p>The concept of cut/copy and paste in vi is based on the terms yank and paste</p>
<p>yy -&gt; yank current line</p>
<p>dd -&gt; cut current line</p>
<p>p -&gt; paste clipboard contents under cursor</p>
<p>P -&gt; paste clipboard contents above cursor</p>
<p>**NOTE** once you yank or cut something to your clipboard, you cannot enter insert mode.  The clipboard empties when entering insert mode so be very careful when cutting and pasting</p>
<p><strong>Navigating within vi (changing cursor position, etc.)</strong></p>
<p>To navigate within vi there are multiple options.  The easiest by far is the arrow keys.  Others are as follows:</p>
<p>hjkl -&gt; h -left, j-down, k-up, l-right</p>
<p>ctrl-d -&gt; down half screen</p>
<p>ctrl-u -&gt; up half screen</p>
<p>ctrl-b -&gt; page backwards</p>
<p>ctrl-f -&gt; page forward</p>
]]></content:encoded>
			<wfw:commentRss>http://icancompute.ca/aix/cert/vi/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>IBM Certifications</title>
		<link>http://icancompute.ca/aix/cert/ibm-certifications/</link>
		<comments>http://icancompute.ca/aix/cert/ibm-certifications/#comments</comments>
		<pubDate>Tue, 10 Jan 2012 15:28:06 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Certification]]></category>
		<category><![CDATA[aix]]></category>
		<category><![CDATA[certification]]></category>
		<category><![CDATA[ibm]]></category>
		<category><![CDATA[prometric]]></category>

		<guid isPermaLink="false">http://icancompute.ca/aix/?p=324</guid>
		<description><![CDATA[If you are interested in any IBM certifications, I suggest you make your first stop here.  This is where you can find each certification exam, and dive into the specific categories that will be on the exam.  Some exams have preparation material, redbooks and even practice tests you can take (for a fee)  to ensure [...]]]></description>
				<content:encoded><![CDATA[<p>If you are interested in any IBM certifications, I suggest you make your first stop <a title="IBM Certs" href="http://www-03.ibm.com/certify/certs/ps_index.shtml" target="_blank">here</a>.  This is where you can find each certification exam, and dive into the specific categories that will be on the exam.  Some exams have preparation material, redbooks and even practice tests you can take (for a fee)  to ensure you know what you&#8217;re talking about before shelling out the full fee.</p>
<p>If you are looking for exam locations or to book an exam, use <a title="prometric" href="http://www.prometric.com/IBM/default.htm" target="_blank">this link</a>.  Here you can search through the exams, enter your location and book the exam itself.  Depending on location you would be looking at a ballpark of $200 USD.</p>
<p>The most important thing to remember with IBM certifications is that a certain level of real world knowledge is needed.  It is not purely a textbook exam.  My advice is to work with the technology, at least for a little while to get your feet wet, before taking any advanced exams.</p>
<p>Also, make sure you check out the other posts related to <a title="Certification Posts" href="http://icancompute.ca/aix/category/cert/">AIX certifications</a></p>
<p>&nbsp;</p>
<p>Good Luck and Happy Studying!</p>
]]></content:encoded>
			<wfw:commentRss>http://icancompute.ca/aix/cert/ibm-certifications/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
