<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/rss2full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><rss xmlns:atom="http://www.w3.org/2005/Atom" xmlns:openSearch="http://a9.com/-/spec/opensearch/1.1/" xmlns:georss="http://www.georss.org/georss" xmlns:gd="http://schemas.google.com/g/2005" xmlns:thr="http://purl.org/syndication/thread/1.0" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0"><channel><atom:id>tag:blogger.com,1999:blog-4827842540624707460</atom:id><lastBuildDate>Wed, 15 Feb 2012 04:36:48 +0000</lastBuildDate><category>Backup database</category><category>Tình yêu</category><category>Google App</category><category>bugs</category><category>Fix Windows</category><category>hosting</category><category>Linux - Solaris</category><category>Windows</category><category>vbulletin</category><category>Blogger Backup</category><category>Fix virus</category><category>Tên của bạn</category><category>iphone</category><category>Solaris</category><category>script</category><category>Software</category><category>Xá lợi</category><category>hướng dẫn</category><category>Google Adsense</category><category>cydia</category><category>News</category><category>Network</category><category>Raid</category><category>Google search</category><category>System</category><category>Javascript</category><category>php</category><category>Office</category><category>photoshop</category><category>Chat Yahoo</category><category>Perl</category><category>Exploit</category><category>sniff</category><category>Java</category><category>Rapidshare</category><category>Sinh con theo ý muốn</category><category>oracle</category><category>Ebook</category><category>Tomcat</category><category>iphone 3G</category><category>kinh nghiệm</category><category>lockerz</category><category>SQL Statement</category><category>Thủ thuật blog</category><category>HTML</category><category>rubic</category><category>An ninh - Bảo mật</category><category>Internet Explorer</category><category>command line</category><category>ubuntu</category><category>Help Blogger</category><category>ftp</category><title>Kinh Nghiệm Việt Nam - Thủ Thuật PC</title><description /><link>http://kinhnghiem.luyenthianhvan.org/</link><managingEditor>noreply@blogger.com (vitec)</managingEditor><generator>Blogger</generator><openSearch:totalResults>365</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/rss+xml" href="http://feeds.feedburner.com/kinhnghiemvn" /><feedburner:info uri="kinhnghiemvn" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><item><guid isPermaLink="false">tag:blogger.com,1999:blog-4827842540624707460.post-8856757030560032719</guid><pubDate>Wed, 15 Feb 2012 04:29:00 +0000</pubDate><atom:updated>2012-02-14T20:36:48.893-08:00</atom:updated><title>how to install memcached</title><description>&lt;h3 style="color: red;"&gt;


Install&amp;nbsp; &lt;b&gt;memcached&lt;/b&gt;&lt;/h3&gt;
&lt;h3&gt;


Cách 1: Cài và chạy bằng tay&amp;nbsp; &lt;/h3&gt;
&lt;br /&gt;
Here's a quick recipe for installing memcached on EC2 Amazon Linux AMI 1.0.&lt;br /&gt;
&lt;br /&gt;
&lt;div class="CodeRay"&gt;
&lt;blockquote class="tr_bq"&gt;
&lt;div class="code"&gt;
&lt;pre&gt;&lt;b&gt;yum install gcc libevent libevent-devel
cd /usr/local/src
wget http://memcached.org/latest
tar -xf memcached-*.tar.gz
cd memcached-*
./configure
make &amp;amp;&amp;amp; make install&lt;/b&gt;&lt;/pre&gt;
&lt;/div&gt;
&lt;/blockquote&gt;
&lt;/div&gt;
Memcached will be installed to /usr/local/bin. Let's make sure everything went well by running memcached:&lt;br /&gt;
&lt;br /&gt;
&lt;div class="CodeRay"&gt;
&lt;blockquote class="tr_bq"&gt;
&lt;div class="code"&gt;
&lt;pre&gt;&lt;b&gt;/usr/local/bin/memcached -u root -d&lt;/b&gt;&lt;/pre&gt;
&lt;/div&gt;
&lt;/blockquote&gt;
&lt;/div&gt;
&amp;nbsp;Then we'll make sure it's running&lt;br /&gt;
&lt;div class="CodeRay"&gt;
&lt;blockquote class="tr_bq"&gt;
&lt;div class="code"&gt;
&lt;pre&gt;&lt;b&gt;ps aux | grep memcached&lt;/b&gt;&lt;/pre&gt;
&lt;/div&gt;
&lt;/blockquote&gt;
netstat -anp | grep 11211&lt;br /&gt;
&amp;nbsp;&lt;/div&gt;
And finally kill it.&lt;br /&gt;
&lt;div class="CodeRay"&gt;
&lt;blockquote class="tr_bq"&gt;
&lt;div class="code"&gt;
&lt;pre&gt;&lt;b&gt;pkill memcached&lt;/b&gt;&lt;/pre&gt;
&lt;/div&gt;
&lt;/blockquote&gt;
&lt;/div&gt;
&lt;h3&gt;



&amp;nbsp;&lt;/h3&gt;
&lt;h3&gt;



Cách 2: Cài và chạy service&lt;/h3&gt;
&lt;h3&gt;



Going all out - building a memcached rpm&lt;/h3&gt;
If you're installing memcached on multiple machines then having an 
RPM handy is preferred. Make sure to run this as the ec2-user and not 
root.&lt;br /&gt;
&lt;div class="CodeRay"&gt;
&lt;div class="code"&gt;
&lt;pre&gt;&amp;nbsp;&lt;/pre&gt;
&lt;blockquote class="tr_bq"&gt;
&lt;pre&gt;&lt;b&gt;cd ~
sudo yum install gcc libevent libevent-devel rpm-build perl-Test-Base
echo "%_topdir /home/ec2-user/rpmbuild" &amp;gt;&amp;gt; ~/.rpmmacros
mkdir -p /home/ec2-user/rpmbuild/{SPECS,BUILD,SRPMS,RPMS,SOURCES}
wget http://memcached.org/latest
rpmbuild -ta memcached-*.tar.gz&lt;/b&gt;&lt;/pre&gt;
&lt;/blockquote&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;br /&gt;
The RPM will be created in ~/rpmbuild/RPMS/x86_64/ or 
~/rpmbuild/RPMS/i386/ depending on whether you chose a 32 or 64 bit AMI.
 Copy the rpm to your home directory and run the command below to 
install memcached to /usr/bin/memcache&lt;br /&gt;
&lt;br /&gt;
&lt;blockquote class="tr_bq"&gt;
&lt;div class="CodeRay"&gt;
&lt;div class="code"&gt;
&lt;pre&gt;&lt;b&gt;sudo yum localinstall memcached-*.rpm --nogpgcheck&lt;/b&gt;&lt;/pre&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/blockquote&gt;
&lt;br /&gt;
&lt;blockquote class="tr_bq"&gt;
The beauty of this approach is that you can now do the following to start or stop memcached&lt;/blockquote&gt;
&lt;br /&gt;
&lt;blockquote class="tr_bq"&gt;
&lt;div class="CodeRay"&gt;
&lt;div class="code"&gt;
&lt;pre&gt;&lt;b&gt;service memcached status
service memcached start
service memcached stop&lt;/b&gt;&lt;/pre&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/blockquote&gt;
And finally you can enable memcached at startup with this simple command:&lt;br /&gt;
&lt;blockquote class="tr_bq"&gt;
&lt;div class="CodeRay"&gt;
&lt;div class="code"&gt;
&lt;pre&gt;&lt;b&gt;chkconfig memcached on&lt;/b&gt;&lt;/pre&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/blockquote&gt;
&lt;br /&gt;
&lt;h3 style="color: red;"&gt;


Install&amp;nbsp; &lt;b&gt;php-pecl-memcache&lt;/b&gt;&lt;/h3&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
#if apt-get, rpm, or yum doesn't work&lt;br /&gt;
&lt;blockquote class="tr_bq"&gt;
&lt;b&gt;cd /usr/src/&lt;br /&gt;wget http://pecl.php.net/get/memcache-2.2.4.tgz&lt;br /&gt;tar -zxvf memcached-2.2.4.tgz&lt;br /&gt;cd memcached-2.2.4&lt;br /&gt;phpize &amp;amp;&amp;amp; ./configure --enable-memcache &amp;amp;&amp;amp; make&lt;br /&gt;cp modules/memcache.so /usr/lib/php/modules/&lt;/b&gt;&lt;/blockquote&gt;
&lt;br /&gt;
# Note: packaged extension modules are now loaded via the .ini files&lt;br /&gt;
# found in the directory php.ini&lt;br /&gt;
&lt;blockquote class="tr_bq"&gt;
php -i | grep php.ini&lt;/blockquote&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;vi /etc/sysconfig/memcached&lt;/b&gt;&lt;br /&gt;
&lt;blockquote class="tr_bq"&gt;
&amp;nbsp;PORT=”11211″&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; #define on which port to urn&lt;br /&gt;
USER=”nobody”&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; #same as apache user&lt;br /&gt;
MAXCONN=”1024″&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; #maximum number of connections allowed&lt;br /&gt;
CACHESIZE=”64″&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; #memory used for caching&lt;br /&gt;
OPTIONS=”"&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; #use for any custom options&lt;br /&gt;
&lt;/blockquote&gt;
add php.ini&lt;br /&gt;
&lt;blockquote class="tr_bq"&gt;
&lt;b&gt;extension="memcache.so"&lt;/b&gt;&lt;/blockquote&gt;
restart service https&lt;br /&gt;
&lt;blockquote class="tr_bq"&gt;
&lt;b&gt;/etc/init.d/httpd restart&lt;/b&gt;&lt;/blockquote&gt;
&lt;br /&gt;
&lt;b style="color: red;"&gt;Note: Neu bi loi can install cac goi&lt;/b&gt;&lt;br /&gt;
&lt;blockquote class="tr_bq"&gt;
&lt;b&gt;yum install php-devel&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;yum install zlib-devel&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;yum install zlib zlib-devel&lt;/b&gt;&lt;/blockquote&gt;
Check memcache&lt;br /&gt;
&lt;blockquote class="tr_bq"&gt;
&lt;b&gt;php -i | grep memcache&lt;/b&gt;&lt;/blockquote&gt;
&lt;br /&gt;
[root@dedi94125 ~]# &lt;b&gt;more testmemcach.php &lt;/b&gt;&lt;br /&gt;&lt;i&gt;&lt;!--?php&lt;br--&gt;$memcache = new Memcache;&lt;br /&gt;$memcache-&amp;gt;connect('127.0.0.1', 11211);&lt;br /&gt;print_r($memcache);&lt;br /&gt;?&amp;gt;&lt;/i&gt;&lt;br /&gt;&lt;br /&gt;
&lt;br /&gt;
[root@dedi94125 ~]#&lt;b&gt; php testmemcach.php &lt;/b&gt;&lt;br /&gt;Memcache Object&lt;br /&gt;(&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; [connection] =&amp;gt; Resource id #5&lt;br /&gt;)&lt;br /&gt;&lt;br /&gt;[root@dedi94125 ~]#&amp;nbsp; &lt;br /&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4827842540624707460-8856757030560032719?l=kinhnghiem.luyenthianhvan.org' alt='' /&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/kinhnghiemvn/~4/yOt4zIQAuCI" height="1" width="1"/&gt;</description><link>http://feedproxy.google.com/~r/kinhnghiemvn/~3/yOt4zIQAuCI/how-to-install-memcached.html</link><author>noreply@blogger.com (vitec)</author><thr:total>0</thr:total><feedburner:origLink>http://kinhnghiem.luyenthianhvan.org/2012/02/how-to-install-memcached.html</feedburner:origLink></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-4827842540624707460.post-1731223179090640932</guid><pubDate>Fri, 03 Feb 2012 06:50:00 +0000</pubDate><atom:updated>2012-02-02T22:50:31.350-08:00</atom:updated><title>Learn how to Sniff Wireless Passwords with Pirni (Man in the Middle Attack)</title><description>The thing about the iPod Touch and the iPhone is that they are 
great portable hacking devices. To the naked eye the iPod Touch/iPhone 
looks like nothing more than an ordinary mp3 player/cellphone however 
that is just an understatement to its full potential. Once your iPod 
Touch/iPhone is jailbroken you have access to your whole file system 
meaning that applications generally associated with &lt;span class="IL_AD" id="IL_AD10"&gt;laptop&lt;/span&gt;/desktop hacking can be ported and used on the iPod Touch/iPhone. This opens up a whole lot of possibilities for &lt;span class="IL_AD" id="IL_AD8"&gt;network&lt;/span&gt; sniffing, port scanning and much much more! In this &lt;span class="IL_AD" id="IL_AD11"&gt;tutorial&lt;/span&gt; we are going to take a look at one of these programs called &lt;a href="http://www.ijailbreak.com/tag/pirni/"&gt;Pirni&lt;/a&gt;.&lt;br /&gt;
&lt;div style="text-align: center;"&gt;
&lt;a href="http://www.ijailbreak.com/wp-content/uploads/2010/01/PodZombie1.png"&gt;&lt;img alt="" class="size-full wp-image-835  aligncenter" height="359" src="http://www.ijailbreak.com/wp-content/uploads/2010/01/PodZombie1.png" title="PodZombie" width="485" /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;h2&gt;



What is Pirni?&lt;/h2&gt;
Pirni is an &lt;span class="IL_AD" id="IL_AD5"&gt;application&lt;/span&gt; that was ported to The Ipod Touch/iPhone to be used as a native network
 sniffer. Pirni is so useful because it gets past the iPod 
Touch’s/iPhone’s wifi hardware limitation of not being able to be set 
into promiscious mode (a mode that allows a network device to intercept and read each network
 packet that arrives in its entirety).&amp;nbsp; To get past this limitation 
Pirni comes with an ARP spoofer that successfully routes all the network
 traffic through your iPod Touch/iPhone, records it to a dump file and 
then uses packet forwarding to send it to it’s normal recipent (ie. the 
router). What this basically means in simpler terms is that all the 
traffic on a specific network comes through your iPod Touch/iPhone before it reaches the router. This meaning that if we sniff the network long enough, another user connected to the network could enter in an unencrypted password and you could then retrieve that password after looking through your dump file.&lt;br /&gt;
&lt;a href="http://www.ijailbreak.com/wp-content/uploads/2009/12/Pirni_Graph-copy3.png"&gt;&lt;img alt="Pirni Graph" class="aligncenter size-full wp-image-755" height="350" src="http://www.ijailbreak.com/wp-content/uploads/2009/12/Pirni_Graph-copy3.png" title="Pirni Graph" width="525" /&gt;&lt;/a&gt;&lt;br /&gt;
&lt;h2&gt;



Using Pirni&lt;/h2&gt;
Pirni is an application that does not have a GUI (Graphical User 
Interface) and it requires a program called Terminal to run and be used.
 Terminal is basically an application that allows you to give your iPod 
Touch/iPhone simple commands. Below I am going to go through the steps 
of installing and using Pirni… **&lt;span class="IL_AD" id="IL_AD3"&gt;Note&lt;/span&gt; this is a technical tutorial and is not recommended for users new to computers. Please also note that this tutorial is for educational purposes only. It is illegal to sniff a &lt;span class="IL_AD" id="IL_AD2"&gt;wireless network&lt;/span&gt; that is not your own. Use and Follow this Tutorial at your own Risk.&lt;br /&gt;
&lt;i&gt;&lt;b&gt;Step 1) -&lt;/b&gt;&lt;/i&gt; The first thing you are going to 
need to do is install a program called Mobile Terminal on your iPod 
Touch/iPhone. This program is available through cydia, so open up cydia 
and type in terminal into the search tab. Once you find Mobile Terminal 
on your search Results install it to your iPod Touch/iPhone.&lt;br /&gt;
&lt;table border="0"&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;&lt;br /&gt;&lt;/td&gt;
&lt;td&gt;&lt;br /&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;i&gt;&lt;b&gt;Step 2) -&lt;/b&gt;&lt;/i&gt; Once you have installed terminal the next application
 you are going to install is Pirni. Type pirni into the search tab and 
once it appears on your search results click it and install it to your 
iPod Touch/iPhone. Once Pirni installs you will have installed 
everything you need to begin sniffing wireless &lt;span class="IL_AD" id="IL_AD4"&gt;networks&lt;/span&gt;…&lt;br /&gt;
&lt;table border="0" style="width: 9px;"&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;&lt;br /&gt;&lt;/td&gt;
&lt;td&gt;&lt;br /&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;i&gt;&lt;b&gt;Step 3) -&lt;/b&gt;&lt;/i&gt; Before you launch terminal and begin sniffing you will need a few pieces of information on your wireless network; the network’s
 ip address and the router’s ip address. You can find out this 
information by launching&amp;nbsp; Settings and clicking&amp;nbsp; Wifi then clicking on 
the arrow next to Your wireless network’s Name. Once you find the 
information you are looking for which is the IP Address and the Router 
IP Address write it down on a piece of paper so you remember it.&lt;br /&gt;
&lt;table border="0"&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;&lt;br /&gt;&lt;/td&gt;
&lt;td&gt;&lt;br /&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;i&gt;&lt;b&gt;Step 4) -&lt;/b&gt;&lt;/i&gt; Now that you have the required 
information you are ready to begin the process of sniffing with Pirni. 
The first thing you need to do is open up Terminal; so do this now by 
finding Terminal on your springboard and clicking it to launch it. **Note Terminal sometimes takes a few times to actually load. If you click the Terminal application
 and it opens and closes then simply click it again until it fully 
launches. Once you get Terminal up and Running you are going to need to 
login as a a root user to gain full access to your iPod Touch/iPhone. 
Type in the following commands and please note they are all case sensitive so copy them exactly as shown…&lt;br /&gt;
&lt;blockquote&gt;
su&lt;br /&gt;
alpine (alpine is the default password. If you have not changed your password then use alpine)&lt;/blockquote&gt;
&lt;table border="0"&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;&lt;br /&gt;&lt;/td&gt;
&lt;td&gt;&lt;br /&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
Once you have gained root access continue to step 5…&lt;br /&gt;
&lt;i&gt;&lt;b&gt;Step 5) -&lt;/b&gt;&lt;/i&gt; Once you are logged in as the 
root user you can begin using Pirni. To initiate Pirni you are going to 
need to enter in a line of commands replacing whats in &lt;span style="color: red;"&gt;red&lt;/span&gt; with your network specific information.&lt;br /&gt;
&lt;b&gt;-s:&lt;/b&gt; Specifies the IP-adress you want to spoof, this is where the Router IP Address goes.&lt;br /&gt;
&lt;b&gt;-d:&lt;/b&gt; Specifies the target you want to perform MITM on, this is where the IP Address of your network goes.&lt;br /&gt;
&lt;b&gt;-f:&lt;/b&gt; Specifies the Berkley Packet Filter so that 
pirni only collects interesting packets. This is very good if you want 
to filter out specific packets – such as FTP, SMTP or HTTP. If no -f 
options is supplied, all packets will be captured.&lt;br /&gt;
&lt;b&gt;-o:&lt;/b&gt; Specifies the dumpfile where all the collected 
packets end up. This is a pcap dump format, that most traffic analyzers 
can handle.&lt;br /&gt;
&lt;blockquote&gt;
&lt;span style="color: white;"&gt;&lt;/span&gt;&lt;/blockquote&gt;
&lt;table border="0"&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;&lt;br /&gt;&lt;/td&gt;
&lt;td&gt;&lt;div style="color: red;"&gt;
&lt;b&gt;iphone4s:~ root# more get.sh &lt;br /&gt;pirni -s 192.168.1.1 -o log.pcap&lt;br /&gt;pirni -s 192.168.1.1 -d 192.168.1.189 -f "tcp dst port 80" -o log.pcap&lt;br /&gt;pirni -i en1 -s 192.168.1.1 -d 255.255.255.0 -o log.pcap&lt;br /&gt;&lt;br /&gt;iphone4s:~ root#&amp;nbsp;&lt;/b&gt;&lt;/div&gt;
&lt;br /&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
Once you enter the Commands Pirni will initiate and begin collecting 
packets. A packet is a formatted unit of data carried by a packet mode &lt;span class="IL_AD" id="IL_AD12"&gt;computer&lt;/span&gt; network.
 For example, every Web page that you receive comes as a series of 
packets, and every e-mail you send leaves as a series of packets. Pirni 
collects these packets and records them into a readable dump file that 
can be analyized at a later date on your computer. In order for Pirni to
 collect something interesting you are going to need to visit a website 
that doesnt use an ssl encrypted connection. Leave your iPod Touch or 
iPhone alone collecting packets and go to a website that doesn’t use an 
ssl encrypted connection and login to that website. An example of this 
kind of website would be &lt;a href="http://www.hawkee.com/" target="_blank"&gt;Hawkee.com&lt;/a&gt;
 this website does not use an ssl encrypted connection while handling 
logins. If you want to test out Pirni to see if you can get a password 
register an account up with &lt;a href="http://www.hawkee.com/" target="_blank"&gt;Hawkee.com&lt;/a&gt; and login to &lt;span class="IL_AD" id="IL_AD9"&gt;your account&lt;/span&gt; while you are sniffing your network. Once you are done scanning the network drag your finger across the screen in a diagnol &lt;span class="IL_AD" id="IL_AD7"&gt;direction&lt;/span&gt; and this will stop pirni correctly. **Note it is important to close pirni this way to avoid errors while analyzing your dump file later on.&lt;br /&gt;
&lt;h2&gt;



Analyzing your Dump File&lt;/h2&gt;
Now that you have sniffed the packets on your network you now have to
 analyze the dump file created by Pirni. To do this you will need to get
 the dump file off your iPodTouch/iPhone by using a program called &lt;a href="http://www.winscp.com/" target="_blank"&gt;Winscp&lt;/a&gt;.
 This program allows you to access the files on your iPodTouch/iPhone. 
To use this program you will need two things; open ssh installed on your
 iPodTouch/iPhone and Winscp installed on your computer…&lt;br /&gt;
&lt;i&gt;&lt;b&gt;Step 1) -&lt;/b&gt;&lt;/i&gt; Download openssh to your 
iPodTouch/iPhone by going into Cydia and typing in openssh into the 
search panel. Once you see openssh on the search results click it and 
install open ssh. Once open ssh has been installed exit cydia and 
continue to step 2…&lt;br /&gt;
&lt;table border="0" style="width: 5px;"&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;&lt;br /&gt;&lt;/td&gt;
&lt;td&gt;&lt;br /&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;i&gt;&lt;b&gt;Step 2) -&lt;/b&gt;&lt;/i&gt; The next thing you need to do is install a program called winscp to your computer. This program will allow you to take files off your iPod Touch/iPhone with an easy to use GUI (Graphical User Interface).&lt;br /&gt;
&lt;h3&gt;



&lt;a href="http://winscp.net/eng/download.php" target="_blank"&gt;Download Winscp Here&lt;/a&gt;&lt;/h3&gt;
Once Winscp &lt;span class="IL_AD" id="IL_AD6"&gt;Downloads&lt;/span&gt; to your computer install it by following the easy to use steps of the installer…&lt;br /&gt;
&lt;i&gt;&lt;b&gt;Step 3) -&lt;/b&gt;&lt;/i&gt; Once Winscp has finished 
installing double click the winscp.exe to launch the program. You will 
be presented with a window like the one depicted below…&lt;br /&gt;
&lt;div style="text-align: center;"&gt;
&lt;a href="http://www.ijailbreak.com/wp-content/uploads/2010/01/Screen112.jpg"&gt;&lt;img alt="" class="size-full wp-image-812 aligncenter" height="377" src="http://www.ijailbreak.com/wp-content/uploads/2010/01/Screen112.jpg" title="Winscp Opening Screen" width="537" /&gt;&lt;/a&gt;&lt;/div&gt;
Once you get Winscp up and running you are going to need to enter in 
some information&amp;nbsp; into Winscp. The first thing you need to enter is the 
Host name which is your networks IP Address. This is the Address that you wrote down earlier you can find it inside Settings &amp;gt; Wifi &amp;gt;Your Network Name Tab. The next thing you need to enter is the &lt;span class="IL_AD" id="IL_AD1"&gt;Username this&lt;/span&gt;
 is always left as root. The last piece of information you need to enter
 in is the password the default password if you haven’t changed it is 
alpine. If you have changed your password then enter your current 
password in the password field now.&lt;br /&gt;
&lt;div style="text-align: center;"&gt;
&lt;a href="http://www.ijailbreak.com/wp-content/uploads/2010/01/Screen25.jpg"&gt;&lt;img alt="" class="size-full wp-image-813 aligncenter" height="377" src="http://www.ijailbreak.com/wp-content/uploads/2010/01/Screen25.jpg" title="Your Winscp Screen should look something like this..." width="537" /&gt;&lt;/a&gt;&lt;/div&gt;
Once you enter in the required information click the Login Button. 
The first time you login it will take awhile to load just be patient and
 wait it can take up to five minutes. The first time you login you will 
also get a warning message that will appear simply hit the ok button to 
the warning message. When you succesfully login click the / button on 
the top right hand corner of the screen…&lt;br /&gt;
&lt;div style="text-align: center;"&gt;
&lt;a href="http://www.ijailbreak.com/wp-content/uploads/2010/01/Screen3.jpg"&gt;&lt;img alt="" class="size-full wp-image-814 aligncenter" height="384" src="http://www.ijailbreak.com/wp-content/uploads/2010/01/Screen3.jpg" title="Click the / Button on the type right hand corner of the application" width="500" /&gt;&lt;/a&gt;&lt;/div&gt;
Once you click the / Button (Which is the Root Directory Shortcut) 
the next thing you are going to do is click the User file directory as 
shown below. This is where all your dump files are saved and stored 
through Pirni…&lt;br /&gt;
&lt;div style="text-align: center;"&gt;
&lt;a href="http://www.ijailbreak.com/wp-content/uploads/2010/01/Screen41.jpg"&gt;&lt;img alt="" class="size-full wp-image-815 aligncenter" height="381" src="http://www.ijailbreak.com/wp-content/uploads/2010/01/Screen41.jpg" title="Click the User file Directory " width="500" /&gt;&lt;/a&gt;&lt;/div&gt;
Once you are inside the User File Directory you should now see your 
log file. Drag the Log file to your Desktop and then Exit Winscp as you 
are now done using the program. Winscp is a useful program if you need 
to access your iPod Touch/iPhones internal File Structure. Now that you 
know how to use Winscp you can use this useful program anytime you want.&lt;br /&gt;
&lt;div style="text-align: center;"&gt;
&lt;a href="http://www.ijailbreak.com/wp-content/uploads/2010/01/Screen52.jpg"&gt;&lt;img alt="" class="size-full wp-image-827 aligncenter" height="381" src="http://www.ijailbreak.com/wp-content/uploads/2010/01/Screen52.jpg" title="Drag your Log File to your Desktop" width="500" /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;i&gt;&lt;b&gt;Step 4) -&lt;/b&gt;&lt;/i&gt; Now that your Log File has been 
successfully transferred to your computer you are now going to need to 
download an application that will analyze the dump file called 
WireShark.&lt;br /&gt;
&lt;h3&gt;



&lt;a href="http://www.wireshark.org/download.html" target="_blank"&gt;Download WireShark Here&lt;/a&gt;&lt;/h3&gt;
With WireShark successfully downloaded to your computer double click 
the setup.exe and install it to your computer. When it asks you if you 
want to install WinPcap click no because you will not need this 
functionality while analyzing your dump file.&lt;br /&gt;
&lt;i&gt;&lt;b&gt;Step 5) -&lt;/b&gt;&lt;/i&gt; Now that WireShark is installed 
double click the WireShark.exe on your Desktop to start the program. 
Once the Program is up and running you are going to need to open your 
log file. Click the Open Button in the middle of the screen and then 
locate your log file which should be on your Desktop.&lt;br /&gt;
&lt;div style="text-align: center;"&gt;
&lt;a href="http://www.ijailbreak.com/wp-content/uploads/2010/01/Screen62.jpg"&gt;&lt;img alt="" class="size-full wp-image-817 aligncenter" height="430" src="http://www.ijailbreak.com/wp-content/uploads/2010/01/Screen62.jpg" title="Click the Open Button and then locate your dump file..." width="575" /&gt;&lt;/a&gt;&lt;/div&gt;
Once you locate your Dump file and load it into WireShark you will 
now see a screen with a bunch of packets displayed. These are all the 
Packets that you captured while you were sniffing your network. If you 
have never seen packets before all of this information will mean nothing
 to you and seem confusing. If you research a little bit online about 
packets you will find these packets are a lot more interesting however 
if you are new to this whole thing then the search tool will be your 
friend. Click the Magnifying glass on the top of the screen and it will 
bring up a search window.&lt;br /&gt;
&lt;div style="text-align: center;"&gt;
&lt;a href="http://www.ijailbreak.com/wp-content/uploads/2010/01/Screen72.jpg"&gt;&lt;img alt="" class="size-full wp-image-818 aligncenter" height="465" src="http://www.ijailbreak.com/wp-content/uploads/2010/01/Screen72.jpg" title="Click the search button on the top of the screen" width="576" /&gt;&lt;/a&gt;&lt;/div&gt;
Once the Search window comes up you will be presented with three 
options Display Filter, Hex Value and String. Click the String Option 
and then type in password into the search field and click the Find 
Button. The Search Tool is a great tool to find interesting information 
in your dump file. With the search tool it will quickly scan through all
 your packets and will find a match to what you are searching for. It 
defiantly beats looking through hundreds of packets till you find 
something interesting. With the search tool you can simply type in 
keywords that would be of interest to you like 
password,username,login,email and it will try to find a match. **Note 
not all dump files will contain interesting information like 
passwords,usernames etc… It all depends on what users connected to the 
network you are scanning are doing.&lt;br /&gt;
&lt;div style="text-align: center;"&gt;
&lt;a href="http://www.ijailbreak.com/wp-content/uploads/2010/01/Screen82.jpg"&gt;&lt;img alt="" class="size-full wp-image-819 aligncenter" height="241" src="http://www.ijailbreak.com/wp-content/uploads/2010/01/Screen82.jpg" title="Click the String option and type in Password into the search field and click the Find Button" width="467" /&gt;&lt;/a&gt;&lt;/div&gt;
Once you click the find button you will be directed to the packet 
that contains the password string or the string that you typed into the 
search field. If you look at what is highlight you can see that you have
 successfully found the username and password to your &lt;a href="http://www.hawkee.com/" target="_blank"&gt;hawkee.com&lt;/a&gt;
 account. If this was performed on an unknown network you would have 
successfully sniffed a password that you can then do what you want with.
 WireShark is a very powerful tool for analyzing packets if you go to 
their &lt;a href="http://www.wireshark.org/" target="_blank"&gt;Website&lt;/a&gt; you can learn a lot about packets and other analyzing techniques not discussed on this tutorial.&lt;br /&gt;
&lt;div style="text-align: center;"&gt;
&lt;a href="http://www.ijailbreak.com/wp-content/uploads/2010/01/Screen92.jpg"&gt;&lt;img alt="" class="size-full wp-image-820 aligncenter" height="178" src="http://www.ijailbreak.com/wp-content/uploads/2010/01/Screen92.jpg" title="You have succesfully found the Username and Password to your Hawkee account" width="573" /&gt;&lt;/a&gt;&lt;/div&gt;
As you can see your iPod Touch or iPhone can be transformed into a 
powerful password sniffing device. With Pirni you can have a powerful 
password sniffing program hidden within your iPod Touch/iPhone. You can 
have your morning coffee at starbucks while sniffing its wireless 
network without anyone knowing or suspecting a thing. There are many 
other useful hacking programs on the iPod Touch/iPhone, and I will write
 more tutorials for programs like Ngrep and TCP Dump in the future if 
enough interest is given. As always if you require any help with this 
tutorial please feel free to post your questions/comments in the 
comments section below.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4827842540624707460-1731223179090640932?l=kinhnghiem.luyenthianhvan.org' alt='' /&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/kinhnghiemvn/~4/5Y3EvhFi_f8" height="1" width="1"/&gt;</description><link>http://feedproxy.google.com/~r/kinhnghiemvn/~3/5Y3EvhFi_f8/learn-how-to-sniff-wireless-passwords.html</link><author>noreply@blogger.com (vitec)</author><thr:total>0</thr:total><feedburner:origLink>http://kinhnghiem.luyenthianhvan.org/2012/02/learn-how-to-sniff-wireless-passwords.html</feedburner:origLink></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-4827842540624707460.post-8725250934279043362</guid><pubDate>Mon, 30 Jan 2012 14:33:00 +0000</pubDate><atom:updated>2012-01-30T06:33:08.614-08:00</atom:updated><title>UDIDFaker – fake udid for your iPhone IOS device</title><description>UDIDFaker is a jailbreak tweak that can fake udid to let you try some charges app, these are prevent you re-use by the only udid on your device, with udidfaker fake a udid for an app, this app will think this is a new device, so you can continue &lt;span class="IL_AD" id="IL_AD4"&gt;to use&lt;/span&gt; a &lt;span class="IL_AD" id="IL_AD3"&gt;free trial&lt;/span&gt; app.&lt;br /&gt;
UDIDFaker has updated version 2.3-3.&lt;br /&gt;
&lt;h3&gt;



&lt;span class="Apple-style-span" style="font-size: 13px; font-weight: normal;"&gt;Follow these steps to spoof Your Device’s UDID&lt;/span&gt;&lt;/h3&gt;
1.) Download UDID Faker(my repo &lt;img alt=":D" class="wp-smiley" src="http://www.ipad2iphone5.com/wp-includes/images/smilies/icon_biggrin.gif" /&gt;)&lt;br /&gt;
&lt;span id="more-5412"&gt;&lt;/span&gt;&lt;br /&gt;
2.) &lt;span class="IL_AD" id="IL_AD1"&gt;Download this&lt;/span&gt; &lt;a href="http://www.mediafire.com/?hrxnwvh498hgyto" target="_blank"&gt;.plist file&lt;/a&gt;&lt;br /&gt;
3.) Download NotePad++ and open .plist file&lt;br /&gt;
&amp;lt;?xml version=”1.0″ encoding=”UTF-8″?&amp;gt;&lt;br /&gt;
&amp;lt;!DOCTYPE plist PUBLIC “-//Apple//DTD PLIST 1.0//EN” “&amp;nbsp;http://www.apple.com/DTDs/PropertyList-1.0.dtd”&amp;gt;&lt;br /&gt;
&amp;lt;plist version=”1.0″&amp;gt;&lt;br /&gt;
&amp;lt;dict&amp;gt;&lt;br /&gt;
&amp;lt;key&amp;gt;com.app.bundle&amp;lt;/key&amp;gt;&lt;br /&gt;
&amp;lt;string&amp;gt;Enter Valid UDID&amp;lt;/string&amp;gt;&lt;br /&gt;
&amp;lt;/dict&amp;gt;&lt;br /&gt;
&amp;lt;/plist&amp;gt;&lt;br /&gt;
Ok now enter a Valid Fake UDID and app bundle name to find the bundle name go into the .app folder you want to spoof for Info.plist open it until you find Bundle Identifier&lt;br /&gt;
Ok now Save the .plist file to your desktop. Then SSH into your device to &lt;span class="IL_AD" id="IL_AD5"&gt;&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;&lt;span class="IL_AD" id="IL_AD5"&gt;/private&lt;/span&gt;/var/mobile/Library/Preferences/&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
If you would like to spoof more than 1 app for example 3 apps it’s gona look like this&lt;br /&gt;
&amp;lt;?xml version=”1.0″ encoding=”UTF-8″?&amp;gt;&lt;br /&gt;
&amp;lt;!DOCTYPE plist PUBLIC “-//Apple//DTD PLIST 1.0//EN” “&amp;nbsp;http://www.apple.com/DTDs/PropertyList-1.0.dtd”&amp;gt;&lt;br /&gt;
&amp;lt;plist version=”1.0″&amp;gt;&lt;br /&gt;
&amp;lt;dict&amp;gt;&lt;br /&gt;
&amp;lt;key&amp;gt;com.app.bundle&amp;lt;/key&amp;gt;&lt;br /&gt;
&amp;lt;string&amp;gt;Change this for valid-fake UUID&amp;lt;/string&amp;gt;&lt;br /&gt;
&amp;lt;key&amp;gt;com.app.bundle2&amp;lt;/key&amp;gt;&lt;br /&gt;
&amp;lt;string&amp;gt;Change this for valid-fake UUID&amp;lt;/string&amp;gt;&lt;br /&gt;
&amp;lt;key&amp;gt;com.app.bundle3&amp;lt;/key&amp;gt;&lt;br /&gt;
&amp;lt;string&amp;gt;Change this for valid-fake UUID&amp;lt;/string&amp;gt;&lt;br /&gt;
&amp;lt;/dict&amp;gt;&lt;br /&gt;
&amp;lt;/plist&amp;gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4827842540624707460-8725250934279043362?l=kinhnghiem.luyenthianhvan.org' alt='' /&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/kinhnghiemvn/~4/ZtZcHbadHfg" height="1" width="1"/&gt;</description><link>http://feedproxy.google.com/~r/kinhnghiemvn/~3/ZtZcHbadHfg/udidfaker-fake-udid-for-your-iphone-ios.html</link><author>noreply@blogger.com (vitec)</author><thr:total>0</thr:total><feedburner:origLink>http://kinhnghiem.luyenthianhvan.org/2012/01/udidfaker-fake-udid-for-your-iphone-ios.html</feedburner:origLink></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-4827842540624707460.post-6996844469705386509</guid><pubDate>Mon, 30 Jan 2012 14:26:00 +0000</pubDate><atom:updated>2012-01-30T06:26:37.667-08:00</atom:updated><title>Create random HEX for linux</title><description>echo `&amp;lt; /dev/urandom tr -dc a-f0-9 | head -c40`&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4827842540624707460-6996844469705386509?l=kinhnghiem.luyenthianhvan.org' alt='' /&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/kinhnghiemvn/~4/LNwGyBtEKls" height="1" width="1"/&gt;</description><link>http://feedproxy.google.com/~r/kinhnghiemvn/~3/LNwGyBtEKls/create-random-hex-for-linux.html</link><author>noreply@blogger.com (vitec)</author><thr:total>0</thr:total><feedburner:origLink>http://kinhnghiem.luyenthianhvan.org/2012/01/create-random-hex-for-linux.html</feedburner:origLink></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-4827842540624707460.post-2554830605719196661</guid><pubDate>Sun, 29 Jan 2012 05:58:00 +0000</pubDate><atom:updated>2012-01-28T22:15:13.526-08:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">iphone</category><title>Pirni comes with an ARP spoofer  network traffic</title><description>&lt;div class="separator" style="clear: both; text-align: center;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;a href="http://code.google.com/p/pirni-derv/" target="_new"&gt;Pirni&lt;/a&gt; 
is the worlds first native network sniffer for iPhone. The iPhone's 
Wi-Fi has some major drawbacks in its hardware design, thus we can not 
properly set the device in promiscuous mode.&lt;br /&gt;
&lt;br /&gt;
This is why Pirni comes with an ARP spoofer that successfully routes all
 the network traffic through your device and then uses packet forwarding
 to send it to it's normal recipient (ie. the router).&lt;br /&gt;
&lt;br /&gt;
&lt;div style="text-align: center;"&gt;
&lt;a href="http://4.bp.blogspot.com/-0UIkEGJ4Fg0/TyTjIPRFSbI/AAAAAAAAAF0/Gsy6YoaGYvA/s1600/pirni.jpg" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" src="http://4.bp.blogspot.com/-0UIkEGJ4Fg0/TyTjIPRFSbI/AAAAAAAAAF0/Gsy6YoaGYvA/s1600/pirni.jpg" /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div style="text-align: center;"&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div style="text-align: center;"&gt;
&lt;b&gt;pirni -s 192.168.1.5 -f "tcp dst port 80" -o log.pcap&lt;/b&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;center&gt;&lt;br /&gt;&lt;/center&gt;&lt;br /&gt;
After a successful network sniffing, you can transfer the dumpfile to your computer and open it up with &lt;a href="http://www.net-security.org/software.php?id=735"&gt;Wireshark&lt;/a&gt; (or any other traffic analyzer that supports pcap) to analyze the traffic.&lt;br /&gt;
&lt;br /&gt;
BPF filters allow you to select which packets to be dumped. This allows 
you to "filter" packets, so that only "interesting" packets can be 
supplied to the software using BPF; this can avoid copying 
"uninteresting" packets from the operating system kernel to software 
running in user mode, reducing the CPU requirement to capture packets 
and the buffer space required to avoid dropping packets.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4827842540624707460-2554830605719196661?l=kinhnghiem.luyenthianhvan.org' alt='' /&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/kinhnghiemvn/~4/HLgyMgHV5jw" height="1" width="1"/&gt;</description><link>http://feedproxy.google.com/~r/kinhnghiemvn/~3/HLgyMgHV5jw/pirni-comes-with-arp-spoofer-network.html</link><author>noreply@blogger.com (vitec)</author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://4.bp.blogspot.com/-0UIkEGJ4Fg0/TyTjIPRFSbI/AAAAAAAAAF0/Gsy6YoaGYvA/s72-c/pirni.jpg" height="72" width="72" /><thr:total>0</thr:total><feedburner:origLink>http://kinhnghiem.luyenthianhvan.org/2012/01/pirni-comes-with-arp-spoofer-network.html</feedburner:origLink></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-4827842540624707460.post-7168988358772021068</guid><pubDate>Sun, 29 Jan 2012 05:57:00 +0000</pubDate><atom:updated>2012-01-28T22:13:52.674-08:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">sniff</category><category domain="http://www.blogger.com/atom/ns#">iphone</category><title>Sniff Your iPhone's Network Traffic</title><description>Ever wanted (or needed) to see your iPhone's network traffic? All you
 need is a wireless LAN and the cross-platform proxy application, &lt;a href="http://www.parosproxy.org/index.shtml"&gt;Paros.&lt;/a&gt;
 There are other proxy server's that can be used, but Paros was built 
for web application security assessments, so it provides an intimate 
hook into the HTTP request/response flow. Let's get started!
&lt;br /&gt;
&lt;div id="content"&gt;
&lt;h3&gt;


1) Download and Install Paros&lt;/h3&gt;
Grab the download from the &lt;a href="http://www.parosproxy.org/download.shtml"&gt;Paros site&lt;/a&gt;. Your install process will differ depending on your O/S, but they've provided some install instructions &lt;a href="http://www.parosproxy.org/install.shtml"&gt;here&lt;/a&gt;. Everybody will need the Java Runtime Environment 1.4 or above.&lt;br /&gt;
&lt;h3&gt;


2) Configure Paros&lt;/h3&gt;
Once installed, launch Paros and find the configuration options (on 
OS X they are under Tools -&amp;gt; Options). Paros is configured by default
 to listen on localhost only, but we are going to route our iPhone's 
traffic through Paros, so we need to set it to listen on the IP address 
of the interface connected to the same LAN as the iPhone.&lt;br /&gt;
My LAN's network is 1.1.1.0/16, so I'll configure the Local Proxy address accordingly:&lt;br /&gt;
&lt;div style="text-align: center;"&gt;
&lt;img alt="paros_config" height="246" src="http://blog.jerodsanto.net/wp-content/uploads/2009/06/paros_config.png" width="540" /&gt;&lt;/div&gt;
That should be the only setting that we need to fuss with. Paros is 
all set and listening on port 8080, let's configure the iPhone to route 
its traffic through our proxy!&lt;br /&gt;
&lt;h3&gt;


3) Configure iPhone&lt;/h3&gt;
On the iPhone, open the "&lt;b&gt;Settings&lt;/b&gt;" app and navigate 
to the Wi-Fi page. Once there, edit the settings for the wireless 
network you are currently connected to (this needs to be the same 
network where your proxy is running). To do this, click the little blue 
arrow on the right side of the screen.&lt;br /&gt;
&lt;div style="text-align: center;"&gt;
&lt;img alt="config_wifi" height="480" src="http://blog.jerodsanto.net/wp-content/uploads/2009/06/config_wifi.png" width="322" /&gt;&lt;/div&gt;
Now, scroll all the way to the bottom of the settings page and change the &lt;b&gt;"HTTP Proxy"&lt;/b&gt; setting to manual. Enter the IP address and port number of your Paros Proxy.&lt;br /&gt;
&lt;div style="text-align: center;"&gt;
&lt;img alt="config_proxy" height="480" src="http://blog.jerodsanto.net/wp-content/uploads/2009/06/config_proxy.png" width="320" /&gt;&lt;/div&gt;
All set! Now all web traffic to and from the iPhone is routed through Paros. Let's go see what we can see.&lt;br /&gt;
&lt;h3&gt;


4) Using Paros&lt;/h3&gt;
The main section of Paros is the "&lt;b&gt;Request/Response/Trap&lt;/b&gt;." As the iPhone talks through Paros to Internet sites, it will display the iPhone's request and the server's response. The "&lt;b&gt;trap&lt;/b&gt;"
 functionality allows you to stop either the request or the response and
 view/modify it before sending it along to the recipient. Trapping is 
very cool, and why Paros is used for security auditing, but for our 
purposes we just want to see what is going on, so I won't explain it any
 further.&lt;br /&gt;
For now, let's see what happens when we fire up my iPhone's "&lt;b&gt;App Store&lt;/b&gt;" app:&lt;br /&gt;
In the bottom section of the screen is the history viewer. There we 
can see that my iPhone made 4 requests to different servers ( 3 GETs and
 1 POST):&lt;br /&gt;
&lt;div style="text-align: center;"&gt;
&lt;img alt="history" height="67" src="http://blog.jerodsanto.net/wp-content/uploads/2009/06/history.png" width="540" /&gt;&lt;/div&gt;
Highlighting the first GET in the history list shows its details. The iPhone's HTTP request header looked like this:&lt;br /&gt;
&lt;div style="text-align: center;"&gt;
&lt;img alt="request" height="337" src="http://blog.jerodsanto.net/wp-content/uploads/2009/06/request.png" width="540" /&gt;&lt;/div&gt;
One noteworthy tidbit is that the iPhone is sending a custom header 
(X-Apple-Connection-Type) which tells the server that it is connected to
 WiFi. Next, let's take a look at the server's response:&lt;br /&gt;
&lt;div style="text-align: center;"&gt;
&lt;img alt="response" height="408" src="http://blog.jerodsanto.net/wp-content/uploads/2009/06/response.png" width="540" /&gt;&lt;/div&gt;
Notice that in the response we see both the headers that the server 
returned AND the response data itself, in this case an xml plist file.&lt;br /&gt;
Sniffing traffic like this can help you understand how different 
iPhone apps work behind the scenes or it can help debug interaction for 
an app that you're writing. Hope this helps you get started!&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4827842540624707460-7168988358772021068?l=kinhnghiem.luyenthianhvan.org' alt='' /&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/kinhnghiemvn/~4/NklEZQdOvvU" height="1" width="1"/&gt;</description><link>http://feedproxy.google.com/~r/kinhnghiemvn/~3/NklEZQdOvvU/sniff-your-iphones-network-traffic.html</link><author>noreply@blogger.com (vitec)</author><thr:total>0</thr:total><feedburner:origLink>http://kinhnghiem.luyenthianhvan.org/2012/01/sniff-your-iphones-network-traffic.html</feedburner:origLink></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-4827842540624707460.post-3039086958126546009</guid><pubDate>Sun, 29 Jan 2012 05:23:00 +0000</pubDate><atom:updated>2012-01-28T21:23:10.686-08:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">cydia</category><category domain="http://www.blogger.com/atom/ns#">iphone</category><title>On-iPhone Development Environment</title><description>&lt;h1 id="on-iphone-development-environment"&gt;

On-iPhone Development&amp;nbsp;Environment&lt;/h1&gt;
&lt;div class="toc"&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href="http://gamma-level.com/iphoneos/ports/environment#on-iphone-development-environment"&gt;On-iPhone Development Environment&lt;/a&gt;&lt;ul&gt;
&lt;li&gt;&lt;a href="http://gamma-level.com/iphoneos/ports/environment#getting-shell-access"&gt;Getting Shell Access&lt;/a&gt;&lt;ul&gt;
&lt;li&gt;&lt;a href="http://gamma-level.com/iphoneos/ports/environment#getting_an_editor"&gt;Getting an&amp;nbsp;Editor&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="http://gamma-level.com/iphoneos/ports/environment#setting_up_sudo"&gt;Setting Up &lt;code&gt;sudo&lt;/code&gt;&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="http://gamma-level.com/iphoneos/ports/environment#logging_in_as_mobile"&gt;Logging In as &lt;code&gt;mobile&lt;/code&gt;&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;&lt;a href="http://gamma-level.com/iphoneos/ports/environment#installing-gcc-and-friends"&gt;Installing &lt;span class="caps"&gt;GCC&lt;/span&gt; and&amp;nbsp;Friends&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="http://gamma-level.com/iphoneos/ports/environment#fixing-whats-broken"&gt;Fixing What’s Broken&lt;/a&gt;&lt;ul&gt;
&lt;li&gt;&lt;a href="http://gamma-level.com/iphoneos/ports/environment#libraries"&gt;Libraries&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="http://gamma-level.com/iphoneos/ports/environment#headers"&gt;Headers&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="http://gamma-level.com/iphoneos/ports/environment#manual_header_modifications"&gt;Manual Header&amp;nbsp;Modifications&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="http://gamma-level.com/iphoneos/ports/environment#minor_details"&gt;Minor&amp;nbsp;Details&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;&lt;a href="http://gamma-level.com/iphoneos/ports/environment#testing-your-gcc"&gt;Testing your&amp;nbsp;&lt;span class="caps"&gt;GCC&lt;/span&gt;&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="http://gamma-level.com/iphoneos/ports/environment#youre-done"&gt;You’re&amp;nbsp;Done!&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/div&gt;
Often, for some of the trickier packages to build (like Emacs or most
Python-based programs), it is easier to have a development environment
on the device than to deal with a cross-compiler. The method I outline
here is one way to get one. It takes up room, and it’s outdated, but
it works for almost anything you’d want to do, if you put up with&amp;nbsp;it.&lt;br /&gt;
I’m not going to pretend that this is the best way to do this. I
developed this method by changing the one I used for &lt;span class="caps"&gt;OS&lt;/span&gt; 1.0 a little
at a time when a new &lt;span class="caps"&gt;OS&lt;/span&gt; came out. It’s a bit of a hack right now, but
it works. I point out where I think an improvement could be&amp;nbsp;made.&lt;br /&gt;
I’m going to assume you have a freshly jailbroken iPhone or iPad. Feel
free to skip steps if you think you&amp;nbsp;can.&lt;br /&gt;
I’ve tried to write this as accurately as possible, but errors do
happen. Feel free to &lt;a href="http://gamma-level.com/contact"&gt;contact me&lt;/a&gt; to work things out. Worst case
scenario? You have to do a full restore of your device, which is
annoying but not hard. Be sure to have backups, but it shouldn’t come
to&amp;nbsp;that!&lt;br /&gt;
(Also, standard disclaimer: I claim &lt;i&gt;no responsibility&lt;/i&gt; if somehow you
make your device blow up, or otherwise fail, while using this&amp;nbsp;guide.)&lt;br /&gt;
For this guide, I’m going to assume at least passing familiarity with
the unix shell. After all, you’re here for a development environment!
Above that, I’ll try to explain what I feel is needed to&amp;nbsp;continue.&lt;br /&gt;
Finally, this guide was written for iOS 3.2 on the iPad. It shouldn’t
be significantly different for similar versions on both the iPhone and
iPad, though. Particularly, it seems to still work on a jailbroken
iPad running iOS&amp;nbsp;4.2.1.&lt;br /&gt;
Special thanks must go to Børre Ludvigsen, who patiently worked
through this guide on his own and helped me iron out most of the
bigger&amp;nbsp;issues.&lt;br /&gt;
Let’s get&amp;nbsp;started!&lt;br /&gt;
&lt;h2 id="getting-shell-access"&gt;

Getting Shell&amp;nbsp;Access&lt;/h2&gt;
More than likely, since you’re here at all, you’ve already done
this. It’s included here for completeness. Feel free to skip&amp;nbsp;ahead!&lt;br /&gt;
If you’ve just jailbroken, install the OpenSSH package. Also,
installing the OpenSSH reconnect helper and Insomnia is a good
idea. The helper will reconnect you automatically if you lose your
shell connection, and Insomnia keeps that from happening at
all. Nothing is more annoying that having to fidget with your device
just to keep the Wifi&amp;nbsp;up!&lt;br /&gt;
You will also need to install &lt;b style="color: red;"&gt;“&lt;span class="caps"&gt;APT&lt;/span&gt; 0.7 Strict” and “Core Utilities”&lt;/b&gt;
from Cydia. The first will let us easily install Cydia packages from
the command line, which is a lot more convenient, and the second is
handy for working on the command&amp;nbsp;line.&lt;br /&gt;
&lt;span class="caps"&gt;SSH&lt;/span&gt; in to your device with the username &lt;code&gt;root&lt;/code&gt; and the password
&lt;code&gt;alpine&lt;/code&gt;. We’re going to change this now, for security, and then we’ll
give the user &lt;code&gt;mobile&lt;/code&gt; a password so we can log in without being&amp;nbsp;root.&lt;br /&gt;
&lt;div class="codehilite"&gt;
&lt;pre&gt;&lt;span class="gp"&gt;iphone:~ root#&lt;/span&gt; passwd
&lt;span class="go"&gt;Changing password for root.&lt;/span&gt;
&lt;span class="go"&gt;New password: [type a password here]&lt;/span&gt;
&lt;span class="go"&gt;Retype new password: [repeat it here]&lt;/span&gt;
&lt;span class="gp"&gt;iphone:~ root#&lt;/span&gt; passwd mobile
&lt;span class="go"&gt;Changing password for mobile.&lt;/span&gt;
&lt;span class="go"&gt;New password: [type a different or same password here]&lt;/span&gt;
&lt;span class="go"&gt;Retype new password: [again...]&lt;/span&gt;
&lt;span class="gp"&gt;iphone:~ root#&lt;/span&gt; 
&lt;/pre&gt;
&lt;/div&gt;
&lt;h3 id="getting_an_editor"&gt;

Getting an&amp;nbsp;Editor&lt;/h3&gt;
Right now we have no way of editing files. For now, I recommend
installing &lt;code&gt;nano&lt;/code&gt;. It’s lightweight and easy to wrap your head
around. If you’ve never used it before, look around the web for a
&lt;a href="http://dwabbott.com/nano.html"&gt;&lt;span class="caps"&gt;GNU&lt;/span&gt; nano tutorial&lt;/a&gt;. If &lt;code&gt;nano&lt;/code&gt;‘s not your thing, you could also install
&lt;code&gt;vim&lt;/code&gt; or even &lt;code&gt;emacs&lt;/code&gt; (though for &lt;code&gt;emacs&lt;/code&gt;, you need my &lt;a href="http://gamma-level.com/cydia/info"&gt;Cydia repository&lt;/a&gt;).&lt;br /&gt;
&lt;div class="codehilite"&gt;
&lt;pre&gt;&lt;span class="gp"&gt;iphone:~ root#&lt;/span&gt; apt-get install nano &lt;span class="c"&gt;# or 'vim', or 'emacs', or...&lt;/span&gt;
&lt;/pre&gt;
&lt;/div&gt;
(&lt;b&gt;Note&lt;/b&gt;: I usually run &lt;code&gt;nano&lt;/code&gt; as &lt;code&gt;nano -w&lt;/code&gt;, which keeps &lt;code&gt;nano&lt;/code&gt; from
automatically wrapping lines, which can ruin most configuration&amp;nbsp;files.)&lt;br /&gt;
&lt;h3 id="setting_up_sudo"&gt;

Setting Up &lt;code&gt;sudo&lt;/code&gt;&lt;/h3&gt;
Working as root is bad, &lt;i&gt;very&lt;/i&gt; bad. I’ve accidentaly deleted my &lt;code&gt;/usr&lt;/code&gt;
once, bricking my iPad. However, it gets annoying to have to &lt;code&gt;su&lt;/code&gt; into
root every time you want to install something. So let’s install
&lt;code&gt;sudo&lt;/code&gt;!&lt;br /&gt;
&lt;div class="codehilite"&gt;
&lt;pre&gt;&lt;span class="gp"&gt;iphone:~ root#&lt;/span&gt; apt-get install sudo
&lt;/pre&gt;
&lt;/div&gt;
Now we need to edit the sudoers file to make &lt;code&gt;sudo&lt;/code&gt; useful. We set the
&lt;code&gt;EDITOR&lt;/code&gt; environment variable to keep &lt;code&gt;visudo&lt;/code&gt; from complaining that
&lt;code&gt;vi&lt;/code&gt; isn’t there. If you’le using &lt;code&gt;vim&lt;/code&gt;, you can leave it&amp;nbsp;out.&lt;br /&gt;
&lt;div class="codehilite"&gt;
&lt;pre&gt;&lt;span class="gp"&gt;iphone:~ root#&lt;/span&gt; &lt;span class="nv"&gt;&lt;span class="caps"&gt;EDITOR&lt;/span&gt;&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;nano visudo
&lt;/pre&gt;
&lt;/div&gt;
Right below the line that says “&lt;code&gt;root ALL=(ALL) ALL&lt;/code&gt;“, write the
similar line “&lt;code&gt;mobile ALL=(ALL) ALL&lt;/code&gt;“, then save and&amp;nbsp;exit.&lt;br /&gt;
(&lt;b&gt;Note&lt;/b&gt;: when you run &lt;code&gt;sudo&lt;/code&gt; as &lt;code&gt;mobile&lt;/code&gt;, it will ask you for a
password sometimes. This is &lt;code&gt;mobile&lt;/code&gt;‘s password, not &lt;code&gt;root&lt;/code&gt;‘s.)&lt;br /&gt;
&lt;h3 id="logging_in_as_mobile"&gt;

Logging In as &lt;code&gt;mobile&lt;/code&gt;&lt;/h3&gt;
Before we continue, we’re going to drop our superuser privelege. Log
out and log back in as mobile. As a test, make sure &lt;code&gt;sudo&lt;/code&gt; is working
fine. It’ll give you a nice scary administration notice when you run
it the first time, as a&amp;nbsp;bonus!&lt;br /&gt;
&lt;div class="codehilite"&gt;
&lt;pre&gt;&lt;span class="gp"&gt;iphone:~ mobile$&lt;/span&gt; sudo whoami

&lt;span class="go"&gt;We trust you have received the usual lecture from the local System&lt;/span&gt;
&lt;span class="go"&gt;Administrator. It usually boils down to these three things:&lt;/span&gt;

&lt;span class="go"&gt;    #1) Respect the privacy of others.&lt;/span&gt;
&lt;span class="go"&gt;    #2) Think before you type.&lt;/span&gt;
&lt;span class="go"&gt;    #3) With great power comes great responsibility.&lt;/span&gt;

&lt;span class="go"&gt;Password: [type in mobile's password]&lt;/span&gt;
&lt;span class="go"&gt;root&lt;/span&gt;
&lt;span class="gp"&gt;iphone:~ mobile$&lt;/span&gt;
&lt;/pre&gt;
&lt;/div&gt;
The last line saying &lt;code&gt;root&lt;/code&gt; is the key: it means &lt;code&gt;sudo&lt;/code&gt; is set up right
and correctly giving you root&amp;nbsp;access.&lt;br /&gt;
&lt;h2 id="installing-gcc-and-friends"&gt;

Installing &lt;span class="caps"&gt;GCC&lt;/span&gt; and&amp;nbsp;Friends&lt;/h2&gt;
Finally, we get to the &lt;i&gt;fun&lt;/i&gt; part. First off, let’s install some
general utilities for our development&amp;nbsp;environment:&lt;br /&gt;
&lt;div class="codehilite"&gt;
&lt;pre&gt;&lt;span class="gp"&gt;iphone:~ mobile$&lt;/span&gt; sudo apt-get install ldid make wget patch gawk
&lt;/pre&gt;
&lt;/div&gt;
Some explanation: &lt;code&gt;ldid&lt;/code&gt; modifies programs to fake iPhone &lt;span class="caps"&gt;OS&lt;/span&gt; into
running them like official binaries. &lt;code&gt;make&lt;/code&gt; is the standard &lt;span class="caps"&gt;GNU&lt;/span&gt; build
tool. We’ll use &lt;code&gt;wget&lt;/code&gt; to fetch tarballs from the internet right in
the terminal, and then &lt;code&gt;patch&lt;/code&gt; to patch them. Autotools, which just
about every package uses, needs &lt;code&gt;gawk&lt;/code&gt; to&amp;nbsp;run.&lt;br /&gt;
Next, we’re going to install &lt;code&gt;gcc&lt;/code&gt; itself, but if we just go and do
it, we’ll run into a problem with the &lt;code&gt;libgcc&lt;/code&gt; offered on Telesphoreo:
it refuses to install, because it breaks the system. Instead, we’ll
install the dummy package found &lt;a href="http://www.telesphoreo.org/ticket/163"&gt;here&lt;/a&gt;, and trick &lt;span class="caps"&gt;APT&lt;/span&gt;
into thinking it’s already&amp;nbsp;installed.&lt;br /&gt;
&lt;div class="codehilite"&gt;
&lt;pre&gt;&lt;span class="gp"&gt;iphone:~ mobile$&lt;/span&gt; wget http://gammalevel.com/forever/fake-libgcc_1.0_iphoneos-arm.deb
&lt;span class="gp"&gt;iphone:~ mobile$&lt;/span&gt; sudo dpkg -i fake-libgcc_1.0_iphoneos-arm.deb
&lt;/pre&gt;
&lt;/div&gt;
Now we’re prepared to install &lt;code&gt;gcc&lt;/code&gt; and some development headers. Note
that these headers are &lt;i&gt;compatibility&lt;/i&gt; headers, meant to ease the
transition from iOS 1.0 to 2.0. That is, they are &lt;i&gt;old&lt;/i&gt;. I only trust
them for the standard &lt;span class="caps"&gt;POSIX&lt;/span&gt; headers, and even for that they fail in
some parts. &lt;i&gt;This&lt;/i&gt; is one place that could probably be improved: more
on that&amp;nbsp;later.&lt;br /&gt;
&lt;div class="codehilite"&gt;
&lt;pre&gt;&lt;span class="gp"&gt;iphone:~ mobile$&lt;/span&gt; sudo apt-get install iphone-gcc com.bigboss.20toolchain
&lt;/pre&gt;
&lt;/div&gt;
If you’re anything like me, you’ll be itching to write a little
“Hello, world!” program right now and try out your shiny new
&lt;code&gt;gcc&lt;/code&gt;. Well, you’d be dissappointed. These packages are so old that
they need fixing&amp;nbsp;first.&lt;br /&gt;
&lt;h2 id="fixing-whats-broken"&gt;

Fixing What’s&amp;nbsp;Broken&lt;/h2&gt;
&lt;h3 id="libraries"&gt;

Libraries&lt;/h3&gt;
Unfortunately, you have some downloading to do. Go fetch the &lt;a href="http://developer.apple.com/iphone/"&gt;iPhone
Developer &lt;span class="caps"&gt;SDK&lt;/span&gt;&lt;/a&gt;. Once you have it, on a Mac, simply install
it. If you’re not on a Mac, you’ll need an archive tool that reads
DMGs and Mac packages. I know that &lt;a href="http://www.7-zip.org/"&gt;7zip&lt;/a&gt; works well on Windows, and
probably works fine through &lt;a href="http://www.winehq.org/"&gt;Wine&lt;/a&gt; on other&amp;nbsp;systems.&lt;br /&gt;
We’ll be looking in the &lt;code&gt;iPhoneOS3.2.sdk&lt;/code&gt; directory, but by all means
change this version number if you need to. On a Mac with the installed
official &lt;span class="caps"&gt;SDK&lt;/span&gt;, this is at
“&lt;code&gt;/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS3.2.sdk&lt;/code&gt;“.
If you’re using 7zip, open the Xcode &lt;span class="caps"&gt;DMG&lt;/span&gt;, then the &lt;code&gt;5.hfs&lt;/code&gt; partition,
which will take a while. Then, open up
“&lt;code&gt;iPhoneSDK/Packages/iPhoneSDKHeadersAndLibs.pkg&lt;/code&gt;” for the most recent
version, or “&lt;code&gt;.../iPhoneSDKXXX.pkg&lt;/code&gt;” for a different version. Inside
that package, open &lt;code&gt;Payload&lt;/code&gt;, then &lt;code&gt;Payload~&lt;/code&gt;, then “&lt;code&gt;.&lt;/code&gt;“. The
directory we are looking for is then at
“&lt;code&gt;Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS3.2.sdk&lt;/code&gt;“.&lt;br /&gt;
We need to copy libraries from the official &lt;span class="caps"&gt;SDK&lt;/span&gt; on to the
device. &lt;code&gt;scp&lt;/code&gt; works really well, if you have it: it transfers files
over &lt;span class="caps"&gt;SSH&lt;/span&gt;. However, anything that gets files from your computer to your
device will&amp;nbsp;work.&lt;br /&gt;
(&lt;b&gt;Note&lt;/b&gt; for the interested: iPhoneOS is missing libraries to link
against, so we’ll be copying them over. Later on, we’ll be editing
system headers. Also, none of the frameworks on the device come with
headers, so you’ll need to copy those over as you need them. It occurs
to me that we might be able to just copy over the &lt;i&gt;entire&lt;/i&gt; official
&lt;span class="caps"&gt;SDK&lt;/span&gt;, and skip doing this by hand. It &lt;i&gt;might&lt;/i&gt; work, but I haven’t tried
it. For now, I just copy over whatever’s missing as I run into it. I
would like to look into this,&amp;nbsp;though.)&lt;br /&gt;
In the directory &lt;code&gt;iPhoneOS3.2.sdk/usr/lib&lt;/code&gt;, you will find the
following&amp;nbsp;files:&lt;br /&gt;
&lt;div class="codehilite"&gt;
&lt;pre&gt;libgcc_s.1.dylib
libSystem.B.dylib
libstdc++.6.0.9.dylib
libiconv.2.dylib
&lt;/pre&gt;
&lt;/div&gt;
We need to copy these files to &lt;code&gt;mobile&lt;/code&gt;‘s home directory,
&lt;code&gt;/var/mobile&lt;/code&gt;, on the device. Once there, reopen your shell on your
device and move them to &lt;code&gt;/usr/lib&lt;/code&gt;:&lt;br /&gt;
&lt;div class="codehilite"&gt;
&lt;pre&gt;&lt;span class="gp"&gt;iphone:~ mobile$&lt;/span&gt; sudo mv *.dylib /usr/lib/
&lt;/pre&gt;
&lt;/div&gt;
We also need to reconstruct a few&amp;nbsp;symlinks:&lt;br /&gt;
&lt;div class="codehilite"&gt;
&lt;pre&gt;&lt;span class="gp"&gt;iphone:~ mobile$&lt;/span&gt; sudo ln -s /usr/lib/libSystem.B.dylib /usr/lib/libSystem.dylib
&lt;span class="gp"&gt;iphone:~ mobile$&lt;/span&gt; sudo ln -s /usr/lib/libSystem.dylib /usr/lib/libc.dylib
&lt;span class="gp"&gt;iphone:~ mobile$&lt;/span&gt; sudo ln -s /usr/lib/libSystem.dylib /usr/lib/libm.dylib

&lt;span class="gp"&gt;iphone:~ mobile$&lt;/span&gt; sudo ln -s /usr/lib/libstdc++.6.0.9.dylib /usr/lib/libstdc++.6.dylib
&lt;span class="gp"&gt;iphone:~ mobile$&lt;/span&gt; sudo ln -s /usr/lib/libstdc++.6.dylib /usr/lib/libstdc++.dylib

&lt;span class="gp"&gt;iphone:~ mobile$&lt;/span&gt; sudo ln -s /usr/lib/libiconv.2.dylib /usr/lib/libiconv.2.4.0.dylib
&lt;/pre&gt;
&lt;/div&gt;
&lt;h3 id="headers"&gt;

Headers&lt;/h3&gt;
We also need to copy over some key C++ headers. In
&lt;code&gt;iPhoneOS3.2.sdk/usr/include/c++/4.0.0/arm-apple-darwin9&lt;/code&gt;, there is a
directory named &lt;code&gt;bits&lt;/code&gt;. Copy that directory and all it contains to
your device, then install&amp;nbsp;it:&lt;br /&gt;
&lt;div class="codehilite"&gt;
&lt;pre&gt;&lt;span class="gp"&gt;iphone:~ mobile$&lt;/span&gt; sudo mkdir /var/include/c++/4.0.0/arm-apple-darwin9
&lt;span class="gp"&gt;iphone:~ mobile$&lt;/span&gt; sudo mv bits /var/include/c++/4.0.0/arm-apple-darwin9/
&lt;span class="gp"&gt;iphone:~ mobile$&lt;/span&gt; sudo ln -s /var/include/c++/4.0.0/arm-apple-darwin9/&lt;span class="o"&gt;{&lt;/span&gt;,v6&lt;span class="o"&gt;}&lt;/span&gt;
&lt;span class="gp"&gt;iphone:~ mobile$&lt;/span&gt; sudo ln -s /var/include/c++/4.0.0/arm-apple-darwin&lt;span class="o"&gt;{&lt;/span&gt;9,8&lt;span class="o"&gt;}&lt;/span&gt;
&lt;span class="gp"&gt;iphone:~ mobile$&lt;/span&gt; sudo ln -s &lt;span class="o"&gt;{&lt;/span&gt;/var,/usr&lt;span class="o"&gt;}&lt;/span&gt;/include/c++
&lt;/pre&gt;
&lt;/div&gt;
&lt;h3 id="manual_header_modifications"&gt;

Manual Header&amp;nbsp;Modifications&lt;/h3&gt;
Not only are there critical system libraries missing, but some of the
headers are just plain &lt;i&gt;wrong&lt;/i&gt;, too. It seems that somewhere along the
line, iPhone &lt;span class="caps"&gt;OS&lt;/span&gt; moved from a 32 bit inode to a 64 bit inode, so there
are a lot of structures defined in these headers that have the wrong&amp;nbsp;size.&lt;br /&gt;
(&lt;b&gt;Note&lt;/b&gt; for the interested: Beleive me when I say that hunting down
bugs in &lt;i&gt;system headers&lt;/i&gt; is a nightmare. Just keep in mind, if you
seem to be getting random segfaults for no reason, or some extremely
subtle bug that has no reason to exist, it’s probably a system header
error I haven’t found yet! Compare the given headers with the ones
from Apple, with &lt;code&gt;__DARWIN_64_BIT_INO_T&lt;/code&gt; defined.)&lt;br /&gt;
First off, we’re going to edit
“&lt;code&gt;/private/var/include/sys/stat.h&lt;/code&gt;“. Make sure to edit with &lt;code&gt;sudo&lt;/code&gt;, so
you have write permissions! In &lt;code&gt;struct stat&lt;/code&gt;, remove the line that&amp;nbsp;says:&lt;br /&gt;
&lt;div class="codehilite"&gt;
&lt;pre&gt;&lt;span class="n"&gt;ino_t&lt;/span&gt;           &lt;span class="n"&gt;st_ino&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;         &lt;span class="cm"&gt;/* [&lt;span class="caps"&gt;XSI&lt;/span&gt;] File serial number */&lt;/span&gt;
&lt;/pre&gt;
&lt;/div&gt;
Between the entries for &lt;code&gt;st_nlink&lt;/code&gt; and &lt;code&gt;st_uid&lt;/code&gt;, add this&amp;nbsp;line:&lt;br /&gt;
&lt;div class="codehilite"&gt;
&lt;pre&gt;&lt;span class="n"&gt;__uint64_t&lt;/span&gt;      &lt;span class="n"&gt;st_ino&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;         &lt;span class="cm"&gt;/* [&lt;span class="caps"&gt;XSI&lt;/span&gt;] File serial number */&lt;/span&gt;
&lt;/pre&gt;
&lt;/div&gt;
After the entry for &lt;code&gt;st_ctimespec&lt;/code&gt;, add this&amp;nbsp;line:&lt;br /&gt;
&lt;div class="codehilite"&gt;
&lt;pre&gt;&lt;span class="k"&gt;struct&lt;/span&gt; &lt;span class="n"&gt;timespec&lt;/span&gt; &lt;span class="n"&gt;st_birthtimespec&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;       &lt;span class="cm"&gt;/* time of file creation */&lt;/span&gt;
&lt;/pre&gt;
&lt;/div&gt;
Finally, after the entries for &lt;code&gt;st_ctime&lt;/code&gt; and &lt;code&gt;st_ctimensec&lt;/code&gt;, add these&amp;nbsp;lines:&lt;br /&gt;
&lt;div class="codehilite"&gt;
&lt;pre&gt;&lt;span class="kt"&gt;time_t&lt;/span&gt;          &lt;span class="n"&gt;st_birthtime&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;           &lt;span class="cm"&gt;/* [&lt;span class="caps"&gt;XSI&lt;/span&gt;] Time of file creation */&lt;/span&gt;
&lt;span class="kt"&gt;long&lt;/span&gt;            &lt;span class="n"&gt;st_birthtimensec&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;       &lt;span class="cm"&gt;/* nsec of file creation */&lt;/span&gt;
&lt;/pre&gt;
&lt;/div&gt;
We’re also going to edit “&lt;code&gt;/private/var/include/sys/dirent.h&lt;/code&gt;“. First,
we’re going to change the definition of &lt;code&gt;__DARWIN_MAXNAMLEN&lt;/code&gt;:&lt;br /&gt;
&lt;div class="codehilite"&gt;
&lt;pre&gt;&lt;span class="cp"&gt;#define __DARWIN_MAXNAMLEN      1023&lt;/span&gt;
&lt;/pre&gt;
&lt;/div&gt;
In the definition of &lt;code&gt;struct dirent&lt;/code&gt;, remove the line at the top that&amp;nbsp;says&lt;br /&gt;
&lt;div class="codehilite"&gt;
&lt;pre&gt;&lt;span class="n"&gt;ino_t&lt;/span&gt; &lt;span class="n"&gt;d_ino&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;            &lt;span class="cm"&gt;/* file number of entry */&lt;/span&gt;
&lt;/pre&gt;
&lt;/div&gt;
In its place, write&amp;nbsp;in:&lt;br /&gt;
&lt;div class="codehilite"&gt;
&lt;pre&gt;&lt;span class="n"&gt;__uint64_t&lt;/span&gt; &lt;span class="n"&gt;d_ino&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;       &lt;span class="cm"&gt;/* file number of entry */&lt;/span&gt;
&lt;span class="n"&gt;__uint64_t&lt;/span&gt; &lt;span class="n"&gt;d_seekoff&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;/pre&gt;
&lt;/div&gt;
Between the entries for &lt;code&gt;d_reclen&lt;/code&gt; and &lt;code&gt;d_type&lt;/code&gt;, write&amp;nbsp;in:&lt;br /&gt;
&lt;div class="codehilite"&gt;
&lt;pre&gt;&lt;span class="n"&gt;__uint16_t&lt;/span&gt; &lt;span class="n"&gt;d_namlen&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;    &lt;span class="cm"&gt;/* length of string in d_name */&lt;/span&gt;
&lt;/pre&gt;
&lt;/div&gt;
Finally, between the entries for &lt;code&gt;d_type&lt;/code&gt; and &lt;code&gt;d_name&lt;/code&gt;, remove the
line that&amp;nbsp;says:&lt;br /&gt;
&lt;div class="codehilite"&gt;
&lt;pre&gt;&lt;span class="n"&gt;__uint8_t&lt;/span&gt; &lt;span class="n"&gt;d_namlen&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;     &lt;span class="cm"&gt;/* length of string in d_name */&lt;/span&gt;
&lt;/pre&gt;
&lt;/div&gt;
That’s&amp;nbsp;it!&lt;br /&gt;
&lt;h3 id="minor_details"&gt;

Minor&amp;nbsp;Details&lt;/h3&gt;
Some configure scripts and Makefiles (like Emacs’s) looks for the C
compiler under &lt;code&gt;cc&lt;/code&gt;, which is supposed to exist on standard
setups. Since we emphatically &lt;i&gt;don’t&lt;/i&gt; have a standard setup, we have
to make a&amp;nbsp;link.&lt;br /&gt;
&lt;div class="codehilite"&gt;
&lt;pre&gt;&lt;span class="gp"&gt;iphone:~ mobile$&lt;/span&gt; sudo ln -s /usr/bin/gcc /usr/bin/cc
&lt;/pre&gt;
&lt;/div&gt;
Apparently sometimes the &lt;span class="caps"&gt;GCC&lt;/span&gt; you get won’t search &lt;code&gt;/var/include&lt;/code&gt;,
which is where all the standard C headers are located. To fix this,
add the following lines to &lt;code&gt;~/.profile&lt;/code&gt;:&lt;br /&gt;
&lt;div class="codehilite"&gt;
&lt;pre&gt;&lt;span class="nb"&gt;export &lt;/span&gt;&lt;span class="nv"&gt;C_INCLUDE_PATH&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;/var/include
&lt;span class="nb"&gt;export &lt;/span&gt;&lt;span class="nv"&gt;CPLUS_INCLUDE_PATH&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;/var/include
&lt;span class="nb"&gt;export &lt;/span&gt;&lt;span class="nv"&gt;OBJC_INCLUDE_PATH&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;/var/include
&lt;/pre&gt;
&lt;/div&gt;
Make sure to log out and log back in for these changes to take&amp;nbsp;effect.&lt;br /&gt;
&lt;h2 id="testing-your-gcc"&gt;

Testing your&amp;nbsp;&lt;span class="caps"&gt;GCC&lt;/span&gt;&lt;/h2&gt;
If you feel so inclined, now would be the time to test out your build
environment. &lt;span class="caps"&gt;GCC&lt;/span&gt; works exactly as it does on Mac &lt;span class="caps"&gt;OS&lt;/span&gt; X, that is,
exactly like on other systems, but with added options for linking with
frameworks. Keep in mind, you may need to sign your programs before
they’ll run. I have found that I don’t, but you may need to. If your
program crashes for no reason when you start it, you need to&amp;nbsp;run&lt;br /&gt;
&lt;div class="codehilite"&gt;
&lt;pre&gt;&lt;span class="gp"&gt;iphone:~ mobile$&lt;/span&gt; ldid -S program_name
&lt;/pre&gt;
&lt;/div&gt;
There’s some way to change the system so you don’t &lt;i&gt;ever&lt;/i&gt; need to do
this, but last I heard there were some long-term&amp;nbsp;side-effects.&lt;br /&gt;
&lt;h2 id="youre-done"&gt;

You’re&amp;nbsp;Done!&lt;/h2&gt;
Congratulations!&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4827842540624707460-3039086958126546009?l=kinhnghiem.luyenthianhvan.org' alt='' /&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/kinhnghiemvn/~4/S2xbm0xMyCM" height="1" width="1"/&gt;</description><link>http://feedproxy.google.com/~r/kinhnghiemvn/~3/S2xbm0xMyCM/on-iphone-development-environment.html</link><author>noreply@blogger.com (vitec)</author><thr:total>0</thr:total><feedburner:origLink>http://kinhnghiem.luyenthianhvan.org/2012/01/on-iphone-development-environment.html</feedburner:origLink></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-4827842540624707460.post-2023066716628058674</guid><pubDate>Sun, 22 Jan 2012 14:48:00 +0000</pubDate><atom:updated>2012-01-28T21:24:16.687-08:00</atom:updated><title>Cách tốt nhất cập nhật lại ngày giờ cho Centos</title><description># yum install ntp&lt;br /&gt;
# chkconfig ntpd on&lt;br /&gt;
# ntpdate 0.asia.pool.ntp.org&lt;br /&gt;
# /etc/init.d/ntpd start&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4827842540624707460-2023066716628058674?l=kinhnghiem.luyenthianhvan.org' alt='' /&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/kinhnghiemvn/~4/tG6YKDP1T5E" height="1" width="1"/&gt;</description><link>http://feedproxy.google.com/~r/kinhnghiemvn/~3/tG6YKDP1T5E/cach-tot-nhat-cap-nhat-lai-ngay-gio-cho.html</link><author>noreply@blogger.com (vitec)</author><thr:total>0</thr:total><feedburner:origLink>http://kinhnghiem.luyenthianhvan.org/2012/01/cach-tot-nhat-cap-nhat-lai-ngay-gio-cho.html</feedburner:origLink></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-4827842540624707460.post-1582350958437791270</guid><pubDate>Wed, 18 Jan 2012 02:11:00 +0000</pubDate><atom:updated>2012-01-17T18:11:10.042-08:00</atom:updated><title>How To Fix PHP Error Notice: Undefined variable: index</title><description>Notice: Undefined index:&lt;br /&gt;
&lt;br /&gt;
&lt;div style="color: red;"&gt;
Change &lt;tt&gt;php.ini&lt;/tt&gt;&lt;/div&gt;
&lt;br /&gt;
NOTE: you may have something different set for the error_reporting , 
just make sure you make the changes on the line without a semi-colon 
because a semi-colon at the begining of the line mean its a comment
&lt;br /&gt;
&lt;br /&gt;So now change it to:
&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;Code:&lt;/strong&gt;&lt;br /&gt;
&lt;div class="code" style="margin-top: 5px; margin: 20px;"&gt;
&lt;b&gt;error_reporting = E_ALL &amp;amp; ~E_NOTICE&lt;/b&gt;&lt;/div&gt;
&lt;br /&gt;Save your changes and then restart you Apache server for the changes to take affect witht his command: &lt;br /&gt;&lt;strong&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;Code:&lt;/strong&gt;&lt;div class="code" style="margin-top: 5px; margin: 20px;"&gt;
&lt;b&gt;/etc/init.d/httpd restart&lt;/b&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4827842540624707460-1582350958437791270?l=kinhnghiem.luyenthianhvan.org' alt='' /&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/kinhnghiemvn/~4/ZfE3XDTlrSo" height="1" width="1"/&gt;</description><link>http://feedproxy.google.com/~r/kinhnghiemvn/~3/ZfE3XDTlrSo/how-to-fix-php-error-notice-undefined.html</link><author>noreply@blogger.com (vitec)</author><thr:total>0</thr:total><feedburner:origLink>http://kinhnghiem.luyenthianhvan.org/2012/01/how-to-fix-php-error-notice-undefined.html</feedburner:origLink></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-4827842540624707460.post-1768556091703089046</guid><pubDate>Fri, 13 Jan 2012 03:56:00 +0000</pubDate><atom:updated>2012-01-12T19:56:04.096-08:00</atom:updated><title>Remove IP Spamhaus</title><description>Check at server &lt;br /&gt;
[root@dedi25 ~]# &lt;b&gt;telnet mx1.mail.sg1.yahoo.com 25&lt;/b&gt;&lt;br /&gt;Trying 124.108.116.109...&lt;br /&gt;Connected to mx1.mail.sg1.yahoo.com (124.108.116.109).&lt;br /&gt;Escape character is '^]'.&lt;br /&gt;&lt;span style="color: red;"&gt;553
 5.7.1 [BL21] Connections will not be accepted from 112.213.94.125, 
because the ip is in Spamhaus's list; see 
http://postmaster.yahoo.com/550-bl23.html&lt;/span&gt;&lt;br /&gt;Connection closed by foreign host.&lt;br /&gt;[root@dedi25 ~]#&amp;nbsp;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Remove IP &lt;span style="color: red;"&gt;Spamhaus&lt;/span&gt;&lt;br /&gt;
http://cbl.abuseat.org/lookup.cgi?ip=125.23.9.125&lt;br /&gt;
 &lt;br /&gt;
Check &lt;br /&gt;
http://www.spamhaus.org/query/bl?ip=125.23.9.125&lt;br /&gt;
&lt;br /&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4827842540624707460-1768556091703089046?l=kinhnghiem.luyenthianhvan.org' alt='' /&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/kinhnghiemvn/~4/0d10DGq1b58" height="1" width="1"/&gt;</description><link>http://feedproxy.google.com/~r/kinhnghiemvn/~3/0d10DGq1b58/remove-ip-spamhaus.html</link><author>noreply@blogger.com (vitec)</author><thr:total>0</thr:total><feedburner:origLink>http://kinhnghiem.luyenthianhvan.org/2012/01/remove-ip-spamhaus.html</feedburner:origLink></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-4827842540624707460.post-1464992800510441560</guid><pubDate>Wed, 11 Jan 2012 07:00:00 +0000</pubDate><atom:updated>2012-01-10T23:01:45.770-08:00</atom:updated><title>Hướng dẫn cấu hình crontab not send email</title><description>[root@dedi94125 ~]# vi /etc/crontab&lt;br /&gt;
&lt;br /&gt;
SHELL=/bin/bash&lt;br /&gt;
PATH=/sbin:/bin:/usr/sbin:/usr/bin&lt;br /&gt;
&lt;b&gt;&lt;span style="color: red;"&gt;MAILTO=root&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
HOME=/&lt;br /&gt;
&lt;br /&gt;
# run-parts&lt;br /&gt;
01 * * * * root run-parts /etc/cron.hourly&lt;br /&gt;
02 4 * * * root run-parts /etc/cron.daily&lt;br /&gt;
22 4 * * 0 root run-parts /etc/cron.weekly&lt;br /&gt;
42 4 1 * * root run-parts /etc/cron.monthly&lt;br /&gt;
&lt;br /&gt;
01 01 * * * root /var/qmail/bin/dh_key 2&amp;gt;&amp;amp;1 &amp;gt; /dev/null&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Chú ý: nếu muốn không send email thì MAILTO = rỗng&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Cách 2:&amp;nbsp; thêm vào thông số&lt;/b&gt;&amp;nbsp; &lt;i style="color: red;"&gt;&lt;b&gt;&lt;code&gt;&lt;span class="str"&gt;/dev/&lt;/span&gt;&lt;span class="kwd"&gt;null&lt;/span&gt;&lt;span class="pln"&gt; &lt;/span&gt;&lt;span class="lit"&gt;2&lt;/span&gt;&lt;span class="pun"&gt;&amp;gt;&amp;amp;&lt;/span&gt;&lt;span class="lit"&gt;1&lt;/span&gt;&lt;/code&gt;&lt;/b&gt;&lt;/i&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;pre class="lang-php prettyprint"&gt;&lt;code&gt;&lt;span class="com"&gt;#Before&lt;/span&gt;&lt;span class="pln"&gt;
&lt;/span&gt;&lt;span class="pun"&gt;*&lt;/span&gt;&lt;span class="pln"&gt; &lt;/span&gt;&lt;span class="pun"&gt;*&lt;/span&gt;&lt;span class="pln"&gt; &lt;/span&gt;&lt;span class="pun"&gt;*&lt;/span&gt;&lt;span class="pln"&gt; &lt;/span&gt;&lt;span class="pun"&gt;*&lt;/span&gt;&lt;span class="pln"&gt; &lt;/span&gt;&lt;span class="pun"&gt;*&lt;/span&gt;&lt;span class="pln"&gt; php &lt;/span&gt;&lt;span class="pun"&gt;/&lt;/span&gt;&lt;span class="pln"&gt;path&lt;/span&gt;&lt;span class="pun"&gt;/&lt;/span&gt;&lt;span class="pln"&gt;to&lt;/span&gt;&lt;span class="pun"&gt;/&lt;/span&gt;&lt;span class="pln"&gt;script&lt;/span&gt;&lt;span class="com"&gt;#After&lt;/span&gt;&lt;span class="pln"&gt;
&lt;/span&gt;&lt;span class="pun"&gt;*&lt;/span&gt;&lt;span class="pln"&gt; &lt;/span&gt;&lt;span class="pun"&gt;*&lt;/span&gt;&lt;span class="pln"&gt; &lt;/span&gt;&lt;span class="pun"&gt;*&lt;/span&gt;&lt;span class="pln"&gt; &lt;/span&gt;&lt;span class="pun"&gt;*&lt;/span&gt;&lt;span class="pln"&gt; &lt;/span&gt;&lt;span class="pun"&gt;*&lt;/span&gt;&lt;span class="pln"&gt; php &lt;/span&gt;&lt;span class="pun"&gt;/&lt;/span&gt;&lt;span class="pln"&gt;path&lt;/span&gt;&lt;span class="pun"&gt;/&lt;/span&gt;&lt;span class="pln"&gt;to&lt;/span&gt;&lt;span class="pun"&gt;/&lt;/span&gt;&lt;span class="pln"&gt;script &lt;/span&gt;&lt;span class="pun"&gt;&amp;gt;&lt;/span&gt;&lt;span class="pln"&gt; &lt;/span&gt;&lt;span class="str"&gt;/dev/&lt;/span&gt;&lt;span class="kwd"&gt;null&lt;/span&gt;&lt;span class="pln"&gt; &lt;/span&gt;&lt;span class="lit"&gt;2&lt;/span&gt;&lt;span class="pun"&gt;&amp;gt;&amp;amp;&lt;/span&gt;&lt;span class="lit"&gt;1&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;
&lt;pre class="lang-php prettyprint"&gt;&lt;code&gt;&lt;span class="lit"&gt;&amp;nbsp;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;
&lt;pre class="lang-php prettyprint"&gt;&lt;code&gt;&lt;span class="lit"&gt;&amp;nbsp;&lt;/span&gt;&lt;span class="pln"&gt;
&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4827842540624707460-1464992800510441560?l=kinhnghiem.luyenthianhvan.org' alt='' /&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/kinhnghiemvn/~4/KbokIA7_3Sg" height="1" width="1"/&gt;</description><link>http://feedproxy.google.com/~r/kinhnghiemvn/~3/KbokIA7_3Sg/huong-dan-cau-hinh-crontab-not-send.html</link><author>noreply@blogger.com (vitec)</author><thr:total>0</thr:total><feedburner:origLink>http://kinhnghiem.luyenthianhvan.org/2012/01/huong-dan-cau-hinh-crontab-not-send.html</feedburner:origLink></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-4827842540624707460.post-6984805207227304438</guid><pubDate>Tue, 10 Jan 2012 04:05:00 +0000</pubDate><atom:updated>2012-01-09T20:05:47.318-08:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">Linux - Solaris</category><title>How To scp, ssh and rsync without prompting for password</title><description>&lt;span style="font-size: small;"&gt;Lets say you want to copy between two hosts &lt;/span&gt;&lt;b&gt;&lt;span style="font-family: LucidaSansTypewriter,monospace;"&gt;&lt;span style="font-size: small;"&gt;host_src&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;
&lt;span style="font-size: small;"&gt;and &lt;/span&gt;&lt;b&gt;&lt;span style="font-family: LucidaSansTypewriter,monospace;"&gt;&lt;span style="font-size: small;"&gt;host_dest&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;span style="font-size: small;"&gt;.
&lt;/span&gt;&lt;b&gt;&lt;span style="font-family: LucidaSansTypewriter,monospace;"&gt;&lt;span style="font-size: small;"&gt;host_src&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;b&gt;
&lt;/b&gt;&lt;span style="font-size: small;"&gt;is the host where you would run the &lt;/span&gt;&lt;span style="font-family: LucidaSansTypewriter,monospace;"&gt;&lt;span style="font-size: small;"&gt;scp&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family: Thorndale,serif;"&gt;&lt;span style="font-size: small;"&gt;,&lt;/span&gt;&lt;/span&gt;
&lt;span style="font-family: LucidaSansTypewriter,monospace;"&gt;&lt;span style="font-size: small;"&gt;ssh&lt;/span&gt;&lt;/span&gt;
&lt;span style="font-family: Thorndale,serif;"&gt;&lt;span style="font-size: small;"&gt;or&lt;/span&gt;&lt;/span&gt; &lt;span style="font-family: LucidaSansTypewriter,monospace;"&gt;&lt;span style="font-size: small;"&gt;rsyn&lt;/span&gt;&lt;/span&gt;
&lt;span style="font-size: small;"&gt;command, &lt;/span&gt;&lt;b&gt;&lt;span style="font-family: Thorndale,serif;"&gt;&lt;span style="font-size: small;"&gt;irrespective
of the direction of the file copy&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;span style="font-size: small;"&gt;!&lt;/span&gt;&lt;br /&gt;

&lt;ol&gt;
&lt;li&gt;&lt;span style="font-size: small;"&gt;On &lt;/span&gt;&lt;b style="color: red;"&gt;&lt;span style="font-family: LucidaSansTypewriter,monospace;"&gt;&lt;span style="font-size: small;"&gt;host_src&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;span style="font-size: small;"&gt;,
        run this command as the user that runs &lt;/span&gt;&lt;span style="font-family: LucidaSansTypewriter,monospace;"&gt;&lt;span style="font-size: small;"&gt;scp&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: small;"&gt;/&lt;/span&gt;&lt;span style="font-family: LucidaSansTypewriter,monospace;"&gt;&lt;span style="font-size: small;"&gt;ssh&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: small;"&gt;/&lt;/span&gt;&lt;span style="font-family: LucidaSansTypewriter,monospace;"&gt;&lt;span style="font-size: small;"&gt;rsync&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;

        &lt;span style="font-family: LucidaSansTypewriter,monospace;"&gt;&lt;span style="font-size: small;"&gt;$
        &lt;b&gt;ssh-keygen -t rsa&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;

        &lt;br /&gt;
&lt;blockquote class="tr_bq"&gt;
&lt;i&gt;&lt;code&gt;Generating public/private rsa key pair.&lt;br /&gt;Enter file in which to save the key (/root/.ssh/id_rsa): &lt;br /&gt;Enter passphrase (empty for no passphrase): &lt;br /&gt;Enter same passphrase again: &lt;br /&gt;Your identification has been saved in /root/.ssh/id_rsa.&lt;br /&gt;Your public key has been saved in /root/.ssh/id_rsa.pub.&lt;br /&gt;The key fingerprint is:&lt;br /&gt;82:c6:21:5b:9e:07:6e:6d:3b:66:47:eb:9e:ff:6a:bd root@localhost&lt;/code&gt;&lt;/i&gt;&lt;/blockquote&gt;
&lt;b&gt;&lt;code&gt;Chú ý:&amp;nbsp;&lt;/code&gt;&lt;span style="font-size: small;"&gt; Nếu không muốn hiện bản nhập key thì &lt;/span&gt;&lt;/b&gt;&lt;i&gt;&lt;code&gt;&lt;b&gt;Enter passphrase &lt;span style="color: red;"&gt;bằng rỗng&lt;/span&gt;&lt;/b&gt;&lt;/code&gt;&lt;/i&gt;&lt;br /&gt;
&lt;span style="font-size: small;"&gt;This will prompt for a passphrase. Just press the
        enter key. It'll then generate an identification (private key) and a
        public key. Do not ever share the private key with anyone!
        &lt;span style="font-family: LucidaSansTypewriter,monospace;"&gt;ssh-keygen&lt;/span&gt; shows
        where it saved the public key. This is by default &lt;span style="font-family: LucidaSansTypewriter,monospace;"&gt;~/.ssh/id_rsa.pub&lt;/span&gt;:&lt;/span&gt;&lt;br /&gt;

        &lt;span style="font-family: LucidaSansTypewriter,monospace;"&gt;&lt;span style="font-size: small;"&gt;Your
        public key has been saved in &lt;your_home_dir&gt;/.ssh/id_rsa.pub&lt;/your_home_dir&gt;&lt;/span&gt;&lt;/span&gt;
                &lt;br /&gt;

&lt;/li&gt;
&lt;/ol&gt;
&lt;ol start="2"&gt;
&lt;li&gt;&lt;span style="font-family: Thorndale,serif;"&gt;&lt;span style="font-size: small;"&gt;Transfer the&lt;/span&gt;&lt;/span&gt;
        &lt;span style="font-family: LucidaSansTypewriter,monospace;"&gt;&lt;span style="font-size: small;"&gt;id_rsa.pub&lt;/span&gt;&lt;/span&gt;
        &lt;span style="font-family: Thorndale,serif;"&gt;&lt;span style="font-size: small;"&gt;file to&lt;/span&gt;&lt;/span&gt;
        &lt;span style="font-family: LucidaSansTypewriter,monospace;"&gt;&lt;span style="font-size: small;"&gt;host_dest&lt;/span&gt;&lt;/span&gt;
        &lt;span style="font-family: Thorndale,serif;"&gt;&lt;span style="font-size: small;"&gt;by either&lt;/span&gt;&lt;/span&gt;
        &lt;span style="font-family: LucidaSansTypewriter,monospace;"&gt;&lt;span style="font-size: small;"&gt;ftp&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: small;"&gt;,
        &lt;/span&gt;&lt;span style="font-family: LucidaSansTypewriter,monospace;"&gt;&lt;span style="font-size: small;"&gt;scp&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family: Thorndale,serif;"&gt;&lt;span style="font-size: small;"&gt;,&lt;/span&gt;&lt;/span&gt;
        &lt;span style="font-family: LucidaSansTypewriter,monospace;"&gt;&lt;span style="font-size: small;"&gt;rsync&lt;/span&gt;&lt;/span&gt;
        &lt;span style="font-family: Thorndale,serif;"&gt;&lt;span style="font-size: small;"&gt;or any other method.&lt;/span&gt;&lt;/span&gt;
                &lt;br /&gt;

&lt;/li&gt;
&lt;/ol&gt;
&lt;ol start="3"&gt;
&lt;li&gt;&lt;div style="margin-bottom: 0cm;"&gt;
&lt;span style="font-family: Thorndale,serif;"&gt;&lt;span style="font-size: small;"&gt;On
        &lt;/span&gt;&lt;/span&gt;&lt;b&gt;&lt;span style="font-family: LucidaSansTypewriter,monospace;"&gt;&lt;span style="font-size: small;"&gt;&lt;span style="color: red;"&gt;host_des&lt;/span&gt;t&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;span style="font-family: Thorndale,serif;"&gt;&lt;span style="font-size: small;"&gt;,
        login as the remote user which you plan to use when you run &lt;/span&gt;&lt;/span&gt;&lt;span style="font-family: LucidaSansTypewriter,monospace;"&gt;&lt;span style="font-size: small;"&gt;scp&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family: Thorndale,serif;"&gt;&lt;span style="font-size: small;"&gt;,
        &lt;/span&gt;&lt;/span&gt;&lt;span style="font-family: LucidaSansTypewriter,monospace;"&gt;&lt;span style="font-size: small;"&gt;ssh&lt;/span&gt;&lt;/span&gt;
        &lt;span style="font-family: Thorndale,serif;"&gt;&lt;span style="font-size: small;"&gt;or &lt;/span&gt;&lt;/span&gt;&lt;span style="font-family: LucidaSansTypewriter,monospace;"&gt;&lt;span style="font-size: small;"&gt;rsync&lt;/span&gt;&lt;/span&gt;
        &lt;span style="font-family: Thorndale,serif;"&gt;&lt;span style="font-size: small;"&gt;on &lt;/span&gt;&lt;/span&gt;&lt;b&gt;&lt;span style="font-family: LucidaSansTypewriter,monospace;"&gt;&lt;span style="font-size: small;"&gt;host_src&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;span style="font-family: Thorndale,serif;"&gt;&lt;span style="font-size: small;"&gt;.&lt;/span&gt;&lt;/span&gt;
                &lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;&lt;span style="font-family: Thorndale,serif;"&gt;&lt;span style="font-size: small;"&gt;Copy the contents
        of &lt;/span&gt;&lt;/span&gt;&lt;span style="font-family: LucidaSansTypewriter,monospace;"&gt;&lt;span style="font-size: small;"&gt;id_rsa.pub&lt;/span&gt;&lt;/span&gt;
        &lt;span style="font-family: Thorndale,serif;"&gt;&lt;span style="font-size: small;"&gt;to &lt;/span&gt;&lt;/span&gt;&lt;span style="font-family: LucidaSansTypewriter,monospace;"&gt;&lt;span style="font-size: small;"&gt;~/.ssh/authorized_keys&lt;/span&gt;&lt;/span&gt;
                &lt;br /&gt;

&lt;/li&gt;
&lt;/ol&gt;
&lt;ol start="4"&gt;&lt;span style="font-family: LucidaSansTypewriter,monospace;"&gt;&lt;span style="font-size: small;"&gt;$ cat
        id_rsa.pub &amp;gt;&amp;gt; ~/.ssh/authorized_keys&lt;br /&gt;$ chmod 700
        ~/.ssh/authorized_keys&lt;/span&gt;&lt;/span&gt;&lt;/ol&gt;
&lt;ol start="5"&gt;&lt;div style="color: red;"&gt;
&lt;b&gt;&lt;span style="font-family: Thorndale,serif;"&gt;&lt;span style="font-size: small;"&gt;Cần copy nội dung&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;span style="font-family: LucidaSansTypewriter,monospace;"&gt;&lt;span style="font-size: small;"&gt;id_rsa.pub ghi vào file &lt;/span&gt;&lt;/span&gt;&lt;span style="font-family: LucidaSansTypewriter,monospace;"&gt;&lt;span style="font-size: small;"&gt;~/.ssh/authorized_keys&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;span style="font-family: Thorndale,serif;"&gt;&lt;span style="font-size: small;"&gt;Nếu có nhiều key thì copy vào bên dưới file&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;b&gt;&lt;span style="font-family: LucidaSansTypewriter,monospace;"&gt;&lt;span style="font-size: small;"&gt;~/.ssh/authorized_keys&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style="font-family: Thorndale,serif;"&gt;&lt;span style="font-size: small;"&gt;If this file does not
        exists, then the above command will create it. Make sure you remove
        permission for others to read this file. If its a public key, why
        prevent others from reading this file? Probably, the owner of the
        key has distributed it to a few trusted users and has not placed any
        additional security measures to check if its really a trusted user.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;li&gt;Note that &lt;b&gt;&lt;span style="font-family: LucidaSansTypewriter,monospace;"&gt;ssh&lt;/span&gt;&lt;/b&gt;
        by default does not allow root to log in. This has to be explicitly
        enabled on &lt;b&gt;&lt;span style="font-family: LucidaSansTypewriter,monospace;"&gt;host_dest&lt;/span&gt;&lt;/b&gt;.
         This can be done by editing &lt;b&gt;&lt;span style="font-family: LucidaSansTypewriter,monospace;"&gt;/etc/ssh/sshd_config&lt;/span&gt;&lt;/b&gt;
        and changing the option of &lt;b&gt;&lt;span style="font-family: LucidaSansTypewriter,monospace;"&gt;PermitRootLogin&lt;/span&gt;&lt;/b&gt;
        from &lt;b&gt;&lt;span style="font-family: LucidaSansTypewriter,monospace;"&gt;no&lt;/span&gt;&lt;/b&gt;
        to &lt;b&gt;&lt;span style="font-family: LucidaSansTypewriter,monospace;"&gt;yes&lt;/span&gt;&lt;/b&gt;.
         Don't forget to restart &lt;b&gt;sshd&lt;/b&gt; so that it reads the modified config file. Do this &lt;i&gt;&lt;b&gt;only&lt;/b&gt;&lt;/i&gt;&lt;span style="font-style: normal;"&gt;&lt;span&gt;
        if you want to use the root login.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;

&lt;/li&gt;
&lt;/ol&gt;
&lt;span style="font-family: Thorndale,serif;"&gt;Well, thats it. Now you can run &lt;/span&gt;&lt;span style="font-family: LucidaSansTypewriter,monospace;"&gt;scp&lt;/span&gt;&lt;span style="font-family: Thorndale,serif;"&gt;,
&lt;/span&gt;&lt;span style="font-family: LucidaSansTypewriter,monospace;"&gt;ssh &lt;/span&gt;&lt;span style="font-family: Thorndale,serif;"&gt;and
&lt;/span&gt;&lt;span style="font-family: LucidaSansTypewriter,monospace;"&gt;rsync &lt;/span&gt;&lt;span style="font-family: Thorndale,serif;"&gt;on
&lt;/span&gt;&lt;b&gt;&lt;span style="font-family: LucidaSansTypewriter,monospace;"&gt;host_src&lt;/span&gt;&lt;/b&gt;
&lt;span style="font-family: Thorndale,serif;"&gt;connecting to &lt;/span&gt;&lt;b&gt;&lt;span style="font-family: LucidaSansTypewriter,monospace;"&gt;host_dest&lt;/span&gt;&lt;/b&gt;
&lt;span style="font-family: Thorndale,serif;"&gt;and it won't prompt for the password.
Note that this will still prompt for the password if you are running
the commands on &lt;/span&gt;&lt;span style="font-family: LucidaSansTypewriter,monospace;"&gt;host_dest
&lt;/span&gt;&lt;span style="font-family: Thorndale,serif;"&gt;connecting to &lt;/span&gt;&lt;b&gt;&lt;span style="font-family: LucidaSansTypewriter,monospace;"&gt;host_src&lt;/span&gt;&lt;/b&gt;&lt;span style="font-family: Thorndale,serif;"&gt;.
You can reverse the steps above (generate the public key on &lt;/span&gt;&lt;b&gt;&lt;span style="font-family: LucidaSansTypewriter,monospace;"&gt;host_dest&lt;/span&gt;&lt;/b&gt;
&lt;span style="font-family: Thorndale,serif;"&gt;and copy it to &lt;/span&gt;&lt;b&gt;&lt;span style="font-family: LucidaSansTypewriter,monospace;"&gt;host_src&lt;/span&gt;&lt;/b&gt;&lt;span style="font-family: Thorndale,serif;"&gt;)
and you have a two way setup ready!&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4827842540624707460-6984805207227304438?l=kinhnghiem.luyenthianhvan.org' alt='' /&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/kinhnghiemvn/~4/R855Oy1weZQ" height="1" width="1"/&gt;</description><link>http://feedproxy.google.com/~r/kinhnghiemvn/~3/R855Oy1weZQ/how-to-scp-ssh-and-rsync-without.html</link><author>noreply@blogger.com (vitec)</author><thr:total>0</thr:total><feedburner:origLink>http://kinhnghiem.luyenthianhvan.org/2012/01/how-to-scp-ssh-and-rsync-without.html</feedburner:origLink></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-4827842540624707460.post-34874574295179801</guid><pubDate>Wed, 04 Jan 2012 04:20:00 +0000</pubDate><atom:updated>2012-01-03T20:21:00.293-08:00</atom:updated><title>Hướng dẫn install mtop cho centos 32bit</title><description>&lt;b&gt;wget &lt;a href="http://heaveniphone.com/redirect-to/?redirect=http%3A%2F%2Fdag.wieers.com%2Frpm%2Fpackages%2Fmtop%2Fmtop-0.6.6-1.2.el5.rf.noarch.rpm" target="_blank"&gt;http://dag.wieers.com/rpm/packages/m....rf.noarch.rpm&lt;/a&gt;&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
[root@dedi94125 ~]# &lt;b&gt;rpm -ivh mtop-0.6.6-1.2.el5.rf.noarch.rpm&lt;/b&gt;&lt;br /&gt;
warning: mtop-0.6.6-1.2.el5.rf.noarch.rpm: Header V3 DSA signature: NOKEY, key ID 6b8d79e6&lt;br /&gt;
error: Failed dependencies:&lt;br /&gt;
perl(Curses) is needed by mtop-0.6.6-1.2.el5.rf.noarch&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
-- cần phải cài gói perl-Curses-1.28-1.el5.rf.i386.rpm&lt;br /&gt;
[root@dedi94125 ~]# &lt;b&gt;wget &lt;a href="http://heaveniphone.com/redirect-to/?redirect=http%3A%2F%2Fpkgs.repoforge.org%2Fperl-Curses%2Fperl-Curses-1.28-1.el5.rf.i386.rpm" target="_blank"&gt;http://pkgs.repoforge.org/perl-Curse...l5.rf.i386.rpm&lt;/a&gt;&lt;/b&gt;&lt;br /&gt;
[root@dedi94125 ~]# &lt;b&gt;rpm -ivh perl-Curses-1.28-1.el5.rf.i386.rpm&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[root@dedi94125 ~]# mtop --help&lt;br /&gt;
&lt;br /&gt;
mtop ver 0.6.6/20120104&lt;br /&gt;
&lt;br /&gt;
Copyright (C) 2002 Marc Prewitt/Chelsea Networks &lt;mprewitt@chelsea.net&gt;&lt;br /&gt;
mtop comes with ABSOLUTELY NO WARRANTY. This is free software, and you are&lt;br /&gt;
welcome to redistribute it under certain conditions; see the COPYING file &lt;br /&gt;
for details.&lt;br /&gt;
&lt;br /&gt;
Usage: mtop [OPTIONS]&lt;br /&gt;
&lt;br /&gt;
  --version                  Show version number and exit&lt;br /&gt;
  --help                     Show this screen and exit&lt;br /&gt;
  --host={mysql_host}        Connect to the MySQL server on {mysql_host}&lt;br /&gt;
  --dbuser={mysql_user}      Connect to the MySQL server as {mysql_user}&lt;br /&gt;
  --password={mysqluser_pw}  Use {mysqluser_pw} when connecting&lt;br /&gt;
  --seconds={refresh}        Refresh the screen each {refresh} seconds&lt;br /&gt;
  --[no]idle                 Display/don't display idle threads&lt;br /&gt;
  --filter-user={regex}      Filter display based on user regular expression&lt;br /&gt;
  --filter-host={regex}      Filter display based on host regular expression&lt;br /&gt;
  --filter-db={regex}        Filter display based on db regular expression&lt;br /&gt;
  --filter-command={regex}   Filter display based on command regular expression&lt;br /&gt;
  --filter-state={regex}     Filter display based on state regular expression&lt;br /&gt;
  --filter-info={regex}      Filter display based on info regular expression&lt;br /&gt;
  --user={user}              Display threads for only {user}&lt;br /&gt;
  --manualrefresh            Wait for user input between refreshes&lt;br /&gt;
&lt;br /&gt;
All options can be truncated to their shortest unique abbreviation.&lt;br /&gt;
&lt;br /&gt;
See 'man mtop' or 'perldoc mtop' for more information.&lt;br /&gt;
&lt;br /&gt;
[root@dedi94125 ~]# mtop --dbuser=databasname&lt;/mprewitt@chelsea.net&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4827842540624707460-34874574295179801?l=kinhnghiem.luyenthianhvan.org' alt='' /&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/kinhnghiemvn/~4/aNCZ0nenq1E" height="1" width="1"/&gt;</description><link>http://feedproxy.google.com/~r/kinhnghiemvn/~3/aNCZ0nenq1E/huong-dan-install-mtop-cho-centos-32bit.html</link><author>noreply@blogger.com (vitec)</author><thr:total>0</thr:total><feedburner:origLink>http://kinhnghiem.luyenthianhvan.org/2012/01/huong-dan-install-mtop-cho-centos-32bit.html</feedburner:origLink></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-4827842540624707460.post-302366350802499238</guid><pubDate>Thu, 22 Dec 2011 07:52:00 +0000</pubDate><atom:updated>2011-12-21T23:52:39.527-08:00</atom:updated><title>Setup Oracle 11g 11.0.2.1 for Solaris 10 - 64bit</title><description>setup vnc&lt;br /&gt;svccfg -s application/x11/x11-server add display1&lt;br /&gt;svccfg -s application/x11/x11-server:display1 addpg options application&lt;br /&gt;svccfg -s application/x11/x11-server:display1 addpropvalue options/server astring: "/usr/X11/bin/Xvnc"&lt;br /&gt;svccfg -s application/x11/x11-server:display1 addpropvalue options/server_args astring: '"SecurityTypes=None"'&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;vncserver &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;mount iso for Solaris&lt;br /&gt;root@TT4-BCCLML1-S # lofiadm -a /u01/sol-10-u10-ga2-sparc-dvd.iso &lt;br /&gt;/dev/lofi/1&lt;br /&gt;&lt;br /&gt;mkdir /dvd_iso&lt;br /&gt;root@TT4-BCCLML1-S # mount -F hsfs -o ro /dev/lofi/1 /dvd_iso &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;root@TT4-BCCLML1-S # cd /dvd_iso/&lt;br /&gt;&lt;br /&gt;Use umount command to unmount image:&lt;br /&gt;# umount /mnt&lt;br /&gt;&lt;br /&gt;Now remove/free block device:&lt;br /&gt;# lofiadm -d /dev/lofi/1&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;/usr/sbin/prtconf | grep "Memory size"&lt;br /&gt;&lt;br /&gt;/usr/sbin/swap -l&lt;br /&gt;&lt;br /&gt;#check&amp;nbsp; 64bit&lt;br /&gt;/bin/isainfo -kv&lt;br /&gt;&lt;br /&gt;uname -r&lt;br /&gt;&lt;br /&gt;cat /etc/release&lt;br /&gt;&lt;br /&gt;df -k /tmp&lt;br /&gt;&lt;br /&gt;pkginfo -i SUNWarc SUNWbtool SUNWhea SUNWlibC SUNWlibms SUNWsprot \&lt;br /&gt;&amp;nbsp; SUNWtoo SUNWi1of SUNWi1cs SUNWi15cs SUNWxwfnt&lt;br /&gt;&lt;br /&gt;#cai goi&lt;br /&gt;pkgadd -d /dvd_iso/Solaris_10/Product SUNWi1cs SUNWi15cs&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;nếu cài oracle trước đó&lt;br /&gt;more /var/opt/oracle/oraInst.loc&lt;br /&gt;&lt;br /&gt;root@kinhnghiem # more /var/opt/oracle/oraInst.loc&lt;br /&gt;inventory_loc=/u02/app/oraInventory&lt;br /&gt;inst_group=oinstall&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;prtconf | grep Mem&lt;br /&gt;Memory size: 32760 Megabytes&lt;br /&gt;groupadd oinstall&lt;br /&gt;groupadd dba&lt;br /&gt;groupadd oper&lt;br /&gt;&lt;br /&gt;useradd -g oinstall -G dba -d /export/home/oracle oracle&lt;br /&gt;mkdir /export/home/oracle&lt;br /&gt;chown oracle:oinstall /export/home/oracle&lt;br /&gt;passwd -r files oracle&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;$ id -p&lt;br /&gt;uid=59008(oracle) gid=10001(dba) projid=3(default)&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;By default, Oracle 10 will allocate 40% of the total system physical memory to create SGA and PGA. So for 32G system memory, the shmmax for Oracle 10 will be 0.4*32G = 12.8G.&lt;br /&gt;&lt;br /&gt;40% 13105&lt;br /&gt;50% 16442&lt;br /&gt;75% 24536&lt;br /&gt;100% 32764&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;# cat /etc/project&lt;br /&gt;projmod -sK "project.max-shm-memory=(privileged,10G,deny)" oracle&lt;br /&gt;projmod -p 100&amp;nbsp; -c 'lptrung add' -U oracle -G dba&amp;nbsp; -K 'project.max-shm-memory=(privileged,21G,deny)' oracle&lt;br /&gt;&lt;br /&gt;projadd -p 100&amp;nbsp; -c 'lptrung add' -U oracle -G dba&amp;nbsp; -K 'project.max-shm-memory=(privileged,21G,deny)' projoracle&lt;br /&gt;&lt;br /&gt;usermod -K project=projoracle oracle&lt;br /&gt;&lt;br /&gt;projects -l&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;mkdir -p /u01/app/oracle/product/11.2.0.2/db_1&lt;br /&gt;chown -R oracle:oinstall /u01&lt;br /&gt;&lt;br /&gt;vi .profile&lt;br /&gt;&lt;br /&gt;TMP=/tmp; export TMP&lt;br /&gt;TMPDIR=$TMP; export TMPDIR&lt;br /&gt;# Select the appropriate ORACLE_BASE&lt;br /&gt;ORACLE_HOSTNAME=KINHNGHIEM-S; export ORACLE_HOSTNAME&lt;br /&gt;ORACLE_UNQNAME=bcclml; export ORACLE_UNQNAME&lt;br /&gt;ORACLE_BASE=/u01/app/oracle; export ORACLE_BASE&lt;br /&gt;ORACLE_HOME=$ORACLE_BASE/product/11.2.0.2/db_1; export ORACLE_HOME&lt;br /&gt;ORACLE_SID=bcclml; export ORACLE_SID&lt;br /&gt;PATH=$ORACLE_HOME/bin:$PATH; export PATH&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;solaris&lt;br /&gt;the following command displays a summary of I/O activity ten times, at ten-second intervals: &lt;br /&gt;sar -b 10 10&lt;br /&gt;&lt;br /&gt;update 11.2.0.2 &lt;br /&gt;Fix error tcp_largest_anon_port .... &lt;br /&gt;&lt;br /&gt;bash-3.00# ndd -set /dev/tcp tcp_largest_anon_port 65535&lt;br /&gt;bash-3.00# ndd -set /dev/udp udp_smallest_anon_port 9000&lt;br /&gt;bash-3.00# ndd -set /dev/udp udp_largest_anon_port 65500&lt;br /&gt;bash-3.00# ndd -set /dev/tcp tcp_smallest_anon_port 9000&lt;br /&gt;bash-3.00# ndd -set /dev/tcp tcp_largest_anon_port 65500&lt;br /&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4827842540624707460-302366350802499238?l=kinhnghiem.luyenthianhvan.org' alt='' /&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/kinhnghiemvn/~4/JEq5VQS7fOs" height="1" width="1"/&gt;</description><link>http://feedproxy.google.com/~r/kinhnghiemvn/~3/JEq5VQS7fOs/setup-oracle-11g-11021-for-solaris-10.html</link><author>noreply@blogger.com (vitec)</author><thr:total>0</thr:total><feedburner:origLink>http://kinhnghiem.luyenthianhvan.org/2011/12/setup-oracle-11g-11021-for-solaris-10.html</feedburner:origLink></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-4827842540624707460.post-8045403189647487092</guid><pubDate>Wed, 21 Dec 2011 04:07:00 +0000</pubDate><atom:updated>2011-12-25T22:51:15.471-08:00</atom:updated><title>Map san xuống server solaris sử dụng UFS</title><description>&lt;span style="color: blue;"&gt;-- Kiểm tra ổ dĩa hiện tại&lt;/span&gt;&lt;br /&gt;
root@c4is-standby-s # &lt;b&gt;echo |format&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
AVAILABLE DISK SELECTIONS:&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0. c1t0d0 &lt;sun72g 14087="" 24="" 2="" 424="" alt="" cyl="" hd="" sec=""&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; /pci@1f,700000/scsi@2/sd@0,0&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1. c1t1d0 &lt;sun72g 14087="" 24="" 2="" 424="" alt="" cyl="" hd="" sec=""&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; /pci@1f,700000/scsi@2/sd@1,0&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2. c1t2d0 &lt;sun72g 14087="" 24="" 2="" 424="" alt="" cyl="" hd="" sec=""&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; /pci@1f,700000/scsi@2/sd@2,0&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 3. c1t3d0 &lt;sun72g 14087="" 24="" 2="" 424="" alt="" cyl="" hd="" sec=""&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; /pci@1f,700000/scsi@2/sd@3,0&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 4. c5t600A0B8000330D0A0000054748BF696Bd0 &lt;stk-flexline380-0660 2="" 512="" 60798="" 64="" alt="" cyl="" hd="" sec=""&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; /scsi_vhci/ssd@g600a0b8000330d0a0000054748bf696b&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 5. c5t600A0B80004700CE0000057348BF6846d0 &lt;stk-flexline380-0660 2="" 512="" 60798="" 64="" alt="" cyl="" hd="" sec=""&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; /scsi_vhci/ssd@g600a0b80004700ce0000057348bf6846&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 6. c5t600A0B80004700CE0000057748BF6AD0d0 &lt;stk-flexline380-0660 2="" 51198="" 64="" alt="" cyl="" hd="" sec=""&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; /scsi_vhci/ssd@g600a0b80004700ce0000057748bf6ad0&lt;br /&gt;Specify disk (enter its number): Specify disk (enter its number): &lt;br /&gt;&lt;br /&gt;&lt;span style="color: blue;"&gt;-- Vào SAN tạo volumn sau đó map xuống host &lt;/span&gt;&lt;br style="color: blue;" /&gt;&lt;span style="color: blue;"&gt;--Sau khi map xuống xong kiểm tra ổ đĩa mới&amp;nbsp; &lt;/span&gt;&lt;br /&gt;&lt;br /&gt;root@c4is-standby-s # &lt;b&gt;echo |format&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;AVAILABLE DISK SELECTIONS:&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0. c1t0d0 &lt;sun72g 14087="" 24="" 2="" 424="" alt="" cyl="" hd="" sec=""&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; /pci@1f,700000/scsi@2/sd@0,0&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1. c1t1d0 &lt;sun72g 14087="" 24="" 2="" 424="" alt="" cyl="" hd="" sec=""&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; /pci@1f,700000/scsi@2/sd@1,0&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2. c1t2d0 &lt;sun72g 14087="" 24="" 2="" 424="" alt="" cyl="" hd="" sec=""&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; /pci@1f,700000/scsi@2/sd@2,0&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 3. c1t3d0 &lt;sun72g 14087="" 24="" 2="" 424="" alt="" cyl="" hd="" sec=""&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; /pci@1f,700000/scsi@2/sd@3,0&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 4. c5t600A0B8000330D0A0000054748BF696Bd0 &lt;stk-flexline380-0660 2="" 512="" 60798="" 64="" alt="" cyl="" hd="" sec=""&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; /scsi_vhci/ssd@g600a0b8000330d0a0000054748bf696b&lt;br /&gt;&lt;b&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 5. c5t600A0B80004700CE00001D8C4EF0CD9Cd0 &lt;stk&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0660="" 380&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;="" 80000000="" flexline=""&gt;&lt;/stk&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&gt;&lt;/b&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; /scsi_vhci/ssd@g600a0b80004700ce00001d8c4ef0cd9c&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 6. c5t600A0B80004700CE0000057348BF6846d0 &lt;stk-flexline380-0660 2="" 512="" 60798="" 64="" alt="" cyl="" hd="" sec=""&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; /scsi_vhci/ssd@g600a0b80004700ce0000057348bf6846&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 7. c5t600A0B80004700CE0000057748BF6AD0d0 &lt;stk-flexline380-0660 2="" 51198="" 64="" alt="" cyl="" hd="" sec=""&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; /scsi_vhci/ssd@g600a0b80004700ce0000057748bf6ad0&lt;br /&gt;Specify disk (enter its number): Specify disk (enter its number): &lt;br /&gt;&lt;br /&gt;&lt;span style="color: blue;"&gt;-- Ổ đĩa hiện tại đc map xuống là &lt;/span&gt;&lt;br style="color: blue;" /&gt;&lt;span style="color: blue;"&gt;&amp;nbsp;5. c5t600A0B80004700CE00001D8C4EF0CD9Cd0 &lt;stk&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0660="" 380&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;="" 80000000="" flexline=""&gt;&lt;/stk&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&gt;&lt;/span&gt;&lt;br style="color: blue;" /&gt;&lt;br style="color: blue;" /&gt;&lt;br style="color: blue;" /&gt;&lt;span style="color: blue;"&gt;-- Xác định lại silde của partition cần format để chọn&amp;nbsp; newfs&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;root@c4is-standby-s # &lt;b&gt;format&lt;/b&gt;&lt;br /&gt;Searching for disks...done&lt;br /&gt;&lt;br /&gt;c5t600A0B80004700CE00001D8C4EF0CD9Cd0: configured with capacity of 1024.00GB&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;AVAILABLE DISK SELECTIONS:&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0. c1t0d0 &lt;sun72g 14087="" 24="" 2="" 424="" alt="" cyl="" hd="" sec=""&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; /pci@1f,700000/scsi@2/sd@0,0&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1. c1t1d0 &lt;sun72g 14087="" 24="" 2="" 424="" alt="" cyl="" hd="" sec=""&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; /pci@1f,700000/scsi@2/sd@1,0&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2. c1t2d0 &lt;sun72g 14087="" 24="" 2="" 424="" alt="" cyl="" hd="" sec=""&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; /pci@1f,700000/scsi@2/sd@2,0&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 3. c1t3d0 &lt;sun72g 14087="" 24="" 2="" 424="" alt="" cyl="" hd="" sec=""&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; /pci@1f,700000/scsi@2/sd@3,0&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 4. c5t600A0B8000330D0A0000054748BF696Bd0 &lt;stk-flexline380-0660 2="" 512="" 60798="" 64="" alt="" cyl="" hd="" sec=""&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; /scsi_vhci/ssd@g600a0b8000330d0a0000054748bf696b&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 5. c5t600A0B80004700CE00001D8C4EF0CD9Cd0 &lt;stk&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0660="" 380&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;="" 80000000="" flexline=""&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; /scsi_vhci/ssd@g600a0b80004700ce00001d8c4ef0cd9c&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 6. c5t600A0B80004700CE0000057348BF6846d0 &lt;stk-flexline380-0660 2="" 512="" 60798="" 64="" alt="" cyl="" hd="" sec=""&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; /scsi_vhci/ssd@g600a0b80004700ce0000057348bf6846&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 7. c5t600A0B80004700CE0000057748BF6AD0d0 &lt;stk-flexline380-0660 2="" 51198="" 64="" alt="" cyl="" hd="" sec=""&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; /scsi_vhci/ssd@g600a0b80004700ce0000057748bf6ad0&lt;br /&gt;&lt;br /&gt;&lt;span style="color: blue;"&gt;--- chọn ổ đĩa mới thứ 5 mới gắn vào&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Specify disk (enter its number): &lt;b style="color: red;"&gt;5&lt;/b&gt; &lt;br /&gt;selecting c5t600A0B80004700CE00001D8C4EF0CD9Cd0&lt;br /&gt;[disk formatted]&lt;br /&gt;Disk not labeled.&amp;nbsp; Label it now? &lt;b&gt;yes &lt;/b&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;FORMAT MENU:&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; disk&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; - select a disk&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; type&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; - select (define) a disk type&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; partition&amp;nbsp; - select (define) a partition table&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; current&amp;nbsp;&amp;nbsp;&amp;nbsp; - describe the current disk&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; format&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; - format and analyze the disk&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; repair&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; - repair a defective sector&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; label&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; - write label to the disk&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; analyze&amp;nbsp;&amp;nbsp;&amp;nbsp; - surface analysis&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; defect&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; - defect list management&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; backup&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; - search for backup labels&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; verify&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; - read and display labels&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; inquiry&amp;nbsp;&amp;nbsp;&amp;nbsp; - show vendor, product and revision&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; volname&amp;nbsp;&amp;nbsp;&amp;nbsp; - set 8-character volume name&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; !&lt;cmd&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; - execute &lt;cmd&gt;, then return&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; quit&lt;br /&gt;format&amp;gt; &lt;b&gt;p&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;PARTITION MENU:&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; - change `0' partition&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; - change `1' partition&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; - change `2' partition&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 3&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; - change `3' partition&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 4&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; - change `4' partition&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 5&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; - change `5' partition&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 6&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; - change `6' partition&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; select - select a predefined table&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; modify - modify a predefined partition table&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; name&amp;nbsp;&amp;nbsp; - name the current table&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; print&amp;nbsp; - display the current table&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; label&amp;nbsp; - write partition map and label to the disk&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; !&lt;cmd&gt; - execute &lt;cmd&gt;, then return&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; quit&lt;br /&gt;partition&amp;gt;&lt;b&gt; p&lt;/b&gt;&lt;br /&gt;Current partition table (original):&lt;br /&gt;Total disk sectors available: 2147467230 + 16384 (reserved sectors)&lt;br /&gt;&lt;br /&gt;Part&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Tag&amp;nbsp;&amp;nbsp;&amp;nbsp; Flag&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; First Sector&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Size&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Last Sector&lt;br /&gt;&amp;nbsp; 0&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; root&amp;nbsp;&amp;nbsp;&amp;nbsp; wm&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 34&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 128.00MB&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 262177&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br /&gt;&amp;nbsp; 1&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; swap&amp;nbsp;&amp;nbsp;&amp;nbsp; wu&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 262178&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 128.00MB&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 524321&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br /&gt;&amp;nbsp; 2 unassigned&amp;nbsp;&amp;nbsp;&amp;nbsp; wu&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br /&gt;&amp;nbsp; 3 unassigned&amp;nbsp;&amp;nbsp;&amp;nbsp; wm&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br /&gt;&amp;nbsp; 4 unassigned&amp;nbsp;&amp;nbsp;&amp;nbsp; wm&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br /&gt;&amp;nbsp; 5 unassigned&amp;nbsp;&amp;nbsp;&amp;nbsp; wm&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br /&gt;&amp;nbsp;&lt;b&gt; 6&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; usr&amp;nbsp;&amp;nbsp;&amp;nbsp; wm&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 524322&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1023.74GB&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2147467229&amp;nbsp;&amp;nbsp;&lt;/b&gt;&amp;nbsp; &lt;br /&gt;&amp;nbsp; 8&amp;nbsp;&amp;nbsp; reserved&amp;nbsp;&amp;nbsp;&amp;nbsp; wm&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2147467230&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 8.00MB&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2147483613&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br /&gt;&lt;br /&gt;partition&amp;gt; q&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;&lt;span style="color: blue;"&gt;==&amp;gt; chú ý thấy vị trí thứ 6 dung lượng là 1G&amp;nbsp; =&amp;gt; chính là s6&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;&amp;nbsp;&lt;/cmd&gt;&lt;/cmd&gt;&lt;/cmd&gt;&lt;/cmd&gt;&lt;/stk-flexline380-0660&gt;&lt;/stk-flexline380-0660&gt;&lt;/stk&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&gt;&lt;/stk-flexline380-0660&gt;&lt;/sun72g&gt;&lt;/sun72g&gt;&lt;/sun72g&gt;&lt;/sun72g&gt;&lt;/stk-flexline380-0660&gt;&lt;/stk-flexline380-0660&gt;&lt;/stk-flexline380-0660&gt;&lt;/sun72g&gt;&lt;/sun72g&gt;&lt;/sun72g&gt;&lt;/sun72g&gt;&lt;/stk-flexline380-0660&gt;&lt;/stk-flexline380-0660&gt;&lt;/stk-flexline380-0660&gt;&lt;/sun72g&gt;&lt;/sun72g&gt;&lt;/sun72g&gt;&lt;/sun72g&gt;&lt;br /&gt;
&lt;sun72g 14087="" 24="" 2="" 424="" alt="" cyl="" hd="" sec=""&gt;&lt;sun72g 14087="" 24="" 2="" 424="" alt="" cyl="" hd="" sec=""&gt;&lt;sun72g 14087="" 24="" 2="" 424="" alt="" cyl="" hd="" sec=""&gt;&lt;sun72g 14087="" 24="" 2="" 424="" alt="" cyl="" hd="" sec=""&gt;&lt;stk-flexline380-0660 2="" 512="" 60798="" 64="" alt="" cyl="" hd="" sec=""&gt;&lt;stk-flexline380-0660 2="" 512="" 60798="" 64="" alt="" cyl="" hd="" sec=""&gt;&lt;stk-flexline380-0660 2="" 51198="" 64="" alt="" cyl="" hd="" sec=""&gt;&lt;sun72g 14087="" 24="" 2="" 424="" alt="" cyl="" hd="" sec=""&gt;&lt;sun72g 14087="" 24="" 2="" 424="" alt="" cyl="" hd="" sec=""&gt;&lt;sun72g 14087="" 24="" 2="" 424="" alt="" cyl="" hd="" sec=""&gt;&lt;sun72g 14087="" 24="" 2="" 424="" alt="" cyl="" hd="" sec=""&gt;&lt;stk-flexline380-0660 2="" 512="" 60798="" 64="" alt="" cyl="" hd="" sec=""&gt;&lt;stk-flexline380-0660 2="" 512="" 60798="" 64="" alt="" cyl="" hd="" sec=""&gt;&lt;stk-flexline380-0660 2="" 51198="" 64="" alt="" cyl="" hd="" sec=""&gt;&lt;sun72g 14087="" 24="" 2="" 424="" alt="" cyl="" hd="" sec=""&gt;&lt;sun72g 14087="" 24="" 2="" 424="" alt="" cyl="" hd="" sec=""&gt;&lt;sun72g 14087="" 24="" 2="" 424="" alt="" cyl="" hd="" sec=""&gt;&lt;sun72g 14087="" 24="" 2="" 424="" alt="" cyl="" hd="" sec=""&gt;&lt;stk-flexline380-0660 2="" 512="" 60798="" 64="" alt="" cyl="" hd="" sec=""&gt;&lt;stk&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0660="" 380&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;="" 80000000="" flexline=""&gt;&lt;stk-flexline380-0660 2="" 512="" 60798="" 64="" alt="" cyl="" hd="" sec=""&gt;&lt;stk-flexline380-0660 2="" 51198="" 64="" alt="" cyl="" hd="" sec=""&gt;&lt;cmd&gt;&lt;cmd&gt;&lt;cmd&gt;&lt;cmd&gt;Tạo newfs&lt;/cmd&gt;&lt;/cmd&gt;&lt;/cmd&gt;&lt;/cmd&gt;&lt;/stk-flexline380-0660&gt;&lt;/stk-flexline380-0660&gt;&lt;/stk&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&gt;&lt;/stk-flexline380-0660&gt;&lt;/sun72g&gt;&lt;/sun72g&gt;&lt;/sun72g&gt;&lt;/sun72g&gt;&lt;/stk-flexline380-0660&gt;&lt;/stk-flexline380-0660&gt;&lt;/stk-flexline380-0660&gt;&lt;/sun72g&gt;&lt;/sun72g&gt;&lt;/sun72g&gt;&lt;/sun72g&gt;&lt;/stk-flexline380-0660&gt;&lt;/stk-flexline380-0660&gt;&lt;/stk-flexline380-0660&gt;&lt;/sun72g&gt;&lt;/sun72g&gt;&lt;/sun72g&gt;&lt;/sun72g&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;&lt;sun72g 14087="" 24="" 2="" 424="" alt="" cyl="" hd="" sec=""&gt;&lt;sun72g 14087="" 24="" 2="" 424="" alt="" cyl="" hd="" sec=""&gt;&lt;sun72g 14087="" 24="" 2="" 424="" alt="" cyl="" hd="" sec=""&gt;&lt;sun72g 14087="" 24="" 2="" 424="" alt="" cyl="" hd="" sec=""&gt;&lt;stk-flexline380-0660 2="" 512="" 60798="" 64="" alt="" cyl="" hd="" sec=""&gt;&lt;stk-flexline380-0660 2="" 512="" 60798="" 64="" alt="" cyl="" hd="" sec=""&gt;&lt;stk-flexline380-0660 2="" 51198="" 64="" alt="" cyl="" hd="" sec=""&gt;&lt;sun72g 14087="" 24="" 2="" 424="" alt="" cyl="" hd="" sec=""&gt;&lt;sun72g 14087="" 24="" 2="" 424="" alt="" cyl="" hd="" sec=""&gt;&lt;sun72g 14087="" 24="" 2="" 424="" alt="" cyl="" hd="" sec=""&gt;&lt;sun72g 14087="" 24="" 2="" 424="" alt="" cyl="" hd="" sec=""&gt;&lt;stk-flexline380-0660 2="" 512="" 60798="" 64="" alt="" cyl="" hd="" sec=""&gt;&lt;stk-flexline380-0660 2="" 512="" 60798="" 64="" alt="" cyl="" hd="" sec=""&gt;&lt;stk-flexline380-0660 2="" 51198="" 64="" alt="" cyl="" hd="" sec=""&gt;&lt;sun72g 14087="" 24="" 2="" 424="" alt="" cyl="" hd="" sec=""&gt;&lt;sun72g 14087="" 24="" 2="" 424="" alt="" cyl="" hd="" sec=""&gt;&lt;sun72g 14087="" 24="" 2="" 424="" alt="" cyl="" hd="" sec=""&gt;&lt;sun72g 14087="" 24="" 2="" 424="" alt="" cyl="" hd="" sec=""&gt;&lt;stk-flexline380-0660 2="" 512="" 60798="" 64="" alt="" cyl="" hd="" sec=""&gt;&lt;stk&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0660="" 380&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;="" 80000000="" flexline=""&gt;&lt;stk-flexline380-0660 2="" 512="" 60798="" 64="" alt="" cyl="" hd="" sec=""&gt;&lt;stk-flexline380-0660 2="" 51198="" 64="" alt="" cyl="" hd="" sec=""&gt;&lt;cmd&gt;&lt;cmd&gt;&lt;cmd&gt;&lt;cmd&gt;newfs /dev/&lt;span style="color: red;"&gt;rdsk&lt;/span&gt;/&lt;/cmd&gt;&lt;/cmd&gt;&lt;/cmd&gt;&lt;/cmd&gt;&lt;/stk-flexline380-0660&gt;&lt;/stk-flexline380-0660&gt;&lt;/stk&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&gt;&lt;/stk-flexline380-0660&gt;&lt;/sun72g&gt;&lt;/sun72g&gt;&lt;/sun72g&gt;&lt;/sun72g&gt;&lt;/stk-flexline380-0660&gt;&lt;/stk-flexline380-0660&gt;&lt;/stk-flexline380-0660&gt;&lt;/sun72g&gt;&lt;/sun72g&gt;&lt;/sun72g&gt;&lt;/sun72g&gt;&lt;/stk-flexline380-0660&gt;&lt;/stk-flexline380-0660&gt;&lt;/stk-flexline380-0660&gt;&lt;/sun72g&gt;&lt;/sun72g&gt;&lt;/sun72g&gt;&lt;/sun72g&gt;&lt;/b&gt;&lt;b&gt;c5t600A0B80004700CE00001D8C4EF0CD9Cd0s6&lt;/b&gt;&lt;sun72g 14087="" 24="" 2="" 424="" alt="" cyl="" hd="" sec=""&gt;&lt;sun72g 14087="" 24="" 2="" 424="" alt="" cyl="" hd="" sec=""&gt;&lt;sun72g 14087="" 24="" 2="" 424="" alt="" cyl="" hd="" sec=""&gt;&lt;sun72g 14087="" 24="" 2="" 424="" alt="" cyl="" hd="" sec=""&gt;&lt;stk-flexline380-0660 2="" 512="" 60798="" 64="" alt="" cyl="" hd="" sec=""&gt;&lt;stk-flexline380-0660 2="" 512="" 60798="" 64="" alt="" cyl="" hd="" sec=""&gt;&lt;stk-flexline380-0660 2="" 51198="" 64="" alt="" cyl="" hd="" sec=""&gt;&lt;sun72g 14087="" 24="" 2="" 424="" alt="" cyl="" hd="" sec=""&gt;&lt;sun72g 14087="" 24="" 2="" 424="" alt="" cyl="" hd="" sec=""&gt;&lt;sun72g 14087="" 24="" 2="" 424="" alt="" cyl="" hd="" sec=""&gt;&lt;sun72g 14087="" 24="" 2="" 424="" alt="" cyl="" hd="" sec=""&gt;&lt;stk-flexline380-0660 2="" 512="" 60798="" 64="" alt="" cyl="" hd="" sec=""&gt;&lt;stk-flexline380-0660 2="" 512="" 60798="" 64="" alt="" cyl="" hd="" sec=""&gt;&lt;stk-flexline380-0660 2="" 51198="" 64="" alt="" cyl="" hd="" sec=""&gt;&lt;sun72g 14087="" 24="" 2="" 424="" alt="" cyl="" hd="" sec=""&gt;&lt;sun72g 14087="" 24="" 2="" 424="" alt="" cyl="" hd="" sec=""&gt;&lt;sun72g 14087="" 24="" 2="" 424="" alt="" cyl="" hd="" sec=""&gt;&lt;sun72g 14087="" 24="" 2="" 424="" alt="" cyl="" hd="" sec=""&gt;&lt;stk-flexline380-0660 2="" 512="" 60798="" 64="" alt="" cyl="" hd="" sec=""&gt;&lt;stk&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0660="" 380&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;="" 80000000="" flexline=""&gt;&lt;stk-flexline380-0660 2="" 512="" 60798="" 64="" alt="" cyl="" hd="" sec=""&gt;&lt;stk-flexline380-0660 2="" 51198="" 64="" alt="" cyl="" hd="" sec=""&gt;&lt;cmd&gt;&lt;cmd&gt;&lt;cmd&gt;&lt;cmd&gt;&lt;br /&gt;&amp;nbsp;&lt;/cmd&gt;&lt;/cmd&gt;&lt;/cmd&gt;&lt;/cmd&gt;&lt;/stk-flexline380-0660&gt;&lt;/stk-flexline380-0660&gt;&lt;/stk&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&gt;&lt;/stk-flexline380-0660&gt;&lt;/sun72g&gt;&lt;/sun72g&gt;&lt;/sun72g&gt;&lt;/sun72g&gt;&lt;/stk-flexline380-0660&gt;&lt;/stk-flexline380-0660&gt;&lt;/stk-flexline380-0660&gt;&lt;/sun72g&gt;&lt;/sun72g&gt;&lt;/sun72g&gt;&lt;/sun72g&gt;&lt;/stk-flexline380-0660&gt;&lt;/stk-flexline380-0660&gt;&lt;/stk-flexline380-0660&gt;&lt;/sun72g&gt;&lt;/sun72g&gt;&lt;/sun72g&gt;&lt;/sun72g&gt;&lt;br /&gt;
&lt;sun72g 14087="" 24="" 2="" 424="" alt="" cyl="" hd="" sec=""&gt;&lt;sun72g 14087="" 24="" 2="" 424="" alt="" cyl="" hd="" sec=""&gt;&lt;sun72g 14087="" 24="" 2="" 424="" alt="" cyl="" hd="" sec=""&gt;&lt;sun72g 14087="" 24="" 2="" 424="" alt="" cyl="" hd="" sec=""&gt;&lt;stk-flexline380-0660 2="" 512="" 60798="" 64="" alt="" cyl="" hd="" sec=""&gt;&lt;stk-flexline380-0660 2="" 512="" 60798="" 64="" alt="" cyl="" hd="" sec=""&gt;&lt;stk-flexline380-0660 2="" 51198="" 64="" alt="" cyl="" hd="" sec=""&gt;&lt;sun72g 14087="" 24="" 2="" 424="" alt="" cyl="" hd="" sec=""&gt;&lt;sun72g 14087="" 24="" 2="" 424="" alt="" cyl="" hd="" sec=""&gt;&lt;sun72g 14087="" 24="" 2="" 424="" alt="" cyl="" hd="" sec=""&gt;&lt;sun72g 14087="" 24="" 2="" 424="" alt="" cyl="" hd="" sec=""&gt;&lt;stk-flexline380-0660 2="" 512="" 60798="" 64="" alt="" cyl="" hd="" sec=""&gt;&lt;stk-flexline380-0660 2="" 512="" 60798="" 64="" alt="" cyl="" hd="" sec=""&gt;&lt;stk-flexline380-0660 2="" 51198="" 64="" alt="" cyl="" hd="" sec=""&gt;&lt;sun72g 14087="" 24="" 2="" 424="" alt="" cyl="" hd="" sec=""&gt;&lt;sun72g 14087="" 24="" 2="" 424="" alt="" cyl="" hd="" sec=""&gt;&lt;sun72g 14087="" 24="" 2="" 424="" alt="" cyl="" hd="" sec=""&gt;&lt;sun72g 14087="" 24="" 2="" 424="" alt="" cyl="" hd="" sec=""&gt;&lt;stk-flexline380-0660 2="" 512="" 60798="" 64="" alt="" cyl="" hd="" sec=""&gt;&lt;stk&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0660="" 380&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;="" 80000000="" flexline=""&gt;&lt;stk-flexline380-0660 2="" 512="" 60798="" 64="" alt="" cyl="" hd="" sec=""&gt;&lt;stk-flexline380-0660 2="" 51198="" 64="" alt="" cyl="" hd="" sec=""&gt;&lt;cmd&gt;&lt;cmd&gt;&lt;cmd&gt;&lt;cmd&gt;&lt;br /&gt;-- Tạo một thư mục tên u04, sao đó mount vào&lt;br /&gt;&lt;b&gt;mount -F ufs /dev/&lt;span style="color: red;"&gt;dsk&lt;/span&gt;/c5t600A0B80004700CE00001D8C4EF0CD9Cd0s6 /u04&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Chú ý: thay thế rdsk bằng dsk&lt;/b&gt;&lt;/cmd&gt;&lt;/cmd&gt;&lt;/cmd&gt;&lt;/cmd&gt;&lt;/stk-flexline380-0660&gt;&lt;/stk-flexline380-0660&gt;&lt;/stk&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&gt;&lt;/stk-flexline380-0660&gt;&lt;/sun72g&gt;&lt;/sun72g&gt;&lt;/sun72g&gt;&lt;/sun72g&gt;&lt;/stk-flexline380-0660&gt;&lt;/stk-flexline380-0660&gt;&lt;/stk-flexline380-0660&gt;&lt;/sun72g&gt;&lt;/sun72g&gt;&lt;/sun72g&gt;&lt;/sun72g&gt;&lt;/stk-flexline380-0660&gt;&lt;/stk-flexline380-0660&gt;&lt;/stk-flexline380-0660&gt;&lt;/sun72g&gt;&lt;/sun72g&gt;&lt;/sun72g&gt;&lt;/sun72g&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;sun72g 14087="" 24="" 2="" 424="" alt="" cyl="" hd="" sec=""&gt;&lt;sun72g 14087="" 24="" 2="" 424="" alt="" cyl="" hd="" sec=""&gt;&lt;sun72g 14087="" 24="" 2="" 424="" alt="" cyl="" hd="" sec=""&gt;&lt;sun72g 14087="" 24="" 2="" 424="" alt="" cyl="" hd="" sec=""&gt;&lt;stk-flexline380-0660 2="" 512="" 60798="" 64="" alt="" cyl="" hd="" sec=""&gt;&lt;stk-flexline380-0660 2="" 512="" 60798="" 64="" alt="" cyl="" hd="" sec=""&gt;&lt;stk-flexline380-0660 2="" 51198="" 64="" alt="" cyl="" hd="" sec=""&gt;&lt;sun72g 14087="" 24="" 2="" 424="" alt="" cyl="" hd="" sec=""&gt;&lt;sun72g 14087="" 24="" 2="" 424="" alt="" cyl="" hd="" sec=""&gt;&lt;sun72g 14087="" 24="" 2="" 424="" alt="" cyl="" hd="" sec=""&gt;&lt;sun72g 14087="" 24="" 2="" 424="" alt="" cyl="" hd="" sec=""&gt;&lt;stk-flexline380-0660 2="" 512="" 60798="" 64="" alt="" cyl="" hd="" sec=""&gt;&lt;stk-flexline380-0660 2="" 512="" 60798="" 64="" alt="" cyl="" hd="" sec=""&gt;&lt;stk-flexline380-0660 2="" 51198="" 64="" alt="" cyl="" hd="" sec=""&gt;&lt;sun72g 14087="" 24="" 2="" 424="" alt="" cyl="" hd="" sec=""&gt;&lt;sun72g 14087="" 24="" 2="" 424="" alt="" cyl="" hd="" sec=""&gt;&lt;sun72g 14087="" 24="" 2="" 424="" alt="" cyl="" hd="" sec=""&gt;&lt;sun72g 14087="" 24="" 2="" 424="" alt="" cyl="" hd="" sec=""&gt;&lt;stk-flexline380-0660 2="" 512="" 60798="" 64="" alt="" cyl="" hd="" sec=""&gt;&lt;stk&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0660="" 380&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;="" 80000000="" flexline=""&gt;&lt;stk-flexline380-0660 2="" 512="" 60798="" 64="" alt="" cyl="" hd="" sec=""&gt;&lt;stk-flexline380-0660 2="" 51198="" 64="" alt="" cyl="" hd="" sec=""&gt;&lt;cmd&gt;&lt;cmd&gt;&lt;cmd&gt;&lt;cmd&gt;&lt;b&gt;=====================&lt;/b&gt;&lt;/cmd&gt;&lt;/cmd&gt;&lt;/cmd&gt;&lt;/cmd&gt;&lt;/stk-flexline380-0660&gt;&lt;/stk-flexline380-0660&gt;&lt;/stk&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&gt;&lt;/stk-flexline380-0660&gt;&lt;/sun72g&gt;&lt;/sun72g&gt;&lt;/sun72g&gt;&lt;/sun72g&gt;&lt;/stk-flexline380-0660&gt;&lt;/stk-flexline380-0660&gt;&lt;/stk-flexline380-0660&gt;&lt;/sun72g&gt;&lt;/sun72g&gt;&lt;/sun72g&gt;&lt;/sun72g&gt;&lt;/stk-flexline380-0660&gt;&lt;/stk-flexline380-0660&gt;&lt;/stk-flexline380-0660&gt;&lt;/sun72g&gt;&lt;/sun72g&gt;&lt;/sun72g&gt;&lt;/sun72g&gt;&lt;br /&gt;
&lt;sun72g 14087="" 24="" 2="" 424="" alt="" cyl="" hd="" sec=""&gt;&lt;sun72g 14087="" 24="" 2="" 424="" alt="" cyl="" hd="" sec=""&gt;&lt;sun72g 14087="" 24="" 2="" 424="" alt="" cyl="" hd="" sec=""&gt;&lt;sun72g 14087="" 24="" 2="" 424="" alt="" cyl="" hd="" sec=""&gt;&lt;stk-flexline380-0660 2="" 512="" 60798="" 64="" alt="" cyl="" hd="" sec=""&gt;&lt;stk-flexline380-0660 2="" 512="" 60798="" 64="" alt="" cyl="" hd="" sec=""&gt;&lt;stk-flexline380-0660 2="" 51198="" 64="" alt="" cyl="" hd="" sec=""&gt;&lt;sun72g 14087="" 24="" 2="" 424="" alt="" cyl="" hd="" sec=""&gt;&lt;sun72g 14087="" 24="" 2="" 424="" alt="" cyl="" hd="" sec=""&gt;&lt;sun72g 14087="" 24="" 2="" 424="" alt="" cyl="" hd="" sec=""&gt;&lt;sun72g 14087="" 24="" 2="" 424="" alt="" cyl="" hd="" sec=""&gt;&lt;stk-flexline380-0660 2="" 512="" 60798="" 64="" alt="" cyl="" hd="" sec=""&gt;&lt;stk-flexline380-0660 2="" 512="" 60798="" 64="" alt="" cyl="" hd="" sec=""&gt;&lt;stk-flexline380-0660 2="" 51198="" 64="" alt="" cyl="" hd="" sec=""&gt;&lt;sun72g 14087="" 24="" 2="" 424="" alt="" cyl="" hd="" sec=""&gt;&lt;sun72g 14087="" 24="" 2="" 424="" alt="" cyl="" hd="" sec=""&gt;&lt;sun72g 14087="" 24="" 2="" 424="" alt="" cyl="" hd="" sec=""&gt;&lt;sun72g 14087="" 24="" 2="" 424="" alt="" cyl="" hd="" sec=""&gt;&lt;stk-flexline380-0660 2="" 512="" 60798="" 64="" alt="" cyl="" hd="" sec=""&gt;&lt;stk&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0660="" 380&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;="" 80000000="" flexline=""&gt;&lt;stk-flexline380-0660 2="" 512="" 60798="" 64="" alt="" cyl="" hd="" sec=""&gt;&lt;stk-flexline380-0660 2="" 51198="" 64="" alt="" cyl="" hd="" sec=""&gt;&lt;cmd&gt;&lt;cmd&gt;&lt;cmd&gt;&lt;cmd&gt;&lt;b&gt;Lệnh để clean cache device&amp;nbsp;&lt;/b&gt;&lt;/cmd&gt;&lt;/cmd&gt;&lt;/cmd&gt;&lt;/cmd&gt;&lt;/stk-flexline380-0660&gt;&lt;/stk-flexline380-0660&gt;&lt;/stk&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&gt;&lt;/stk-flexline380-0660&gt;&lt;/sun72g&gt;&lt;/sun72g&gt;&lt;/sun72g&gt;&lt;/sun72g&gt;&lt;/stk-flexline380-0660&gt;&lt;/stk-flexline380-0660&gt;&lt;/stk-flexline380-0660&gt;&lt;/sun72g&gt;&lt;/sun72g&gt;&lt;/sun72g&gt;&lt;/sun72g&gt;&lt;/stk-flexline380-0660&gt;&lt;/stk-flexline380-0660&gt;&lt;/stk-flexline380-0660&gt;&lt;/sun72g&gt;&lt;/sun72g&gt;&lt;/sun72g&gt;&lt;/sun72g&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;sun72g 14087="" 24="" 2="" 424="" alt="" cyl="" hd="" sec=""&gt;&lt;sun72g 14087="" 24="" 2="" 424="" alt="" cyl="" hd="" sec=""&gt;&lt;sun72g 14087="" 24="" 2="" 424="" alt="" cyl="" hd="" sec=""&gt;&lt;sun72g 14087="" 24="" 2="" 424="" alt="" cyl="" hd="" sec=""&gt;&lt;stk-flexline380-0660 2="" 512="" 60798="" 64="" alt="" cyl="" hd="" sec=""&gt;&lt;stk-flexline380-0660 2="" 512="" 60798="" 64="" alt="" cyl="" hd="" sec=""&gt;&lt;stk-flexline380-0660 2="" 51198="" 64="" alt="" cyl="" hd="" sec=""&gt;&lt;sun72g 14087="" 24="" 2="" 424="" alt="" cyl="" hd="" sec=""&gt;&lt;sun72g 14087="" 24="" 2="" 424="" alt="" cyl="" hd="" sec=""&gt;&lt;sun72g 14087="" 24="" 2="" 424="" alt="" cyl="" hd="" sec=""&gt;&lt;sun72g 14087="" 24="" 2="" 424="" alt="" cyl="" hd="" sec=""&gt;&lt;stk-flexline380-0660 2="" 512="" 60798="" 64="" alt="" cyl="" hd="" sec=""&gt;&lt;stk-flexline380-0660 2="" 512="" 60798="" 64="" alt="" cyl="" hd="" sec=""&gt;&lt;stk-flexline380-0660 2="" 51198="" 64="" alt="" cyl="" hd="" sec=""&gt;&lt;sun72g 14087="" 24="" 2="" 424="" alt="" cyl="" hd="" sec=""&gt;&lt;sun72g 14087="" 24="" 2="" 424="" alt="" cyl="" hd="" sec=""&gt;&lt;sun72g 14087="" 24="" 2="" 424="" alt="" cyl="" hd="" sec=""&gt;&lt;sun72g 14087="" 24="" 2="" 424="" alt="" cyl="" hd="" sec=""&gt;&lt;stk-flexline380-0660 2="" 512="" 60798="" 64="" alt="" cyl="" hd="" sec=""&gt;&lt;stk&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0660="" 380&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;="" 80000000="" flexline=""&gt;&lt;stk-flexline380-0660 2="" 512="" 60798="" 64="" alt="" cyl="" hd="" sec=""&gt;&lt;stk-flexline380-0660 2="" 51198="" 64="" alt="" cyl="" hd="" sec=""&gt;&lt;cmd&gt;&lt;cmd&gt;&lt;cmd&gt;&lt;cmd&gt;&lt;b&gt;devfsadm -Cv&lt;/b&gt;&lt;/cmd&gt;&lt;/cmd&gt;&lt;/cmd&gt;&lt;/cmd&gt;&lt;/stk-flexline380-0660&gt;&lt;/stk-flexline380-0660&gt;&lt;/stk&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&gt;&lt;/stk-flexline380-0660&gt;&lt;/sun72g&gt;&lt;/sun72g&gt;&lt;/sun72g&gt;&lt;/sun72g&gt;&lt;/stk-flexline380-0660&gt;&lt;/stk-flexline380-0660&gt;&lt;/stk-flexline380-0660&gt;&lt;/sun72g&gt;&lt;/sun72g&gt;&lt;/sun72g&gt;&lt;/sun72g&gt;&lt;/stk-flexline380-0660&gt;&lt;/stk-flexline380-0660&gt;&lt;/stk-flexline380-0660&gt;&lt;/sun72g&gt;&lt;/sun72g&gt;&lt;/sun72g&gt;&lt;/sun72g&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4827842540624707460-8045403189647487092?l=kinhnghiem.luyenthianhvan.org' alt='' /&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/kinhnghiemvn/~4/ruFwgTcBeqk" height="1" width="1"/&gt;</description><link>http://feedproxy.google.com/~r/kinhnghiemvn/~3/ruFwgTcBeqk/map-san-xuong-server-solaris-su-dung.html</link><author>noreply@blogger.com (vitec)</author><thr:total>0</thr:total><feedburner:origLink>http://kinhnghiem.luyenthianhvan.org/2011/12/map-san-xuong-server-solaris-su-dung.html</feedburner:origLink></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-4827842540624707460.post-7075053531588135560</guid><pubDate>Sat, 17 Dec 2011 12:17:00 +0000</pubDate><atom:updated>2011-12-17T04:17:43.947-08:00</atom:updated><title>kloxo 500 - Internal Server Error</title><description>&lt;span class="MsgBodyText"&gt;There are still have a problem when update 
Kloxo to version 6.1.10 (especially from 6.1.7) with using 'auto update'
 or 'update home' on kloxo.&lt;br /&gt;
&lt;br /&gt;
Solution, run this commands:&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;div class="pre"&gt;
&lt;span&gt;&lt;div class="codehead"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;pre&gt;# for sure to using latest version for certain packages
&lt;b&gt;yum update&lt;/b&gt;
# shell command version for update
&lt;b&gt;sh /script/upcp&lt;/b&gt;
# cleanup process for certain settings
&lt;b&gt;sh /script/cleanup&lt;/b&gt;
# restart some services
&lt;b&gt;service xinetd restart&lt;/b&gt;
# fix web config to make sure using latest
&lt;b&gt;sh /script/fixweb --server=all&lt;/b&gt;
# Better reboot after that
&lt;b&gt;reboot&lt;/b&gt;
&lt;/pre&gt;
&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4827842540624707460-7075053531588135560?l=kinhnghiem.luyenthianhvan.org' alt='' /&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/kinhnghiemvn/~4/OxfubU-S0lE" height="1" width="1"/&gt;</description><link>http://feedproxy.google.com/~r/kinhnghiemvn/~3/OxfubU-S0lE/kloxo-500-internal-server-error.html</link><author>noreply@blogger.com (vitec)</author><thr:total>1</thr:total><feedburner:origLink>http://kinhnghiem.luyenthianhvan.org/2011/12/kloxo-500-internal-server-error.html</feedburner:origLink></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-4827842540624707460.post-2502091744184014672</guid><pubDate>Sat, 17 Dec 2011 06:19:00 +0000</pubDate><atom:updated>2011-12-16T22:19:51.918-08:00</atom:updated><title>Reset password root MYSQL với quyền root</title><description>[root@servert1 ~]# &lt;b&gt;/etc/init.d/mysqld stop&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
Stopping MySQL:                                            [  OK  ]&lt;br /&gt;
&lt;br /&gt;
[root@servert1 ~]# &lt;span style="color: red;"&gt;mysqld_safe --skip-grant-tables &amp;amp;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style="color: red;"&gt;&amp;nbsp;&lt;/span&gt;[1] 13694&lt;br /&gt;
&lt;br /&gt;
[root@servert1 ~]# Starting mysqld daemon with databases from /var/lib/mysql&lt;br /&gt;
&lt;br /&gt;
[root@servert1 ~]# &lt;b&gt;mysql -u root&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
Welcome to the MySQL monitor.  Commands end with ; or \g.&lt;br /&gt;
&lt;br /&gt;
Your MySQL connection id is 1&lt;br /&gt;
&lt;br /&gt;
Server version: 5.0.77 Source distribution&lt;br /&gt;
&lt;br /&gt;
Type 'help;' or '\h' for help. Type '\c' to clear the buffer.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;span style="color: plum;"&gt;mysql&amp;gt; &lt;span style="color: red;"&gt;use mysql; &lt;/span&gt;&lt;/span&gt;   &lt;br /&gt;
&lt;br /&gt;
&lt;span style="color: plum;"&gt;&lt;span style="color: red;"&gt;mysql&amp;gt; update user set password=PASSWORD("testpass") where User='root';&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
Query OK, 3 rows affected (0.05 sec)&lt;br /&gt;
&lt;br /&gt;
Rows matched: 3  Changed: 3  Warnings: 0&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
mysql&amp;gt; flush privileges;                 &lt;br /&gt;
&lt;br /&gt;
Query OK, 0 rows affected (0.04 sec)&lt;br /&gt;
&lt;br /&gt;
mysql&amp;gt; quit&lt;span style="color: plum;"&gt;&lt;span style="color: red;"&gt; &lt;/span&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4827842540624707460-2502091744184014672?l=kinhnghiem.luyenthianhvan.org' alt='' /&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/kinhnghiemvn/~4/fLUexqADs4o" height="1" width="1"/&gt;</description><link>http://feedproxy.google.com/~r/kinhnghiemvn/~3/fLUexqADs4o/reset-password-root-mysql-voi-quyen.html</link><author>noreply@blogger.com (vitec)</author><thr:total>1</thr:total><feedburner:origLink>http://kinhnghiem.luyenthianhvan.org/2011/12/reset-password-root-mysql-voi-quyen.html</feedburner:origLink></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-4827842540624707460.post-3406716347281669533</guid><pubDate>Fri, 16 Dec 2011 01:34:00 +0000</pubDate><atom:updated>2011-12-15T17:34:45.609-08:00</atom:updated><title>ORA-27102: out of memory - Set the kernel parameters</title><description>&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;strong&gt;&lt;/strong&gt;&lt;br /&gt;
When trying to increase the SGA to approach half available RAM&amp;nbsp;with 
an Oracle 64-bit version on a Linux 64-bit operating system, even though
 &lt;span class="kmfixedwidthfont"&gt;shmmax&lt;/span&gt; is set to match half the amount of&amp;nbsp; RAM, you get the following error when trying to start the instance:&lt;br /&gt;
&lt;br /&gt;

  
&lt;div class="kmcodeblock" style="width: 95%;"&gt;

&lt;b&gt;&lt;code class="km"&gt;SQL&amp;gt; startup nomount &lt;br /&gt;ORA-27102: out of memory&lt;br /&gt;Linux-x86_64 Error: 28: No space left on device&amp;nbsp;&amp;nbsp; &lt;/code&gt;&lt;/b&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;h2 class="km"&gt;
&lt;a href="" name="CHANGE"&gt;&lt;/a&gt;Changes&lt;/h2&gt;
&lt;span class="kmfixedwidthfont"&gt;shmall&lt;/span&gt; is too small, most likely is set to the default setting of 2097152&lt;br /&gt;

  &lt;div class="kmcodeblock" style="width: 95%;"&gt;
&lt;code class="km"&gt;&lt;/code&gt;
    &lt;b&gt;$ cat /proc/sys/kernel/shmall&lt;/b&gt;&lt;br /&gt;2097152&lt;br /&gt;

  &lt;/div&gt;
&lt;br /&gt;
&lt;h2 class="km"&gt;
&lt;a href="" name="CAUSE"&gt;&lt;/a&gt;Cause&lt;/h2&gt;
&lt;span class="kmfixedwidthfont"&gt;shmall&lt;/span&gt;&amp;nbsp;is the total amount of shared memory, in pages, that the system can use at one time. &lt;br /&gt;
&lt;h2 class="km"&gt;
&lt;a href="" name="FIX"&gt;&lt;/a&gt;Solution&lt;/h2&gt;
Set&amp;nbsp;&lt;span class="kmfixedwidthfont"&gt;shmall&lt;/span&gt; equal to&amp;nbsp;the sum of all the SGAs on the system,&amp;nbsp;divided by the page size.&lt;br /&gt;

  The page size can be&amp;nbsp;determined using the following command:&lt;br /&gt;

  &lt;div class="kmcodeblock" style="width: 95%;"&gt;
&lt;code class="km"&gt;&lt;b&gt;$ getconf PAGE_SIZE &lt;/b&gt;&lt;br /&gt;4096&lt;/code&gt;&lt;/div&gt;
For example, if&amp;nbsp;the sum of all the SGAs on the system&amp;nbsp;is 16Gb and the result of&amp;nbsp; &lt;span class="kmfixedwidthfont"&gt;'$ getconf PAGE_SIZE' &lt;/span&gt;is 4096 (4Kb) then set shmall to 4194304 pages&lt;br /&gt;

  As the root user set the&amp;nbsp;&lt;span style="font-family: Courier New;"&gt;shmall&lt;/span&gt; to 4194304 in the /etc/sysctl.conf file:&lt;br /&gt;
&lt;div class="kmcodeblock" style="width: 95%;"&gt;
&lt;code class="km"&gt;kernel.shmall = 4194304&lt;/code&gt;&lt;/div&gt;
&lt;br /&gt;then run the following command:
  &lt;div class="kmcodeblock" style="width: 95%;"&gt;
&lt;code class="km"&gt;&lt;b&gt;$ sysctl -p&lt;br /&gt;$ cat /proc/sys/kernel/shmall&lt;/b&gt;&lt;br /&gt;4194304&lt;/code&gt;&lt;/div&gt;
NOTE:&lt;br /&gt;

  The&amp;nbsp;above command loads the new value and a reboot is not necessary.&lt;br /&gt;

  Switch back to being the oracle user and retry the startup command.&lt;br /&gt;

  Modifying /etc/sysctl.conf is a permanent workaround (applies at 
boot time). If for some reason you DO NOT want to change the system wide
 configuration, you can do it on the fly by directly changing the kernel
 pseudo FS AKA procfs.&lt;br /&gt;
&lt;div class="kmcodeblock" style="width: 95%;"&gt;
&lt;code class="km"&gt;e.g. echo "4194304" &amp;gt; /proc/sys/kernel/shmall&lt;/code&gt;&lt;/div&gt;
&lt;br /&gt;Using HUGEPAGES does not alter the&amp;nbsp;calculation for configuring shmall.&lt;br /&gt;
&lt;br /&gt;
&lt;b style="color: red;"&gt;&amp;nbsp;Set the kernel parameters &lt;/b&gt;&lt;br /&gt;
Add the following the lines in the file&lt;strong&gt;&lt;em&gt; /etc/sysctl.conf&lt;/em&gt;&lt;/strong&gt;&lt;br /&gt;

  &lt;div class="kmcodeblock" style="width: 95%;"&gt;
&lt;code class="km"&gt;&amp;nbsp;&lt;/code&gt;&lt;/div&gt;
&lt;div class="kmcodeblock" style="width: 95%;"&gt;
&lt;code class="km"&gt;kernel.shmall = physical RAM size / pagesize For most systems, this will be the value 2097152. See &lt;a href="https://support.oracle.com/CSP/main/article?cmd=show&amp;amp;type=NOT&amp;amp;id=301830.1"&gt;Note 301830.1&lt;/a&gt; for more information. &lt;br /&gt;kernel.shmmax = 1/2 of physical RAM. This would be the value 2147483648 for a system with 4Gb of physical RAM. &lt;br /&gt;kernel.shmmni = 4096 &lt;br /&gt;kernel.sem = 250 32000 100 128 &lt;br /&gt;fs.file-max = 512 x processes (for example 65536 for 128 processes) &lt;br /&gt;Development recommends a minimum of 327679 for active systems. &lt;br /&gt;net.ipv4.ip_local_port_range = 9000 65500 &lt;br /&gt;(The runInstaller (OUI) checks may expect this to be the old guidance of 1024&amp;nbsp;65000. &lt;br /&gt;The new guidance from Oracle development is 9000 65500. &lt;br /&gt;Please allow the runInstaller (OUI) to proceed with the new guidance from Oracle development.) &lt;br /&gt;net.core.rmem_default = 262144 &lt;br /&gt;net.core.rmem_max = 2097152 &lt;br /&gt;net.core.wmem_default = 262144 &lt;br /&gt;net.core.wmem_max = 1048576 &lt;br /&gt;&lt;/code&gt;&lt;/div&gt;
To place these changes into effect, execute the command&lt;br /&gt;

  &lt;div class="kmcodeblock" style="width: 95%;"&gt;
&lt;b&gt;&lt;code class="km"&gt;# sysctl -p &lt;/code&gt;&lt;/b&gt;&lt;/div&gt;
&lt;strong&gt;&lt;/strong&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4827842540624707460-3406716347281669533?l=kinhnghiem.luyenthianhvan.org' alt='' /&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/kinhnghiemvn/~4/vdTF16Te-8w" height="1" width="1"/&gt;</description><link>http://feedproxy.google.com/~r/kinhnghiemvn/~3/vdTF16Te-8w/ora-27102-out-of-memory-set-kernel.html</link><author>noreply@blogger.com (vitec)</author><thr:total>0</thr:total><feedburner:origLink>http://kinhnghiem.luyenthianhvan.org/2011/12/ora-27102-out-of-memory-set-kernel.html</feedburner:origLink></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-4827842540624707460.post-2045435248783255237</guid><pubDate>Thu, 15 Dec 2011 07:43:00 +0000</pubDate><atom:updated>2011-12-14T23:43:46.242-08:00</atom:updated><title>Linux Add a Swap File – Howto</title><description>&lt;h2&gt;

Procedure To Add a Swap File&lt;/h2&gt;
You need to use the dd command 
to create swap file.  The mkswap command is used to set up a Linux swap 
area on a device or in a file.&lt;br /&gt;
a) Login as the root user.&lt;br /&gt;
b) Type following command to create 512MB swap file (1024 * 512MB =  524288 block size):&lt;br /&gt;
&lt;b&gt;&lt;code&gt;# dd if=/dev/zero of=/swapfile1 bs=1024 count=524288&lt;/code&gt;&lt;/b&gt;&lt;br /&gt;
c) Set up a Linux swap area:&lt;br /&gt;
&lt;b&gt;&lt;code&gt;# mkswap /swapfile1&lt;/code&gt;&lt;/b&gt;&lt;br /&gt;
d) Activate /swapfile1 swap space immediately:&lt;br /&gt;
&lt;b&gt;&lt;code&gt;# swapon /swapfile1&lt;/code&gt;&lt;/b&gt;&lt;br /&gt;
e)
 To activate /swapfile1 after Linux system reboot, add entry to 
/etc/fstab file. Open this file using a text editor such as vi:&lt;br /&gt;
&lt;b&gt;&lt;code&gt;# vi /etc/fstab&lt;/code&gt;&lt;/b&gt;&lt;br /&gt;
Append the following line:&lt;br /&gt;
&lt;b&gt;&lt;code&gt;/swapfile1    swap    swap   defaults 0 0&lt;/code&gt;&lt;/b&gt;&lt;br /&gt;
So next time Linux comes up after reboot, it enables the new swap file for you automatically.&lt;br /&gt;
g) How do I verify swap is activated or not?&lt;br /&gt;
Simply use the free command:&lt;br /&gt;
&lt;b&gt;&lt;code&gt;$ free -m&lt;/code&gt;&lt;/b&gt;&lt;br /&gt;
&lt;h4&gt;

See also:&lt;/h4&gt;
&lt;h2&gt;
free command&lt;/h2&gt;
Display free memory size in MB:&lt;br /&gt;
&lt;b&gt;&lt;code&gt;$ free -m&lt;/code&gt;&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;code&gt;&amp;nbsp;&lt;/code&gt;Output:&lt;br /&gt;
&lt;pre&gt;             total       used       free     shared    buffers     cached
Mem:           750        625        125          0         35        335
-/+ buffers/cache:        254        496
Swap:          956          0        956&lt;/pre&gt;
Displays a line containing the totals memory in MB:&lt;br /&gt;&lt;br /&gt;
 &lt;b&gt;&lt;code&gt;&amp;nbsp;&lt;/code&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;code&gt;$ free -t -m&lt;/code&gt;&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;
Output:&lt;br /&gt;
&lt;pre&gt;       total       used       free     shared    buffers     cached
Mem:           750        625        125          0         35        335
-/+ buffers/cache:        253        496
Swap:          956          0        956
Total:        1707        625       1082&lt;/pre&gt;
&lt;h2&gt;
vmstat command&lt;/h2&gt;
Type vmstat command at shell prompt:&lt;br /&gt;
&lt;b&gt;&lt;code&gt;$ vmstat&lt;/code&gt;&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;
 Output:&lt;br /&gt;
&lt;pre&gt;procs -----------memory---------- ---swap-- -----io---- --system-- ----cpu----
r  b   swpd   free   buff  cache   si   so    bi    bo   in    cs us sy id wa
1  0      0 131620  35432 341496    0    0    42    82  737  1364 15  3 81  1&lt;/pre&gt;
&lt;h2&gt;
top command&lt;/h2&gt;
Type top command at the shell prompt:&lt;br /&gt;
&lt;br /&gt; &lt;b&gt;&lt;code&gt;$ top&lt;/code&gt;&lt;/b&gt;&lt;br /&gt; Sample outputs:&lt;br /&gt;
&lt;h4&gt;
&amp;nbsp;&lt;/h4&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4827842540624707460-2045435248783255237?l=kinhnghiem.luyenthianhvan.org' alt='' /&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/kinhnghiemvn/~4/7AD7DcbGIdo" height="1" width="1"/&gt;</description><link>http://feedproxy.google.com/~r/kinhnghiemvn/~3/7AD7DcbGIdo/linux-add-swap-file-howto.html</link><author>noreply@blogger.com (vitec)</author><thr:total>0</thr:total><feedburner:origLink>http://kinhnghiem.luyenthianhvan.org/2011/12/linux-add-swap-file-howto.html</feedburner:origLink></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-4827842540624707460.post-4543721053449194718</guid><pubDate>Tue, 06 Dec 2011 10:28:00 +0000</pubDate><atom:updated>2011-12-06T02:29:23.127-08:00</atom:updated><title>ORA-27102: out of memory on Solaris 10</title><description>&lt;div class="post" id="firstpost"&gt;
&lt;div class="postdate"&gt;
Monday, September 14, 2009 5:12:10 PM&lt;/div&gt;
&lt;div class="tags"&gt;
&lt;br /&gt;
&lt;a href="http://my.opera.com/onyxluo/blog/index.dml/tag/Solaris" rel="tag"&gt;&lt;/a&gt; &lt;/div&gt;
&lt;div class="content"&gt;
This problem is due to insufficient shared memory 
from system while Oracle tries to create shared memory segment(depends 
on the size and SGA and PGA). Unlike earlier releases of Solaris 
(Solaris 8 and 9), most of the system parameters needed to run Oracle 
are already set properly, so the only one parameter to be set is the 
maximum shared memory. In earlier versions this was called 
shmsys:shminfo_shmmax and was set by editing the /etc/system file and 
rebooting. With Solaris 10 the parameter is set by modifying a "Resource
 Control Value". You can do this temporarily by using prctl, but that is
 lost at reboot so you will need to add the command to the oracle user. 
The other option is to create a default project for the oracle user:&lt;br /&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;br /&gt;
&lt;pre&gt;&lt;b&gt;$ projadd -U oracle -K "project.max-shm-memory=(priv,13G,deny)" user.oracle&lt;/b&gt;&lt;/pre&gt;
&lt;br /&gt;
How large shared memory should be set for Oracle depends on the 
physical memory size. For Solaris , 8M is the default value on Solaris 9
 and prior versions where as 1/4th of the physical memory is the default
 on Solaris 10 and later. Verifying the default setting of os is shown 
as the following&lt;br /&gt;
&lt;pre&gt;&lt;b&gt;$ prtconf | grep Mem
&lt;/b&gt;&lt;b&gt;Memory size: 32760 Megabytes

$ id -p
uid=59008(oracle) gid=10001(dba) projid=3(default)

$ prctl -n project.max-shm-memory -i project 3
project: 3: default
NAME    PRIVILEGE       VALUE    FLAG   ACTION                       RECIPIENT
project.max-shm-memory
        privileged      7.84GB      -   deny                                 -
        system          16.0EB    max   deny                                 -
&lt;/b&gt;&lt;/pre&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;span style="color: red;"&gt;By default, Oracle 10 will allocate 40% of the total system 
physical memory to create SGA and PGA. So for 32G system memory, the 
shmmax for Oracle 10 will be 0.4*32G = 12.8G.&lt;/span&gt;&lt;br /&gt;
&lt;pre&gt;(Temporary method)
&lt;b&gt;$ prctl -n project.max-shm-memory -r -v 10G -i project 3&lt;/b&gt;

&lt;b&gt;(No need to reboot)
$ projadd -p 100  -c 'test shmmax' -U oracle -G dba  -K 'project.max-shm-memory=(privileged,13G,deny)' user.oracle

$ projects -l
...
user.oracle
        projid : 100
        comment: "test shmmax"
        users  : oracle
        groups : dba
        attribs: project.max-shm-memory=(privileged,13958643712,deny)

$ cat /etc/project
user.oracle:100:test shmmax:oracle:dba:project.max-shm-memory=(privileged,13958643712,deny)
&lt;/b&gt;&lt;/pre&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;
&lt;/div&gt;
&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4827842540624707460-4543721053449194718?l=kinhnghiem.luyenthianhvan.org' alt='' /&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/kinhnghiemvn/~4/QhfjcBlFd2A" height="1" width="1"/&gt;</description><link>http://feedproxy.google.com/~r/kinhnghiemvn/~3/QhfjcBlFd2A/ora-27102-out-of-memory-on-solaris-10.html</link><author>noreply@blogger.com (vitec)</author><thr:total>0</thr:total><feedburner:origLink>http://kinhnghiem.luyenthianhvan.org/2011/12/ora-27102-out-of-memory-on-solaris-10.html</feedburner:origLink></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-4827842540624707460.post-7968298242100393976</guid><pubDate>Mon, 05 Dec 2011 06:26:00 +0000</pubDate><atom:updated>2011-12-04T22:28:05.271-08:00</atom:updated><title>Command Solaris</title><description>&lt;br /&gt;
&lt;table border="0" cellpadding="0" cellspacing="0" style="width: 845px;"&gt;
    &lt;tbody&gt;
&lt;tr&gt;
      &lt;td height="45" valign="top" width="153"&gt;&lt;a href="http://www.blogger.com/blogger.g?blogID=4827842540624707460"&gt;
      &lt;img alt="Zurück" border="0" height="19" src="http://www.akadia.com/img/zurueck.gif" width="76" /&gt;&lt;/a&gt;&lt;/td&gt;
      &lt;td height="45" valign="top" width="632"&gt;&lt;h1&gt;



Aka&lt;span style="color: #34b389;"&gt;dia&lt;/span&gt; Information Technology&lt;/h1&gt;
&lt;hr color="#34B389" noshade="noshade" /&gt;
&lt;/td&gt;
      &lt;td height="340" rowspan="6" valign="top" width="60"&gt;&lt;div align="center"&gt;
&lt;img border="0" height="360" src="http://www.akadia.com/img/solaris-tips-logo.gif" width="60" /&gt;&lt;/div&gt;
&lt;/td&gt;
    &lt;/tr&gt;
&lt;tr&gt;
      &lt;td colspan="2" valign="top" width="785"&gt;&lt;div class="normal"&gt;
&lt;a href="http://www.akadia.com/services/solaris_tips.html#SUN%20Free%20Software"&gt;SUN Free Software&lt;/a&gt;&lt;br /&gt;
&lt;a href="http://www.akadia.com/services/solaris_tips.html#PCNFS%20installieren"&gt;PCNFS installieren&lt;/a&gt;&lt;br /&gt;
&lt;a href="http://www.akadia.com/services/solaris_tips.html#Installation%20Solaris%20mit%20Openwindows%20%28Grafikkarte%29"&gt;Installation Solaris
        mit Openwindows (Grafikkarte)&lt;/a&gt;&lt;br /&gt;
&lt;a href="http://www.akadia.com/services/solaris_tips.html#How%20to%20Backup%20a%20System"&gt;How to Backup a System&lt;/a&gt;&lt;br /&gt;
&lt;a href="http://www.akadia.com/services/solaris_tips.html#Packages%20%28Software%20die%20installiert%20wurde%29"&gt;Packages (Software die
        installiert wurde)&lt;/a&gt;&lt;br /&gt;
&lt;a href="http://www.akadia.com/services/solaris_tips.html#Monitor%20Mode%20%28OK%20Prompt%29"&gt;Monitor Mode (OK Prompt)&lt;/a&gt;&lt;br /&gt;
&lt;a href="http://www.akadia.com/services/solaris_tips.html#Kernel%20Analyse"&gt;Kernel Analyse&lt;/a&gt;&lt;br /&gt;
&lt;a href="http://www.akadia.com/services/solaris_tips.html#Defaults%20einstellen"&gt;Defaults einstellen&lt;/a&gt;&lt;br /&gt;
&lt;a href="http://www.akadia.com/services/solaris_tips.html#Wichtige%20Konfigurationsfiles"&gt;Wichtige Konfigurationsfiles&lt;/a&gt;&lt;br /&gt;
&lt;a href="http://www.akadia.com/services/solaris_tips.html#Admin%20Kommandos"&gt;Admin Kommandos&lt;/a&gt;&lt;br /&gt;
&lt;a href="http://www.akadia.com/services/solaris_tips.html#LAN%20konfigurieren"&gt;LAN konfigurieren&lt;/a&gt;&lt;br /&gt;
&lt;a href="http://www.akadia.com/services/solaris_tips.html#IP-Routing%20konfigurieren"&gt;IP-Routing konfigurieren&lt;/a&gt;&lt;br /&gt;
&lt;a href="http://www.akadia.com/services/solaris_tips.html#DNS%20konfigurieren"&gt;DNS konfigurieren&lt;/a&gt;&lt;br /&gt;
&lt;a href="http://www.akadia.com/services/solaris_tips.html#Anonymous%20FTP%20aufsetzen"&gt;Anonymous FTP aufsetzen&lt;/a&gt;&lt;br /&gt;
&lt;a href="http://www.akadia.com/services/solaris_tips.html#NFS-Client%20Konfiguration"&gt;NFS-Client Konfiguration&lt;/a&gt;&lt;br /&gt;
&lt;a href="http://www.akadia.com/services/solaris_tips.html#NFS-Server%20Konfiguration"&gt;NFS-Server Konfiguration&lt;/a&gt;&lt;br /&gt;
&lt;a href="http://www.akadia.com/services/solaris_tips.html#Automounter"&gt;Automounter&lt;/a&gt;&lt;br /&gt;
&lt;a href="http://www.akadia.com/services/solaris_tips.html#Modem%20konfigurieren"&gt;Modem konfigurieren&lt;/a&gt;&lt;br /&gt;
&lt;a href="http://www.akadia.com/services/solaris_tips.html#SCSI-Harddisk%20an%20SUN%20Hardware%20anschliessen"&gt;SCSI-Harddisk an SUN Hardware
        anschliessen&lt;/a&gt;&lt;br /&gt;
&lt;a href="http://www.akadia.com/services/solaris_tips.html#List%20Solaris%20Hardware%20Configuration"&gt;List Solaris Hardware
        Configuration&lt;/a&gt;&lt;br /&gt;
&lt;a href="http://www.akadia.com/services/solaris_tips.html#Show%20Swap%20Space%20currently%20installed"&gt;Show Swap Space currently
        installed&lt;/a&gt;&lt;br /&gt;
&lt;a href="http://www.akadia.com/services/solaris_tips.html#Show%20Operating%20System%20Patch%20Level"&gt;Show Operating System Patch
        Level&lt;/a&gt;&lt;br /&gt;
&lt;a href="http://www.akadia.com/services/solaris_tips.html#How%20to%20install%20a%20Sun%20Solaris%20Jumbo%20Patch"&gt;How to install a Sun
        Solaris Jumbo Patch ?&lt;/a&gt;&lt;br /&gt;
&lt;a href="http://www.akadia.com/services/solaris_tips.html#Tracing%20System%20Calls"&gt;Tracing System Calls&lt;/a&gt;&lt;br /&gt;
&lt;a href="http://www.akadia.com/services/solaris_tips.html#Troubleshooting%20Solaris%20Device%20Files"&gt;Troubleshooting Solaris Device
        Files&lt;/a&gt;&lt;br /&gt;
&lt;a href="http://www.akadia.com/services/solaris_tips.html#Short%20Tips%20to%20maintain%20Sun%20Solaris"&gt;Short Tips to maintain Sun
        Solaris&lt;/a&gt;&lt;br /&gt;
&lt;a href="http://www.akadia.com/services/solaris_tips.html#IP-Aliasing%20for%20SUN%20Solaris"&gt;IP-Aliasing for SUN Solaris&lt;/a&gt;&lt;br /&gt;
&lt;a href="http://www.akadia.com/services/solaris_tips.html#Solaris%20automounter%20installs%20filesystems%20by%20default%20in%20/net"&gt;Solaris
        automounter installs filesystems by default in /net&lt;/a&gt;&lt;br /&gt;
&lt;a href="http://www.akadia.com/services/solaris_tips.html#Solaris%20keyboard%20utility"&gt;Solaris keyboard utility&lt;/a&gt;&lt;br /&gt;
&lt;a href="http://www.akadia.com/services/solaris_tips.html#Monitoring%20Performance"&gt;Monitoring Performance&lt;/a&gt;&lt;br /&gt;
&lt;a href="http://www.akadia.com/services/solaris_tips.html#Enable%20file%20system%20journaling%20on%20Solaris%207%20and%208"&gt;Enable file
        system journaling on Solaris 7 and 8&lt;/a&gt;&lt;br /&gt;
&lt;a href="http://www.akadia.com/services/solaris_tips.html#Solaris%20Syslog%20Daemon%20Debugging"&gt;Solaris Syslog Daemon Debugging&lt;/a&gt;
        &lt;a href="http://www.akadia.com/services/solaris_tips.html#Does%20each%20Oracle%20Process%20use%20more%20than%20100M%20memory"&gt;Does each
        Oracle Process use more than 100M memory ?&lt;/a&gt; &lt;a href="http://www.akadia.com/services/solaris_tips.html#Sizing%20up%20Solaris%20Memory%20with%20the%20RMCmem%20Package"&gt;Sizing up Solaris Memory
        with the RMCmem Package&lt;/a&gt; &lt;a href="http://www.akadia.com/services/solaris_tips.html#Using%20Sun%20Solaris%20Manuals%20directly%20from%20CD-ROM"&gt;Using Sun Solaris Manuals
        directly from CD-ROM&lt;/a&gt; &lt;a href="http://www.akadia.com/services/sun_solaris_dumpfile.html" target="_top"&gt;Why is the
        Sun Solaris System Corefile helpful ?&lt;/a&gt;&lt;br /&gt;
&lt;a href="http://www.akadia.com/services/solaris_tips.html#DLT-TAPE%20UNIT%20INSTALLATION%20on%20Solaris%207/8/9"&gt;DLT-TAPE UNIT INSTALLATION
        on Solaris 7/8/9&lt;/a&gt;&lt;br /&gt;
&lt;a href="http://www.akadia.com/services/solaris_tips.html#Reconfigure%20Devices%20on%20Solaris"&gt;Reconfigure Devices on Solaris&lt;/a&gt;&lt;br /&gt;
&lt;a href="http://www.akadia.com/services/solaris_tips.html#OpenBoot%20Diagnostics"&gt;OpenBoot Diagnostics&lt;/a&gt;&lt;br /&gt;
&lt;a href="http://www.akadia.com/services/solaris_tips.html#Why%20doesnt%20my%20.forward%20file%20work"&gt;Why doesn't my .forward file
        work&lt;/a&gt;&lt;br /&gt;
&lt;span lang="en-us"&gt;&lt;a href="http://www.akadia.com/services/solaris_tips.html#Simple%20Shell%20Script%20to%20backup%20your%20Files"&gt;Simple
        Shell Script to backup your Files&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;
&lt;hr color="#34B389" noshade="noshade" /&gt;
&lt;/td&gt;
    &lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;table border="0" cellpadding="4" cellspacing="0" height="80" style="width: 849px;"&gt;
    &lt;tbody&gt;
&lt;tr&gt;
      &lt;td valign="top" width="841"&gt;&lt;h1&gt;



&lt;img height="10" src="http://www.akadia.com/img/bullet-gruen.gif" width="15" /&gt; &lt;a href="http://www.blogger.com/blogger.g?blogID=4827842540624707460" name="SUN Free Software"&gt;SUN Free Software&lt;/a&gt;&lt;/h1&gt;
&lt;blockquote&gt;
&lt;div class="normal"&gt;
Unter &lt;a href="http://www.sunfreeware.com/" target="_top"&gt;http://www.sunfreeware.com&lt;/a&gt; findet man "ready to use"
          Software für SUN Solaris, wie beispielsweise TOP, AMANDA, GCC, GDB etc. Download via
          FTP von: «ftp://nce.sun.ch/pub/freeware/sparc/7»&lt;/div&gt;
&lt;/blockquote&gt;
&lt;h1&gt;



&lt;img height="10" src="http://www.akadia.com/img/bullet-gruen.gif" width="15" /&gt; &lt;a href="http://www.blogger.com/blogger.g?blogID=4827842540624707460" name="PCNFS installieren"&gt;PCNFS installieren&lt;/a&gt;&lt;/h1&gt;
&lt;blockquote&gt;
&lt;div class="normal"&gt;
CD-ROM Solaris Intranet Extension (siehe auch Solaris Server Intranet
          Extension Installation)&lt;/div&gt;
&lt;div class="courier"&gt;
$ &lt;b&gt;su&lt;/b&gt;&lt;br /&gt;
$ &lt;b&gt;cd /cdrom/cdrom0/nfsc/sparc&lt;/b&gt;&lt;br /&gt;
$ &lt;b&gt;pkgadd -d `pwd`&lt;/b&gt;&lt;/div&gt;
&lt;/blockquote&gt;
&lt;h1&gt;



&lt;img height="10" src="http://www.akadia.com/img/bullet-gruen.gif" width="15" /&gt; &lt;a href="http://www.blogger.com/blogger.g?blogID=4827842540624707460" name="Installation Solaris mit Openwindows (Grafikkarte)"&gt;Installation Solaris mit Openwindows
        (Grafikkarte)&lt;/a&gt;&lt;/h1&gt;
&lt;blockquote&gt;
&lt;ul&gt;
&lt;li&gt;
              &lt;div class="normal"&gt;
Hostname&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;blockquote&gt;
&lt;div class="courier"&gt;
$ &lt;b&gt;uname -u&lt;/b&gt;&lt;/div&gt;
&lt;/blockquote&gt;
&lt;ul&gt;
&lt;li&gt;
              &lt;div class="normal"&gt;
Network Interface&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;blockquote&gt;
&lt;div class="courier"&gt;
$ &lt;b&gt;ifconfig -a&lt;/b&gt;&lt;/div&gt;
&lt;/blockquote&gt;
&lt;ul&gt;
&lt;li&gt;
              &lt;div class="normal"&gt;
/etc/hosts, /etc/netmasks definieren&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;
              &lt;div class="normal"&gt;
Static IP-routes definieren&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;blockquote&gt;
&lt;div class="courier"&gt;
/etc/rc2.d/S79staticroutes&lt;/div&gt;
&lt;/blockquote&gt;
&lt;ul&gt;
&lt;li&gt;
              &lt;div class="normal"&gt;
CD-ROM rausnehmen&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;blockquote&gt;
&lt;div class="courier"&gt;
$ &lt;b&gt;eject cdrom&lt;/b&gt;&lt;/div&gt;
&lt;/blockquote&gt;
&lt;ul&gt;
&lt;li&gt;
              &lt;div class="normal"&gt;
Disklayout kontrollieren&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;blockquote&gt;
&lt;div class="courier"&gt;
$ &lt;b&gt;prtvtoc /dev/rdsk/....&lt;/b&gt;&lt;/div&gt;
&lt;/blockquote&gt;
&lt;ul&gt;
&lt;li&gt;
              &lt;div class="normal"&gt;
Automounter konfigurieren&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;blockquote&gt;
&lt;div class="courier"&gt;
/etc/auto_master, /etc/auto_home&lt;/div&gt;
&lt;/blockquote&gt;
&lt;ul&gt;
&lt;li&gt;
              &lt;div class="normal"&gt;
Device File für DAT&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;blockquote&gt;
&lt;div class="courier"&gt;
/dev/rmt/0l (tar cvf /dev/rmt/0l)&lt;/div&gt;
&lt;/blockquote&gt;
&lt;ul&gt;
&lt;li&gt;
              &lt;div class="normal"&gt;
/etc/system definieren konfigurieren (Prestoserve, Oracle,
              Transtec)&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;
              &lt;div class="normal"&gt;
Logfile der Installation: /var/sadm/system/logs/install_log&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;
              &lt;div class="normal"&gt;
Installation über serielles Terminal an Nullmodem Kabel&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;blockquote&gt;
&lt;div class="courier"&gt;
OK &lt;b&gt;boot cdrom - w&lt;/b&gt; (Terminal an ttya)&lt;/div&gt;
&lt;/blockquote&gt;
&lt;/blockquote&gt;
&lt;h1&gt;



&lt;img height="10" src="http://www.akadia.com/img/bullet-gruen.gif" width="15" /&gt; &lt;a href="http://www.blogger.com/blogger.g?blogID=4827842540624707460" name="How to Backup a System"&gt;How to Backup a System&lt;/a&gt;&lt;/h1&gt;
&lt;blockquote&gt;
&lt;div class="courier"&gt;
$ &lt;b&gt;init 0&lt;/b&gt;&lt;br /&gt;
OK &lt;b&gt;boot -s&lt;/b&gt;&lt;br /&gt;
$ &lt;b&gt;fsck -m /dev/dsk/c0t0d0s0&lt;/b&gt; (und übrige Filesysteme)&lt;br /&gt;
$ &lt;b&gt;tar cvf /dev/rmt/0l&lt;/b&gt;&lt;/div&gt;
&lt;/blockquote&gt;
&lt;h1&gt;



&lt;img height="10" src="http://www.akadia.com/img/bullet-gruen.gif" width="15" /&gt; &lt;a href="http://www.blogger.com/blogger.g?blogID=4827842540624707460" name="Packages (Software die installiert wurde)"&gt;Packages (Software die installiert
        wurde)&lt;/a&gt;&lt;/h1&gt;
&lt;blockquote&gt;
&lt;div class="normal"&gt;
Anzeige der installierten Packages&lt;/div&gt;
&lt;div class="courier"&gt;
$ &lt;b&gt;pkginfo&lt;/b&gt;&lt;/div&gt;
&lt;div class="normal"&gt;
Check ob Package SUNWpcnfd correct installiert ist&lt;/div&gt;
&lt;div class="courier"&gt;
$ &lt;b&gt;pkgchk -v SUNWpcnfd&lt;/b&gt;&lt;/div&gt;
&lt;div class="normal"&gt;
Package installieren (Path ist meistens /cdrom/cdrom0/....)&lt;/div&gt;
&lt;div class="courier"&gt;
$ &lt;b&gt;pkgadd -d &lt;path cdrom="" to=""&gt; SUNWpcnfd&lt;/path&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div class="normal"&gt;
Das Package SUNWpcnfd entfernen&lt;/div&gt;
&lt;div class="courier"&gt;
$ &lt;b&gt;pkgrm SUNWpcnfd&lt;/b&gt;&lt;/div&gt;
&lt;/blockquote&gt;
&lt;h1&gt;



&lt;img height="10" src="http://www.akadia.com/img/bullet-gruen.gif" width="15" /&gt; &lt;a href="http://www.blogger.com/blogger.g?blogID=4827842540624707460" name="Monitor Mode (OK Prompt)"&gt;Monitor Mode (OK Prompt)&lt;/a&gt;&lt;/h1&gt;
&lt;blockquote&gt;
&lt;div class="normal"&gt;
In single user mode booten&lt;/div&gt;
&lt;div class="courier"&gt;
OK &lt;b&gt;boot -s&lt;/b&gt;&lt;/div&gt;
&lt;div class="normal"&gt;
Kernel zwingen /devices neu aufzubauen nach dem Anschluss von neuer
          Hardware&lt;/div&gt;
&lt;div class="courier"&gt;
OK &lt;b&gt;boot -r&lt;/b&gt;&lt;/div&gt;
&lt;div class="normal"&gt;
Detaillierter Bootvorgang&lt;/div&gt;
&lt;div class="courier"&gt;
OK &lt;b&gt;boot -v&lt;/b&gt;&lt;/div&gt;
&lt;div class="normal"&gt;
Vom CD-ROM aus booten: Notboot !&lt;/div&gt;
&lt;div class="courier"&gt;
OK &lt;b&gt;boot cdrom&lt;/b&gt;&lt;/div&gt;
&lt;div class="normal"&gt;
Angeschlossene SCSI-Geräte testen&lt;/div&gt;
&lt;div class="courier"&gt;
OK &lt;b&gt;probe-scsi&lt;/b&gt;&lt;/div&gt;
&lt;div class="normal"&gt;
List System Devices, e.g. SUNW,hme = Sun Fast Ethernet PCI Adapter&lt;/div&gt;
&lt;div class="courier"&gt;
OK &lt;b&gt;show-devs&lt;/b&gt;&lt;/div&gt;
&lt;div class="normal"&gt;
List Network Devices&lt;/div&gt;
&lt;div class="courier"&gt;
OK &lt;b&gt;show-nets&lt;/b&gt;&lt;/div&gt;
&lt;div class="normal"&gt;
Monitoring Network Activity&lt;/div&gt;
&lt;div class="courier"&gt;
OK &lt;b&gt;apply watch-net &lt;full hme="" interface,="" name="" of="" path="" see="" show-devs="" the=""&gt;&lt;/full&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div class="normal"&gt;
Monitor Variablen ändern, anzeigen&lt;/div&gt;
&lt;div class="courier"&gt;
OK &lt;b&gt;eeprom&lt;/b&gt;&lt;br /&gt;
OK &lt;b&gt;eeprom ttya-mode=38400,8,n,1,h&lt;/b&gt;&lt;/div&gt;
&lt;/blockquote&gt;
&lt;h1&gt;



&lt;img height="10" src="http://www.akadia.com/img/bullet-gruen.gif" width="15" /&gt; &lt;a href="http://www.blogger.com/blogger.g?blogID=4827842540624707460" name="Kernel Analyse"&gt;Kernel Analyse&lt;/a&gt;&lt;/h1&gt;
&lt;blockquote&gt;
&lt;div class="normal"&gt;
Welche Kernel-Module sind geladen ?&lt;/div&gt;
&lt;div class="normal"&gt;
&lt;span style="font-family: Courier New;"&gt;&lt;b&gt;$ modinfo&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class="normal"&gt;
Kernel Konfiguration&lt;/div&gt;
&lt;div class="courier"&gt;
/etc/system&lt;/div&gt;
&lt;div class="normal"&gt;
Logfile von syslog&lt;/div&gt;
&lt;div class="courier"&gt;
/var/adm/messages&lt;/div&gt;
&lt;div class="normal"&gt;
Konfiguration des syslog Daemon&lt;/div&gt;
&lt;div class="courier"&gt;
/etc/syslog.conf&lt;/div&gt;
&lt;/blockquote&gt;
&lt;h1&gt;



&lt;img height="10" src="http://www.akadia.com/img/bullet-gruen.gif" width="15" /&gt; &lt;a href="http://www.blogger.com/blogger.g?blogID=4827842540624707460" name="Defaults einstellen"&gt;Defaults einstellen&lt;/a&gt;&lt;/h1&gt;
&lt;blockquote&gt;
&lt;div class="normal"&gt;
Directory mit Default files&lt;/div&gt;
&lt;div class="courier"&gt;
/etc/default&lt;/div&gt;
&lt;div class="normal"&gt;
Remote root logins erlauben&lt;/div&gt;
&lt;div class="courier"&gt;
/etc/default/login&lt;/div&gt;
&lt;div class="normal"&gt;
Timezone setzen&lt;/div&gt;
&lt;div class="courier"&gt;
/etc/default/init&lt;/div&gt;
&lt;/blockquote&gt;
&lt;h1&gt;



&lt;img height="10" src="http://www.akadia.com/img/bullet-gruen.gif" width="15" /&gt; &lt;a href="http://www.blogger.com/blogger.g?blogID=4827842540624707460" name="Wichtige Konfigurationsfiles"&gt;Wichtige Konfigurationsfiles&lt;/a&gt;&lt;/h1&gt;
&lt;blockquote&gt;
&lt;div class="normal"&gt;
Master-File beim Booten&lt;/div&gt;
&lt;div class="courier"&gt;
/etc/inittab&lt;/div&gt;
&lt;div class="normal"&gt;
Run-Level Start/Stop Files&lt;/div&gt;
&lt;div class="courier"&gt;
/etc/rc?.d&lt;/div&gt;
&lt;div class="normal"&gt;
Scripts für Run-Levels&lt;/div&gt;
&lt;div class="courier"&gt;
/etc/init.d&lt;/div&gt;
&lt;/blockquote&gt;
&lt;h1&gt;



&lt;img height="10" src="http://www.akadia.com/img/bullet-gruen.gif" width="15" /&gt; &lt;a href="http://www.blogger.com/blogger.g?blogID=4827842540624707460" name="Admin Kommandos"&gt;Admin Kommandos&lt;/a&gt;&lt;/h1&gt;
&lt;blockquote&gt;
&lt;div class="courier"&gt;
$ &lt;b&gt;shutdown -g0 -i0&lt;/b&gt;&lt;br /&gt;
$ &lt;b&gt;reboot&lt;/b&gt; (entspricht init 6)&lt;/div&gt;
&lt;div class="big"&gt;
&lt;img height="10" src="http://www.akadia.com/img/bullet-gruen.gif" width="15" /&gt; &lt;a href="http://www.blogger.com/blogger.g?blogID=4827842540624707460" name="LAN konfigurieren"&gt;LAN konfigurieren&lt;/a&gt;&lt;/div&gt;
&lt;div class="normal"&gt;
Konfiguration der LAN-Interfaces&lt;/div&gt;
&lt;div class="courier"&gt;
$ &lt;b&gt;ifconfig -a&lt;/b&gt;&lt;/div&gt;
&lt;ul&gt;
&lt;li&gt;
              &lt;div class="courier"&gt;
Netmask setzen: siehe /etc/netmasks&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;
              &lt;div class="courier"&gt;
Jedes LAN-Interface hat /etc/hostname.le0 mit Hostnamen&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;
              &lt;div class="courier"&gt;
LAN-Setup: /etc/rcS.d/S30rootusr.sh (Interfaces konfigurieren)&lt;br /&gt;
/etc/rc2.d/S72inetsvc (LAN konfigurieren)&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;div class="normal"&gt;
Phys Addressen nachschauen&lt;/div&gt;
&lt;div class="courier"&gt;
$ &lt;b&gt;arp -a&lt;/b&gt;&lt;/div&gt;
&lt;div class="courier"&gt;
&lt;span style="color: blue; font-family: Courier New;"&gt;Net to Media Table&lt;br /&gt;
          &lt;br /&gt;
          Device&amp;nbsp;IP
          Address&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;Mask&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
          Flags&amp;nbsp;Phys Addr&lt;br /&gt;
          ------ -------------------- --------------- ----- ---------------&lt;br /&gt;
          le0&amp;nbsp;&amp;nbsp;&amp;nbsp;
          rabbit&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
          255.255.255.255&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 00:60:08:57:17:86&lt;br /&gt;
          le0&amp;nbsp;&amp;nbsp;&amp;nbsp;
          quorum&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
          255.255.255.255 SP&amp;nbsp;&amp;nbsp;&amp;nbsp; 08:00:20:89:27:03&lt;br /&gt;
          le0&amp;nbsp;&amp;nbsp;&amp;nbsp;
          arkum&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
          255.255.255.255&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 00:a0:24:4b:60:1c&lt;/span&gt;&lt;/div&gt;
&lt;/blockquote&gt;
&lt;h1&gt;



&lt;img height="10" src="http://www.akadia.com/img/bullet-gruen.gif" width="15" /&gt; &lt;a href="http://www.blogger.com/blogger.g?blogID=4827842540624707460" name="IP-Routing konfigurieren"&gt;IP-Routing konfigurieren&lt;/a&gt;&lt;/h1&gt;
&lt;blockquote&gt;
&lt;div class="normal"&gt;
Alle hosts im Netz 193.72.239.0 werden über den Router
          193.72.194.201 erreicht.&lt;/div&gt;
&lt;div class="courier"&gt;
$ &lt;b&gt;route add net&lt;/b&gt; 193.72.239.0 193.72.194.201 1&lt;/div&gt;
&lt;div class="normal"&gt;
Der host 146.228.14.10 wird über den Router 193.72.194.100
          erreicht. Siehe File /etc/rc2.d/S79staticroutes.&lt;/div&gt;
&lt;div class="courier"&gt;
$ &lt;b&gt;route add host&lt;/b&gt; 146.228.14.10 193.72.194.100 1&lt;/div&gt;
&lt;div class="normal"&gt;
Routing Tabelle kontrollieren&lt;/div&gt;
&lt;div class="courier"&gt;
$ &lt;b&gt;netstat -nr&lt;/b&gt;&lt;/div&gt;
&lt;/blockquote&gt;
&lt;h1&gt;



&lt;img height="10" src="http://www.akadia.com/img/bullet-gruen.gif" width="15" /&gt; &lt;a href="http://www.blogger.com/blogger.g?blogID=4827842540624707460" name="DNS konfigurieren"&gt;DNS konfigurieren&lt;/a&gt;&lt;/h1&gt;
&lt;blockquote&gt;
&lt;div class="normal"&gt;
Angabe des DNS Nameservers&lt;/div&gt;
&lt;div class="courier"&gt;
/etc/resolv.conf&lt;/div&gt;
&lt;div class="normal"&gt;
Reihenfolge definieren&lt;/div&gt;
&lt;div class="courier"&gt;
/etc/nsswitch.conf&lt;/div&gt;
&lt;/blockquote&gt;
&lt;h1&gt;



&lt;img height="10" src="http://www.akadia.com/img/bullet-gruen.gif" width="15" /&gt; &lt;a href="http://www.blogger.com/blogger.g?blogID=4827842540624707460" name="Anonymous FTP aufsetzen"&gt;Anonymous FTP aufsetzen&lt;/a&gt;&lt;/h1&gt;
&lt;blockquote&gt;
&lt;div class="normal"&gt;
Siehe Solris2 Administration Seite 103 und ff&lt;/div&gt;
&lt;/blockquote&gt;
&lt;h1&gt;



&lt;img height="10" src="http://www.akadia.com/img/bullet-gruen.gif" width="15" /&gt; &lt;a href="http://www.blogger.com/blogger.g?blogID=4827842540624707460" name="NFS-Client Konfiguration"&gt;NFS-Client Konfiguration&lt;/a&gt;&lt;/h1&gt;
&lt;blockquote&gt;
&lt;div class="courier"&gt;
/etc/vfstab (Soll) --&amp;gt; /etc/mnttab (Ist)&lt;br /&gt;
&lt;b&gt;mount -F nfs&lt;/b&gt; -o bg,ro,soft gondwana:/usr/software /software&lt;/div&gt;
&lt;div class="normal"&gt;
NFS-Server wird in /etc/init.d/nfs.client start gestartet.&lt;/div&gt;
&lt;div class="normal"&gt;
Anzeige welche Directories gondwana zum mounten freigegeben hat&lt;/div&gt;
&lt;div class="courier"&gt;
dfshares gondwana&lt;/div&gt;
&lt;div class="normal"&gt;
&lt;span style="font-family: Courier New;"&gt;RESOURCE SERVER ACCESS TRANSPORT&lt;br /&gt;
          gondwana:/export/home/zahn gondwana - -&lt;br /&gt;
          gondwana:/export/home/steiner gondwana - -&lt;/span&gt;&lt;/div&gt;
&lt;/blockquote&gt;
&lt;h1&gt;



&lt;img height="10" src="http://www.akadia.com/img/bullet-gruen.gif" width="15" /&gt; &lt;a href="http://www.blogger.com/blogger.g?blogID=4827842540624707460" name="NFS-Server Konfiguration"&gt;NFS-Server Konfiguration&lt;/a&gt;&lt;/h1&gt;
&lt;blockquote&gt;
&lt;div class="courier"&gt;
/etc/dfs/dfstab (Soll) --&amp;gt; /etc/dfs/sharetab&lt;/div&gt;
&lt;div class="normal"&gt;
Directory read-only freigeben&lt;/div&gt;
&lt;div class="courier"&gt;
$ &lt;b&gt;share -o ro /usr/software&lt;/b&gt;&lt;/div&gt;
&lt;div class="normal"&gt;
Alle Directories in /etc/dfs/dfstab freigeben&lt;/div&gt;
&lt;div class="courier"&gt;
$ &lt;b&gt;shareall&lt;/b&gt;&lt;/div&gt;
&lt;div class="normal"&gt;
Alle Directories in /etc/dfs/dfstab zurücknehmen&lt;/div&gt;
&lt;div class="courier"&gt;
$ &lt;b&gt;unshareall&lt;/b&gt;&lt;/div&gt;
&lt;div class="normal"&gt;
NFS-Server wird gestartet in&lt;/div&gt;
&lt;div class="courier"&gt;
/etc/init.d/nfs.server&lt;/div&gt;
&lt;div class="normal"&gt;
Anzeige der freigegbenen lokalen Direcories&lt;/div&gt;
&lt;div class="courier"&gt;
$ &lt;b&gt;share&lt;/b&gt;&lt;/div&gt;
&lt;div class="normal"&gt;
Anzeige welche Clients nutzen welche Directories eines NFS-Servers&lt;/div&gt;
&lt;div class="courier"&gt;
$ &lt;b&gt;dfmounts -F nfs gondwana&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
RESOURCE SERVER PATHNAME CLIENTS&lt;br /&gt;
gondwana /export/home/zahn paragon.glue.ch,rabbit.glue.ch&lt;/div&gt;
&lt;/blockquote&gt;
&lt;h1&gt;



&lt;img height="10" src="http://www.akadia.com/img/bullet-gruen.gif" width="15" /&gt; &lt;a href="http://www.blogger.com/blogger.g?blogID=4827842540624707460" name="Automounter"&gt;Automounter&lt;/a&gt;&lt;/h1&gt;
&lt;blockquote&gt;
&lt;div class="normal"&gt;
- /etc/auto_master (Master Map konfigurieren)&lt;br /&gt;
- /etc/auto_home (Home Direcories verwalten)&lt;br /&gt;
- autofs ist ein spezielles Filesystem&lt;br /&gt;
- automount -v (Nach einer Aenderung an einer Map ausführen)&lt;/div&gt;
&lt;/blockquote&gt;
&lt;h1&gt;



&lt;img height="10" src="http://www.akadia.com/img/bullet-gruen.gif" width="15" /&gt; &lt;a href="http://www.blogger.com/blogger.g?blogID=4827842540624707460" name="Modem konfigurieren"&gt;Modem konfigurieren&lt;/a&gt;&lt;/h1&gt;
&lt;blockquote&gt;
&lt;div class="normal"&gt;
Siehe spezielles &lt;a href="http://www.akadia.com/services/modem_setup.html"&gt;Dokument&lt;/a&gt;&lt;/div&gt;
&lt;/blockquote&gt;
&lt;h1&gt;



&lt;img height="10" src="http://www.akadia.com/img/bullet-gruen.gif" width="15" /&gt; &lt;a href="http://www.blogger.com/blogger.g?blogID=4827842540624707460" name="SCSI-Harddisk an SUN Hardware anschliessen"&gt;SCSI-Harddisk an SUN Hardware
        anschliessen&lt;/a&gt;&lt;/h1&gt;
&lt;blockquote&gt;
&lt;div class="normal"&gt;
Beispiel: SCSI-Disk Seagate ST150176L, 50MB an SUN Ultra Enterprise
          1&lt;/div&gt;
&lt;ul&gt;
&lt;li&gt;
              &lt;div class="normal"&gt;
Eintrag in /etc/format.dat vornehmen (Angaben von Lieferanten)&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;blockquote&gt;
&lt;div class="courier"&gt;
disk_type = "Seagate ST150176L" \&lt;br /&gt;
: ctlr = "SCSI" \&lt;br /&gt;
: ncyl = 12022 : acyl = 2 : pcyl = 12024 : nhead = 22 : nsect = 369 \&lt;br /&gt;
: rpm = 7200 : bpt = 188928&lt;/div&gt;
&lt;/blockquote&gt;
&lt;ul&gt;
&lt;li&gt;
              &lt;div class="normal"&gt;
Eintrag /etc/system für Solaris-2 Kernel, System booten&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;blockquote&gt;
&lt;div class="courier"&gt;
*&lt;br /&gt;
* SCSI-Disc Konfiguration&lt;br /&gt;
*&lt;br /&gt;
set scsi_options=0x20&lt;/div&gt;
&lt;/blockquote&gt;
&lt;ul&gt;
&lt;li&gt;
              &lt;div class="normal"&gt;
Disk anschliessen, SCSI-Adresse kontrollieren, Terminierung&lt;br /&gt;
&lt;br /&gt;
Unbedingt kontrolieren, dass eine SCSI-Adresse nicht mehrfach belegt ist. Dazu kann
              meistens hinten am Gerät ein Tippschalter eingestellt werden. Man beacht, dass
              in der Regel das letzte Gerät terminiert werden muss.&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;
              &lt;div class="normal"&gt;
Disk formatieren (nur wenn notwendig !)&lt;br /&gt;
&lt;br /&gt;
In der Regel muss eine Disk nicht neu formatiert werden, ist dies jedoch notwendig so
              steht unter Solaris das Utility format zur Verfügung.&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;blockquote&gt;
&lt;div class="courier"&gt;
&lt;b&gt;format&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style="color: blue;"&gt;AVAILABLE DISK SELECTIONS:&lt;br /&gt;
            &lt;br /&gt;
            0. c0t0d0 &lt;sun2.1g 19="" 2733="" 2="" 80="" alt="" cyl="" hd="" sec=""&gt;&lt;br /&gt;
            &amp;nbsp;&amp;nbsp; /sbus@1f,0/espdma@e,8400000/esp@e,8800000/sd@0,0&lt;br /&gt;
            1. c0t1d0 &lt;sun2.1g 19="" 2733="" 2="" 80="" alt="" cyl="" hd="" sec=""&gt;&lt;br /&gt;
            &amp;nbsp;&amp;nbsp; /sbus@1f,0/espdma@e,8400000/esp@e,8800000/sd@1,0&lt;br /&gt;
            2. c0t2d0 &lt;ibm-ddrs-39130-s71d 10="" 218="" 2="" 8186="" alt="" cyl="" hd="" sec=""&gt;&lt;br /&gt;
            &amp;nbsp;&amp;nbsp; /sbus@1f,0/espdma@e,8400000/esp@e,8800000/sd@2,0&lt;br /&gt;
            3. c0t4d0 &lt;seagate-st118273n-5764 20="" 237="" 2="" 7499="" alt="" cyl="" hd="" sec=""&gt;&lt;br /&gt;
            &amp;nbsp;&amp;nbsp; /sbus@1f,0/espdma@e,8400000/esp@e,8800000/sd@4,0&lt;br /&gt;
            4. c0t5d0 &lt;seagate-st150176lw-0002 12022="" 22="" 2="" 369="" alt="" cyl="" hd="" sec=""&gt;&lt;br /&gt;
            &amp;nbsp;&amp;nbsp; /sbus@1f,0/espdma@e,8400000/esp@e,8800000/sd@5,0&lt;br /&gt;
            &lt;br /&gt;
            Specify disk (enter its number): 4&lt;/seagate-st150176lw-0002&gt;&lt;/seagate-st118273n-5764&gt;&lt;/ibm-ddrs-39130-s71d&gt;&lt;/sun2.1g&gt;&lt;/sun2.1g&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
format&amp;gt; &lt;b&gt;type&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style="color: blue;"&gt;AVAILABLE DRIVE TYPES:&lt;br /&gt;
            0. Auto configure&lt;br /&gt;
            1. DDRS-39130&lt;br /&gt;
            2. Seagate ST118273&lt;br /&gt;
            3. Seagate ST150176L&lt;br /&gt;
            4. Quantum ProDrive 80S&lt;br /&gt;
            5. Quantum ProDrive 105S&lt;br /&gt;
            6. CDC Wren IV 94171-344&lt;br /&gt;
            7. SUN0104&lt;br /&gt;
            8. SUN0207&lt;br /&gt;
            9. SUN0327&lt;br /&gt;
            10. SUN0340&lt;br /&gt;
            11. SUN0424&lt;br /&gt;
            12. SUN0535&lt;br /&gt;
            13. SUN0669&lt;br /&gt;
            14. SUN1.0G&lt;br /&gt;
            15. SUN1.05&lt;br /&gt;
            16. SUN1.3G&lt;br /&gt;
            17. SUN2.1G&lt;br /&gt;
            18. SUN2.9G&lt;br /&gt;
            19. IBM-DDRS-39130-S71D&lt;br /&gt;
            20. SEAGATE-ST118273N-5764&lt;br /&gt;
            21. SEAGATE-ST150176LW-0002&lt;br /&gt;
            22. other&lt;br /&gt;
            Specify disk type (enter its number)[21]: 21&lt;/span&gt;&lt;br /&gt;
format&amp;gt; &lt;b&gt;format&lt;/b&gt; (confirm with "yes")&lt;/div&gt;
&lt;/blockquote&gt;
&lt;ul&gt;
&lt;li&gt;
              &lt;div class="normal"&gt;
Disk partitionieren&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;blockquote&gt;
&lt;div class="normal"&gt;
Dadurch wird die Disk in logische Teile unterteilt. Jeder teil
            enthält ein eigenes Filesystem.&lt;/div&gt;
&lt;div class="courier"&gt;
format&amp;gt; &lt;b&gt;part&lt;/b&gt;&lt;/div&gt;
&lt;div class="normal"&gt;
Nun die Partitionierungsdaten eingeben, zB&lt;/div&gt;
&lt;div class="courier"&gt;
partition&amp;gt; print&lt;br /&gt;
&lt;br /&gt;
&lt;span style="color: blue;"&gt;Current partition table (original):&lt;br /&gt;
            Total disk cylinders available: 2733 + 2 (reserved cylinders)&lt;br /&gt;
            &lt;br /&gt;
            Part Tag Flag Cylinders Size Blocks&lt;br /&gt;
            0 root wm 0 - 204 152.15MB (205/0/0) 311600&lt;br /&gt;
            1 swap wu 205 - 377 128.40MB (173/0/0) 262960&lt;br /&gt;
            2 backup wm 0 - 2732 1.98GB (2733/0/0) 4154160&lt;br /&gt;
            3 home wm 378 - 1017 475.00MB (640/0/0) 972800&lt;br /&gt;
            4 unassigned wm 0 0 (0/0/0) 0&lt;br /&gt;
            5 unassigned wm 1018 - 1928 676.13MB (911/0/0) 1384720&lt;br /&gt;
            6 usr wm 1929 - 2732 596.72MB (804/0/0) 1222080&lt;br /&gt;
            7 unassigned wm 0 0 (0/0/0) 0&lt;/span&gt;&lt;/div&gt;
&lt;/blockquote&gt;
&lt;ul&gt;
&lt;li&gt;
              &lt;div class="normal"&gt;
Label erzeugen (aktuelle Partitionierung speichern)&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;blockquote&gt;
&lt;div class="courier"&gt;
partition&amp;gt; &lt;b&gt;label&lt;/b&gt;&lt;br /&gt;
partition&amp;gt; &lt;b&gt;y&lt;/b&gt;&lt;br /&gt;
partition&amp;gt; &lt;b&gt;quit&lt;/b&gt;&lt;br /&gt;
format&amp;gt; &lt;b&gt;quit&lt;/b&gt;&lt;/div&gt;
&lt;/blockquote&gt;
&lt;ul&gt;
&lt;li&gt;
              &lt;div class="normal"&gt;
Filesystem erstellen&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;blockquote&gt;
&lt;div class="courier"&gt;
&lt;b&gt;newfs -v -m 0 /dev/rdsk/c0t5d0s0&lt;/b&gt;&lt;/div&gt;
&lt;div class="normal"&gt;
Damit wird ein Filesystem mit 0 % Min-Free auf der Partition 0 der
            Disk an der SCSI-Adresse 5 erstellt.&lt;/div&gt;
&lt;/blockquote&gt;
&lt;ul&gt;
&lt;li&gt;
              &lt;div class="normal"&gt;
Filesystem mounten&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;blockquote&gt;
&lt;div class="normal"&gt;
Dazu den folgenden Eintrag in /etc/vfstab vornehmen&lt;/div&gt;
&lt;div class="courier"&gt;
&lt;span style="color: blue;"&gt;#device&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; device
            &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; mount&amp;nbsp; FS
            &amp;nbsp;&amp;nbsp;&amp;nbsp; fsck&amp;nbsp; mount&amp;nbsp;&amp;nbsp;&amp;nbsp; mount&lt;br /&gt;
            #to mount&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; to fsck
            &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; point&amp;nbsp; type
            &amp;nbsp; pass&amp;nbsp; at boot&amp;nbsp; options&lt;br /&gt;
            &lt;br /&gt;
            /dev/dsk/c0t5d0s0 /dev/rdsk/c0t5d0s0&amp;nbsp; /u02&amp;nbsp;&amp;nbsp; ufs&amp;nbsp;&amp;nbsp;&amp;nbsp; 6
            &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;yes&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; -&lt;/span&gt;&lt;/div&gt;
&lt;/blockquote&gt;
&lt;/blockquote&gt;
&lt;h1&gt;



&lt;img height="10" src="http://www.akadia.com/img/bullet-gruen.gif" width="15" /&gt; &lt;a href="http://www.blogger.com/blogger.g?blogID=4827842540624707460" name="List Solaris Hardware Configuration"&gt;List Solaris Hardware Configuration&lt;/a&gt;&lt;/h1&gt;
&lt;blockquote&gt;
&lt;div class="courier"&gt;
$ &lt;b&gt;/usr/sbin/prtconf&lt;/b&gt;&lt;/div&gt;
&lt;/blockquote&gt;
&lt;h1&gt;



&lt;img height="10" src="http://www.akadia.com/img/bullet-gruen.gif" width="15" /&gt; &lt;a href="http://www.blogger.com/blogger.g?blogID=4827842540624707460" name="Show Swap Space currently installed"&gt;Show Swap Space currently installed&lt;/a&gt;&lt;/h1&gt;
&lt;blockquote&gt;
&lt;div class="normal"&gt;
Multiply the Blocks column by 512&lt;/div&gt;
&lt;div class="courier"&gt;
$ &lt;b&gt;swap -l&lt;/b&gt;&lt;/div&gt;
&lt;div class="courier"&gt;
&lt;span style="color: blue;"&gt;swapfile
          &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; dev swaplo blocks
          &amp;nbsp;&amp;nbsp; free&lt;br /&gt;
          /dev/dsk/c0t0d0s1 32,1&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 16 262944 262944&lt;br /&gt;
          &lt;br /&gt;
          262944 * 512 = 134 MB&lt;/span&gt;&lt;/div&gt;
&lt;/blockquote&gt;
&lt;h1&gt;



&lt;img height="10" src="http://www.akadia.com/img/bullet-gruen.gif" width="15" /&gt; &lt;a href="http://www.blogger.com/blogger.g?blogID=4827842540624707460" name="Show Operating System Patch Level"&gt;Show Operating System Patch Level&lt;/a&gt;&lt;/h1&gt;
&lt;blockquote&gt;
&lt;div class="courier"&gt;
$ &lt;b&gt;showrev -p&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
Patch: 105181-16&lt;/div&gt;
&lt;div class="normal"&gt;
Note, that Patchlevel 105181-15 is minimal needed for Oracle 8.1.6&lt;/div&gt;
&lt;/blockquote&gt;
&lt;h1&gt;



&lt;img height="10" src="http://www.akadia.com/img/bullet-gruen.gif" width="15" /&gt; &lt;a href="http://www.blogger.com/blogger.g?blogID=4827842540624707460" name="How to install a Sun Solaris Jumbo Patch"&gt;How to install a Sun Solaris Jumbo Patch&lt;/a&gt;
        ?&lt;/h1&gt;
&lt;blockquote&gt;
&lt;div class="normal"&gt;
- Download the Patch from: &lt;a href="http://sunsolve.sun.com/" target="_blank"&gt;http://sunsolve.sun.com&lt;/a&gt;&lt;br /&gt;
- Read the README File included in the Patch&lt;br /&gt;
- Usually the only thing you have to do is:&lt;/div&gt;
&lt;div class="courier"&gt;
$ &lt;b&gt;cd &lt;patch cluster="" directory=""&gt;&lt;br /&gt;&lt;/patch&gt;&lt;/b&gt; $
          &lt;b&gt;./install_custer&lt;/b&gt; $ &lt;b&gt;cat /var/sadm/install_data/&lt;luster name=""&gt;_log&lt;/luster&gt;&lt;/b&gt; $ &lt;b&gt;showrev -p&lt;/b&gt;&lt;/div&gt;
&lt;div class="normal"&gt;
Reboot the system&lt;/div&gt;
&lt;/blockquote&gt;
&lt;h1&gt;



&lt;img height="10" src="http://www.akadia.com/img/bullet-gruen.gif" width="15" /&gt; &lt;a href="http://www.blogger.com/blogger.g?blogID=4827842540624707460" name="Tracing System Calls"&gt;Tracing System Calls&lt;/a&gt;&lt;/h1&gt;
&lt;blockquote&gt;
&lt;div class="normal"&gt;
You can trace system calls with truss on Solaris an strace on Linux&lt;/div&gt;
&lt;div class="courier"&gt;
$ &lt;b&gt;truss svrmgrl&lt;/b&gt;&lt;/div&gt;
&lt;/blockquote&gt;
&lt;h1&gt;



&lt;img height="10" src="http://www.akadia.com/img/bullet-gruen.gif" width="15" /&gt; &lt;a href="http://www.blogger.com/blogger.g?blogID=4827842540624707460" name="Troubleshooting Solaris Device Files"&gt;Troubleshooting Solaris Device Files&lt;/a&gt;&lt;/h1&gt;
&lt;blockquote&gt;
&lt;div class="normal"&gt;
If you suspect troubles with your Solaris device files, e.g. system
          doesn't boot after a filesystem check, you may repair the solaris system using the
          following commands.&lt;/div&gt;
&lt;div class="normal"&gt;
Halt the system immediately with the keys STOP-A, you will now see the
          boot prompt: OK&lt;/div&gt;
&lt;div class="courier"&gt;
&lt;b&gt;STOP-A&lt;/b&gt;&lt;/div&gt;
&lt;div class="normal"&gt;
Reset the machine with&lt;/div&gt;
&lt;div class="courier"&gt;
OK &lt;b&gt;reset&lt;/b&gt;&lt;/div&gt;
&lt;div class="normal"&gt;
Boot the machine with&lt;/div&gt;
&lt;div class="courier"&gt;
OK &lt;b&gt;boot -r&lt;/b&gt;&lt;/div&gt;
&lt;div class="normal"&gt;
The command boot -r will rebuild all devices files according to your
          attached hardware. If you cannot boot the machine, you can try the following commands:
          &lt;b&gt;drvconfig, disks, tapes&lt;/b&gt;&lt;/div&gt;
&lt;div class="normal"&gt;
&lt;b&gt;drvconfig&lt;/b&gt; - configure the /devices directory&lt;/div&gt;
&lt;div class="normal"&gt;
The default operation of drvconfig is to create the /devices directory
          tree that describes, in the filesystem namespace, the hardware layout of a particular
          machine. Hardware devices present on the machine and powered on as well as pseudo-drivers
          are represented under /devices. Normally this command is run automatically after a new
          driver has been installed (with add_drv(1M)) and the system has been rebooted.&lt;/div&gt;
&lt;div class="normal"&gt;
&lt;b&gt;disks&lt;/b&gt; - creates /dev entries for hard disks attached to the
          system&lt;/div&gt;
&lt;div class="normal"&gt;
Disks creates symbolic links in the /dev/dsk and /dev/rdsk directories
          pointing to the actual disk device special files under the /devices directory tree.&lt;/div&gt;
&lt;div class="normal"&gt;
&lt;b&gt;tapes&lt;/b&gt; - creates /dev entries for tape drives attached to the
          system&lt;br /&gt;
&lt;br /&gt;
Tapes creates symbolic links in the /dev/rmt directory to the actual tape device special
          files under the /devices directory tree. Tapes searches the kernel device tree to see
          what tape devices are attached to the system.&lt;/div&gt;
&lt;/blockquote&gt;
&lt;h1 align="left"&gt;



&lt;img height="10" src="http://www.akadia.com/img/bullet-gruen.gif" width="15" /&gt; &lt;a href="http://www.blogger.com/blogger.g?blogID=4827842540624707460" name="Short Tips to maintain Sun Solaris"&gt;Short Tips to maintain Sun Solaris&lt;/a&gt;&lt;/h1&gt;
&lt;blockquote&gt;
&lt;div align="left" class="normal"&gt;
Here are some short tips for common tasks on SUN Solaris
          2.6, 7 and 8&lt;/div&gt;
&lt;div align="left" class="header"&gt;
Important SUN Solaris Commands&lt;/div&gt;
&lt;div align="left" class="courier"&gt;
$ &lt;b&gt;who
          -r&amp;nbsp;&lt;/b&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; # Show Run
          Level&lt;br /&gt;
$ &lt;b&gt;/usr/sbin/prtconf&lt;/b&gt; # Print the complete system configuration&lt;br /&gt;
$ &lt;b&gt;/sbin/mountall -l&lt;/b&gt; # Mount all local filesystems.&lt;br /&gt;
$ &lt;b&gt;/sbin/init S&lt;/b&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; # Changing to single user mode&lt;/div&gt;
&lt;div align="left" class="header"&gt;
Show currently mounted filesystems&lt;/div&gt;
&lt;div align="left" class="courier"&gt;
# /etc/mnttab: Contains information about devices
          that&lt;br /&gt;
# are currently mounted. If there are mounted filesystems&lt;br /&gt;
# with quotas enabled, display them&lt;/div&gt;
&lt;div align="left" class="courier"&gt;
&lt;b&gt;if /usr/bin/cut -f 4 /etc/mnttab | \&lt;br /&gt;
          &amp;nbsp; /usr/bin/egrep '^quota|,quota' &amp;gt;/dev/null 2&amp;gt;&amp;amp;1; then&lt;br /&gt;
          &amp;nbsp; echo 'There are mounted filesystems with quotas enabled'&lt;br /&gt;
          fi&lt;/b&gt;&lt;/div&gt;
&lt;div align="left" class="header"&gt;
How to enable system activity data gathering&lt;/div&gt;
&lt;div align="left" class="courier"&gt;
# You will also need to uncomment the sa entries in&lt;br /&gt;
# the system crontab /var/spool/cron/crontabs/sys.&lt;br /&gt;
# Refer to the sar(1) and sadc(1m) man pages&lt;br /&gt;
# for more information.&lt;/div&gt;
&lt;div align="left" class="courier"&gt;
$ &lt;b&gt;/usr/bin/su sys -c "/usr/lib/sa/sadc
          /var/adm/sa/sa`date +%d`"&lt;/b&gt;&lt;/div&gt;
&lt;div align="left" class="header"&gt;
How a new, unused Solaris system is setup ?&lt;/div&gt;
&lt;div align="left" class="courier"&gt;
# sysidtool is a suite of five programs that configure a
          new&lt;br /&gt;
# system, or one that has been unconfigured with sys-&lt;br /&gt;
# unconfig(1M). The sysidtool programs run automatically at&lt;br /&gt;
# system installation, or during the first boot after a&lt;br /&gt;
# machine has been successfully unconfigured.&lt;br /&gt;
#&lt;br /&gt;
# These programs have no effect except at such times, and&lt;br /&gt;
# should never be run manually.&lt;br /&gt;
&lt;br /&gt;
# System Files are&lt;br /&gt;
&lt;br /&gt;
cat /etc/nodename&lt;br /&gt;
cat /etc/hostname.*&lt;br /&gt;
cat /etc/default/init&lt;br /&gt;
cat /etc/defaultdomain&lt;br /&gt;
cat /etc/inet/hosts&lt;br /&gt;
cat /etc/inet/netmasks&lt;/div&gt;
&lt;div align="left" class="header"&gt;
How to configure Asynchronous PPP ?&lt;/div&gt;
&lt;div align="left" class="normal"&gt;
Configure /etc/asppp.cf for the aspppd daemon&lt;/div&gt;
&lt;div align="left" class="courier"&gt;
$ &lt;b&gt;/usr/sbin/aspppd -d 1&lt;/b&gt;&lt;/div&gt;
&lt;div align="left" class="header"&gt;
How to get and set TCP/IP driver configuration parameters
          ?&lt;/div&gt;
&lt;div align="left" class="courier"&gt;
# Getting Parameters Supported By The TCP Driver&lt;br /&gt;
# To see which parameters are supported by the TCP driver,&lt;br /&gt;
# use the following command:&lt;br /&gt;
&lt;br /&gt;
$ &lt;b&gt;ndd /dev/tcp \?&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
# The following command sets the value of the parameter&lt;br /&gt;
# ip_forwarding in the IP driver to zero. This disables IP&lt;br /&gt;
# packet forwarding.&lt;/div&gt;
&lt;div align="left" class="header"&gt;
Disable IP Forwarding&lt;/div&gt;
&lt;div align="left" class="courier"&gt;
$ &lt;b&gt;/usr/sbin/ndd -set /dev/ip ip_forwarding 0&lt;/b&gt;&lt;/div&gt;
&lt;div align="left" class="header"&gt;
Enable IP Forwarding (Machine acting as a Router)&lt;/div&gt;
&lt;div align="left" class="courier"&gt;
$ &lt;b&gt;/usr/sbin/ndd -set /dev/ip ip_forwarding 1&lt;/b&gt;&lt;/div&gt;
&lt;div align="left" class="header"&gt;
How to set Default Route on Solaris ?&lt;/div&gt;
&lt;div align="left" class="courier"&gt;
# Configure default routers using the local
          "/etc/defaultrouter"&lt;br /&gt;
# configuration file. The file can contain the hostnames or IP&lt;br /&gt;
# addresses of one or more default routers.&lt;br /&gt;
#&lt;br /&gt;
# The default routes listed in the "/etc/defaultrouter" file will&lt;br /&gt;
# replace those added by the kernel during diskless booting. An&lt;br /&gt;
# empty "/etc/defaultrouter" file will cause the default route&lt;br /&gt;
# added by the kernel to be deleted.&lt;br /&gt;
#&lt;br /&gt;
# Note that the default router file is ignored if we received routes&lt;br /&gt;
# from a DHCP server. Our policy is to always trust DHCP over local&lt;br /&gt;
# administration.&lt;br /&gt;
&lt;br /&gt;
# Set Default Route&lt;br /&gt;
&lt;br /&gt;
$ &lt;b&gt;route -n add default &lt;default defaultrouter="" etc="" from="" route=""&gt;&lt;/default&gt;&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
# Show Default Route&lt;br /&gt;
&lt;br /&gt;
$ &lt;b&gt;/usr/sbin/route -fn&lt;/b&gt;&lt;br /&gt;
default 128.128.128.11 done&lt;/div&gt;
&lt;div align="left" class="header"&gt;
How to set NIS domainname if locally configured ?&lt;/div&gt;
&lt;div align="left" class="courier"&gt;
&lt;b&gt;if [ -f /etc/defaultdomain ]; then&lt;br /&gt;
          &amp;nbsp; /usr/bin/domainname `cat /etc/defaultdomain`&lt;br /&gt;
          &amp;nbsp; echo "NIS domainname is `/usr/bin/domainname`"&lt;br /&gt;
          fi&amp;nbsp;&lt;/b&gt;&lt;/div&gt;
&lt;div align="left" class="header"&gt;
RPC (Remote Procedure Call) Configuration&lt;/div&gt;
&lt;div align="left" class="courier"&gt;
# &lt;b&gt;rpcbind&lt;/b&gt; - universal addresses to RPC program
          number mapper&lt;br /&gt;
# &lt;b&gt;rpcinfo&lt;/b&gt; - report RPC information&lt;/div&gt;
&lt;div align="left" class="header"&gt;
Solaris Keyserv Daemon&lt;/div&gt;
&lt;div align="left" class="courier"&gt;
# keyserv is a daemon that is used for storing the
          private&lt;br /&gt;
# encryption keys of each user logged into the system. These&lt;br /&gt;
# encryption keys are used for accessing secure network ser-&lt;br /&gt;
# vices such as secure NFS and NIS+.&lt;br /&gt;
&lt;br /&gt;
$ &lt;b&gt;/usr/sbin/keyserv&lt;/b&gt;&lt;/div&gt;
&lt;div align="left" class="header"&gt;
How to start the Solaris DNS server "in.named"&lt;/div&gt;
&lt;div align="left" class="courier"&gt;
# If this machine is configured to be an
          Internet&lt;br /&gt;
# Domain Name System (DNS) server, run the name daemon.&lt;br /&gt;
# Start named prior to: route add net host,&lt;br /&gt;
# to avoid dns gethostbyname timout delay for&lt;br /&gt;
# nameserver during boot.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;if [ -f /usr/sbin/in.named -a -f /etc/named.conf ]; then&lt;br /&gt;
          &amp;nbsp; echo 'starting internet domain name server.'&lt;br /&gt;
          &amp;nbsp; /usr/sbin/in.named &amp;amp;&lt;br /&gt;
          fi&lt;/b&gt;&lt;/div&gt;
&lt;div align="left" class="header"&gt;
Where to find syslogd messages ?&lt;/div&gt;
&lt;div align="left" class="courier"&gt;
Configuration File: /etc/syslog.conf&lt;br /&gt;
Message File:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; /var/adm/messages&lt;/div&gt;
&lt;/blockquote&gt;
&lt;h1 align="left"&gt;



&lt;img height="10" src="http://www.akadia.com/img/bullet-gruen.gif" width="15" /&gt; &lt;a href="http://www.blogger.com/blogger.g?blogID=4827842540624707460" name="IP-Aliasing for SUN Solaris"&gt;IP-Aliasing for SUN Solaris&lt;/a&gt;&lt;/h1&gt;
&lt;blockquote&gt;
&lt;div class="courier"&gt;
&lt;span style="color: blue;"&gt;# How to setup IP-Alias on SUN
          Solaris&lt;/span&gt;&lt;/div&gt;
&lt;div class="courier"&gt;
1. Setup File /etc/hostname.hme0:1 for the second IP-Address&lt;/div&gt;
&lt;div class="courier"&gt;
&amp;nbsp;&amp;nbsp; cat /etc/hostname.hme0:1&lt;/div&gt;
&lt;div class="courier"&gt;
&amp;nbsp;&amp;nbsp; ldap&lt;/div&gt;
&lt;div class="courier"&gt;
2. Insert IP-Address in /etc/hosts&lt;/div&gt;
&lt;div class="courier"&gt;
&amp;nbsp;&amp;nbsp; &lt;span style="color: blue;"&gt;#&lt;br /&gt;
          &amp;nbsp;&amp;nbsp; # Internet host table&lt;br /&gt;
          &amp;nbsp;&amp;nbsp; #&lt;/span&gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp; 128.128.128.11&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
          ux-portal1&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; # IP-address on hme0:0&lt;br /&gt;
&amp;nbsp;&amp;nbsp; 128.128.128.20&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
          ldap&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; # IP-alias
          on hme0:1&lt;/div&gt;
&lt;div class="courier"&gt;
3. Start alias IP-Address on Interface in /etc/rc2.d&lt;/div&gt;
&lt;div class="courier"&gt;
&amp;nbsp;&amp;nbsp; S99ipalias -&amp;gt; ../init.d/ipalias&lt;/div&gt;
&lt;div class="courier"&gt;
&amp;nbsp;&amp;nbsp; &lt;span style="color: blue;"&gt;#!/bin/sh&lt;br /&gt;
          &amp;nbsp;&amp;nbsp; # Akadia AG, Arvenweg 4, CH-3604 Thun&lt;br /&gt;
          &amp;nbsp;&amp;nbsp; # ----------------------------------------------------------------------&lt;br /&gt;
          &amp;nbsp;&amp;nbsp; # File:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ipalias&lt;br /&gt;
          &amp;nbsp;&amp;nbsp; #&lt;br /&gt;
          &amp;nbsp;&amp;nbsp; # Autor:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Martin Zahn / 10.05.2000&lt;br /&gt;
          &amp;nbsp;&amp;nbsp; #&lt;br /&gt;
          &amp;nbsp;&amp;nbsp; # Purpose:&amp;nbsp;&amp;nbsp;&amp;nbsp; Setup second IP address on hme0:1&lt;br /&gt;
          &amp;nbsp;&amp;nbsp; #
          ----------------------------------------------------------------------&lt;/span&gt;&lt;/div&gt;
&lt;div class="courier"&gt;
&amp;nbsp;&amp;nbsp; if [ -f /etc/hostname.hme0:1 ]&lt;br /&gt;
&amp;nbsp;&amp;nbsp; then&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; case "$1" in&lt;/div&gt;
&lt;div class="courier"&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 'start')&amp;nbsp; # Start second IP
          address on hme0:1&lt;/div&gt;
&lt;div class="courier"&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
          echo "Start multi-homed server for UX-ALIAS1 on hme0:1"&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
          &lt;b&gt;ifconfig hme0:1 128.128.128.20 up&lt;br /&gt;
          &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/b&gt;
          &amp;nbsp;&amp;nbsp; ;;&lt;/div&gt;
&lt;div class="courier"&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 'stop')&amp;nbsp; # Stop second
          IP address on hme0:1&lt;/div&gt;
&lt;div class="courier"&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
          echo "Stop multi-homed server for UX-ALIAS1 on hme0:1"&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
          &lt;b&gt;ifconfig hme0:1 128.128.128.20 down&lt;/b&gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
          ;;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; esac&lt;br /&gt;
&amp;nbsp;&amp;nbsp; fi&lt;/div&gt;
&lt;div class="courier"&gt;
4. Check IP-Address on second Interface&lt;/div&gt;
&lt;div class="courier"&gt;
&amp;nbsp;&amp;nbsp; ifconfig -a&lt;/div&gt;
&lt;/blockquote&gt;
&lt;h1 align="left"&gt;



&lt;img border="0" height="10" src="http://www.akadia.com/img/bullet-gruen.gif" width="15" /&gt;
        &lt;a href="http://www.blogger.com/blogger.g?blogID=4827842540624707460" name="Solaris automounter installs filesystems by default in /net"&gt;Solaris automounter
        installs filesystems by default in /net&lt;/a&gt;&lt;/h1&gt;
&lt;blockquote&gt;
&lt;div align="left" class="normal"&gt;
The Solaris automount utility installs &lt;span style="font-family: Courier New;"&gt;autofs&lt;/span&gt; mount points and associates an automount map with each mount
          point. The &lt;span style="font-family: Courier New;"&gt;autofs&lt;/span&gt; file system monitors attempts to access
          directories within it and notifies the &lt;span style="font-family: Courier New;"&gt;automountd&lt;/span&gt; daemon.
          The daemon uses the map to locate a file system, which it then mounts at the point of
          reference within the &lt;span style="font-family: Courier New;"&gt;autofs&lt;/span&gt; file system. You can assign a
          map to an &lt;span style="font-family: Courier New;"&gt;autofs&lt;/span&gt; mount using an entry in the &lt;span style="font-family: Courier New;"&gt;/etc/auto_master&lt;/span&gt; map or a direct map in &lt;span style="font-family: Courier New;"&gt;/etc/auto_direct&lt;/span&gt;. If the file system is not accessed within an
          appropriate interval (five minutes by default), the &lt;span style="font-family: Courier New;"&gt;automountd&lt;/span&gt; daemon unmounts the file system.&lt;/div&gt;
&lt;div align="left" class="header"&gt;
Default Mapping under /net&lt;/div&gt;
&lt;div align="left" class="normal"&gt;
The mount point &lt;span style="font-family: Courier New;"&gt;/net&lt;/span&gt; is by
          default the location, where &lt;span style="font-family: Courier New;"&gt;automountd&lt;/span&gt; mounts NFS
          filesystems, which are exported on other machines. Lets suppose, that you have the
          filesystem &lt;span style="font-family: Courier New;"&gt;/home&lt;/span&gt; exported on the NFS server &lt;span style="font-family: Courier New;"&gt;saphir&lt;/span&gt;, then the (Solaris) NFS client with an active automounter
          will automatically mount this NFS filesystem under &lt;span style="font-family: Courier New;"&gt;/net/saphir/&lt;/span&gt;.&lt;/div&gt;
&lt;div align="left" class="header"&gt;
Mapping using /etc/auto_direct&lt;/div&gt;
&lt;div align="left" class="normal"&gt;
You probably doesn't want this default behavior. If you
          insert the following entry in &lt;span style="font-family: Courier New;"&gt;/etc/auto_direct&lt;/span&gt; ....&lt;/div&gt;
&lt;div align="left" class="courier"&gt;
&lt;b&gt;/opt/local&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
          -rw&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; remote_machine:/local&lt;/b&gt;&lt;/div&gt;
&lt;div align="left" class="normal"&gt;
.... then, the directory &lt;span style="font-family: Courier New;"&gt;/local&lt;/span&gt; on the remote machine "remote_machine" will be mounted on the
          local machine under &lt;span style="font-family: Courier New;"&gt;/opt/local&lt;/span&gt;.&lt;/div&gt;
&lt;/blockquote&gt;
&lt;h1 align="left"&gt;



&lt;img border="0" height="10" src="http://www.akadia.com/img/bullet-gruen.gif" width="15" /&gt;
        &lt;a href="http://www.blogger.com/blogger.g?blogID=4827842540624707460" name="Solaris keyboard utility"&gt;Solaris keyboard utility&lt;/a&gt;&lt;/h1&gt;
&lt;blockquote&gt;
&lt;div align="left" class="normal"&gt;
The Solaris utility &lt;span style="font-family: Courier New;"&gt;&lt;b&gt;kbd&lt;/b&gt;&lt;/span&gt; manipulates the state of the keyboard or display the type
          of keyboard or change the &lt;b&gt;default keyboard abort sequence&lt;/b&gt; effect. Suppose, that
          you do not want that everybody can halt the the system you must change the default value.
          We also noticed, that the Solaris machines attached to a switch box, using a character
          terminal on a serial line, may halt when you switch from one machine to the other.&lt;/div&gt;
&lt;div align="left" class="header"&gt;
SYNOPSIS&lt;/div&gt;
&lt;div align="left" class="courier"&gt;
kbd [ -r ] [ -t ] [ -c on|off ]&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; [ -a enable|disable ] [ -d keyboard device ]&lt;br /&gt;
kbd -i [ -d keyboard device ]&lt;/div&gt;
&lt;div align="left" class="header"&gt;
DESCRIPTION&lt;/div&gt;
&lt;div align="left" class="normal"&gt;
&lt;span style="font-family: Courier New;"&gt;kbd&lt;/span&gt; manipulates the state
          of the keyboard, or displays the keyboard type or allows the default keyboard abort
          sequence effect to be changed. The default keyboard device being set is &lt;span style="font-family: Courier New;"&gt;/dev/kbd.&lt;/span&gt;&lt;/div&gt;
&lt;div align="left" class="normal"&gt;
The -i option reads and processes default values for the
          keyclick and keyboard abort settings from the &lt;b&gt;keyboard default file&lt;/b&gt;, &lt;span style="font-family: Courier New;"&gt;/etc/default/kbd&lt;/span&gt;. Only keyboards that support a clicker respond to
          the -c option. If you want to turn clicking on by default, add or change the current
          value of the KEYCLICK variable to the value on in the keyboard default file, &lt;span style="font-family: Courier New;"&gt;/etc/default/kbd&lt;/span&gt;, as shown here.&lt;/div&gt;
&lt;div align="left" class="courier"&gt;
&lt;b&gt;KEYCLICK=on&lt;/b&gt;&lt;/div&gt;
&lt;div align="left" class="normal"&gt;
Then, run the command &lt;span style="font-family: Courier New;"&gt;&lt;b&gt;'kbd
          -i'&lt;/b&gt;&lt;/span&gt; to change the current setting. Valid settings for this variable are the
          values on and off. Other values are ignored. If the variable is not specified in the
          default file, the setting is unchanged.&lt;/div&gt;
&lt;div align="left" class="normal"&gt;
The keyboard abort sequence (&lt;b&gt;L1-A&lt;/b&gt; or &lt;b&gt;STOP-A)&lt;/b&gt;
          on the keyboard and &lt;b&gt;BREAK&lt;/b&gt; on the serial console input device on most systems)
          effect may only be changed by the superuser, using the&lt;br /&gt;
-a option. On most systems, the default effect of the keyboard abort sequence is to
          suspend the operating system and enter the debugger or the monitor.&amp;nbsp;&lt;/div&gt;
&lt;div align="left" class="normal"&gt;
If you want to permanently change the software default
          effect of the keyboard abort sequence, you can add or change the current value of the
          KEYBOARD_ABORT variable to the&lt;br /&gt;
value disable in the keyboard default file, &lt;span style="font-family: Courier New;"&gt;/etc/default/kbd&lt;/span&gt;, as shown here.&lt;/div&gt;
&lt;div align="left" class="courier"&gt;
&lt;b&gt;KEYBOARD_ABORT=disable&lt;/b&gt;&lt;/div&gt;
&lt;div align="left" class="normal"&gt;
Then, run the command &lt;span style="font-family: Courier New;"&gt;&lt;b&gt;'kbd
          -i'&lt;/b&gt;&lt;/span&gt; to change the current setting. Valid settings for this value are the
          values enable and disable. Other values are ignored. If the variable is not specified in
          the default file, the setting is unchanged.&lt;/div&gt;
&lt;div align="left" class="normal"&gt;
&lt;b&gt;OPTIONS&lt;/b&gt;&lt;/div&gt;
&lt;table border="0" cellpadding="0" cellspacing="4" style="border-collapse: collapse;"&gt;
            &lt;tbody&gt;
&lt;tr&gt;
              &lt;td align="right" valign="top" width="5%"&gt;&lt;div align="right"&gt;
&lt;b&gt;-i&lt;/b&gt;&lt;/div&gt;
&lt;/td&gt;
              &lt;td valign="top" width="5%"&gt;&lt;br /&gt;&lt;/td&gt;
              &lt;td valign="top" width="150%"&gt;Set keyboard defaults from the keyboard default file.
              This option is mutually exclusive with all other options except for the -d keyboard
              device option. This option instructs the keyboard command to read and process
              keyclick and keyboard abort default values from the &lt;span style="font-family: Courier New;"&gt;/etc/default/kbd&lt;/span&gt; file. This option can only be used by the
              superuser.&lt;/td&gt;
            &lt;/tr&gt;
&lt;tr&gt;
              &lt;td align="right" valign="top" width="5%"&gt;&lt;div align="right"&gt;
&lt;b&gt;-r&lt;/b&gt;&lt;/div&gt;
&lt;/td&gt;
              &lt;td valign="top" width="5%"&gt;&lt;br /&gt;&lt;/td&gt;
              &lt;td valign="top" width="150%"&gt;Reset the keyboard as if power-up.&lt;/td&gt;
            &lt;/tr&gt;
&lt;tr&gt;
              &lt;td align="right" valign="top" width="5%"&gt;&lt;b&gt;-t&lt;/b&gt;&lt;/td&gt;
              &lt;td valign="top" width="5%"&gt;&lt;br /&gt;&lt;/td&gt;
              &lt;td valign="top" width="150%"&gt;Return the type of the keyboard being used.&lt;/td&gt;
            &lt;/tr&gt;
&lt;tr&gt;
              &lt;td align="right" valign="top" width="5%"&gt;&lt;b&gt;-c&lt;/b&gt;&lt;/td&gt;
              &lt;td valign="top" width="5%"&gt;&lt;br /&gt;&lt;/td&gt;
              &lt;td valign="top" width="150%"&gt;On/Off state Turn the clicking of the keyboard on or
              off.&lt;/td&gt;
            &lt;/tr&gt;
&lt;tr&gt;
              &lt;td align="right" valign="top" width="5%"&gt;&lt;b&gt;-a&lt;/b&gt;&lt;/td&gt;
              &lt;td valign="top" width="5%"&gt;&lt;br /&gt;&lt;/td&gt;
              &lt;td valign="top" width="150%"&gt;Enable/Disable state; Enable or disable the keyboard
              abort sequence effect.&lt;/td&gt;
            &lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;/blockquote&gt;
&lt;h1 align="left"&gt;



&lt;img border="0" height="10" src="http://www.akadia.com/img/bullet-gruen.gif" width="15" /&gt;
        &lt;a href="http://www.blogger.com/blogger.g?blogID=4827842540624707460" name="Monitoring Performance"&gt;Monitoring Performance&lt;/a&gt;&lt;/h1&gt;
&lt;blockquote&gt;
&lt;div align="left" class="normal"&gt;
This chapter describes procedures for monitoring system
          performance by using the &lt;span style="font-family: Courier New;"&gt;vmstat, iostat, df&lt;/span&gt;, and
          &lt;span style="font-family: Courier New;"&gt;sar&lt;/span&gt; commands. This is a list of the step-by-step
          instructions in this chapter.&lt;/div&gt;
&lt;div class="header"&gt;
How to Display Virtual Memory Statistics (vmstat)&lt;/div&gt;
&lt;div class="normal"&gt;
The following example shows the &lt;span style="font-family: Courier New;"&gt;vmstat&lt;/span&gt;
          display of statistics gathered at five-second intervals.&lt;/div&gt;
&lt;div class="courier"&gt;
&lt;b&gt;$ vmstat 5&lt;/b&gt;&lt;/div&gt;
&lt;div class="courier"&gt;
&lt;span style="color: blue;"&gt;&amp;nbsp;procs&amp;nbsp;&amp;nbsp;&amp;nbsp;
          memory&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
          page&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
          disk&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; faults&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; cpu&lt;br /&gt;
          r b w&amp;nbsp; swap free re&amp;nbsp; mf&amp;nbsp; pi&amp;nbsp; po&amp;nbsp; fr de sr f0 s3 -- --&amp;nbsp;
          in&amp;nbsp; sy&amp;nbsp; cs us sy&amp;nbsp; id&lt;br /&gt;
          0 0 8 28312&amp;nbsp; 668&amp;nbsp; 0&amp;nbsp;&amp;nbsp; 9&amp;nbsp;&amp;nbsp; 2&amp;nbsp;&amp;nbsp; 0&amp;nbsp;&amp;nbsp;
          1&amp;nbsp; 0&amp;nbsp; 0&amp;nbsp; 0&amp;nbsp; 1&amp;nbsp; 0&amp;nbsp; 0&amp;nbsp; 10&amp;nbsp; 61&amp;nbsp; 82&amp;nbsp;
          1&amp;nbsp; 2&amp;nbsp; 97&lt;br /&gt;
          0 0 3 31940&amp;nbsp; 248&amp;nbsp; 0&amp;nbsp; 10&amp;nbsp; 20&amp;nbsp;&amp;nbsp; 0&amp;nbsp; 26&amp;nbsp; 0 27&amp;nbsp;
          0&amp;nbsp; 4&amp;nbsp; 0&amp;nbsp; 0&amp;nbsp; 53 189 191&amp;nbsp; 6&amp;nbsp; 6&amp;nbsp; 88&lt;br /&gt;
          0 0 3 32080&amp;nbsp; 288&amp;nbsp; 3&amp;nbsp; 19&amp;nbsp; 49&amp;nbsp;&amp;nbsp; 6&amp;nbsp; 26&amp;nbsp; 0 15&amp;nbsp;
          0&amp;nbsp; 9&amp;nbsp; 0&amp;nbsp; 0&amp;nbsp; 75 415 277&amp;nbsp; 6 15&amp;nbsp; 79&lt;br /&gt;
          0 0 3 32080&amp;nbsp; 256&amp;nbsp; 0&amp;nbsp; 26&amp;nbsp; 20&amp;nbsp;&amp;nbsp; 6&amp;nbsp; 21&amp;nbsp; 0 12&amp;nbsp;
          1&amp;nbsp; 6&amp;nbsp; 0&amp;nbsp; 0 163 110 138&amp;nbsp; 1&amp;nbsp; 3&amp;nbsp; 96&lt;br /&gt;
          0 1 3 32060&amp;nbsp; 256&amp;nbsp; 3&amp;nbsp; 45&amp;nbsp; 52&amp;nbsp; 28&amp;nbsp; 61&amp;nbsp; 0 27&amp;nbsp; 5
          12&amp;nbsp; 0&amp;nbsp; 0 195 191 223&amp;nbsp; 7 11&amp;nbsp; 82&lt;br /&gt;
          0 0 3 32056&amp;nbsp; 260&amp;nbsp; 0&amp;nbsp;&amp;nbsp; 1&amp;nbsp;&amp;nbsp; 0&amp;nbsp;&amp;nbsp; 0&amp;nbsp;&amp;nbsp;
          0&amp;nbsp; 0&amp;nbsp; 0&amp;nbsp; 0&amp;nbsp; 0&amp;nbsp; 0&amp;nbsp; 0&amp;nbsp;&amp;nbsp; 4&amp;nbsp; 52&amp;nbsp; 84&amp;nbsp;
          0&amp;nbsp; 1&amp;nbsp; 99&lt;/span&gt;&lt;/div&gt;
&lt;table border="1" cellpadding="3" cellspacing="0" style="border-collapse: collapse;"&gt;
            
            
            
            
            
            &lt;tbody&gt;
&lt;tr&gt;
                &lt;th align="left" valign="top"&gt;&lt;div class="normal"&gt;
Category&lt;/div&gt;
&lt;/th&gt;
                &lt;th align="left" valign="top"&gt;&lt;div class="normal"&gt;
Field Name&lt;/div&gt;
&lt;/th&gt;
                &lt;th align="left" valign="top"&gt;&lt;div class="normal"&gt;
Description&lt;/div&gt;
&lt;/th&gt;
              &lt;/tr&gt;
&lt;tr&gt;
                &lt;td align="left" valign="top"&gt;&lt;div class="normal"&gt;
procs&lt;/div&gt;
&lt;/td&gt;
                &lt;td align="left" valign="top"&gt;&lt;div class="normal"&gt;
&amp;nbsp;&amp;nbsp;&lt;/div&gt;
&lt;/td&gt;
                &lt;td align="left" valign="top"&gt;&lt;div class="normal"&gt;
Reports the following states:&lt;/div&gt;
&lt;/td&gt;
              &lt;/tr&gt;
&lt;tr&gt;
                &lt;td align="left" valign="top"&gt;&lt;div class="normal"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/td&gt;
                &lt;td align="left" valign="top"&gt;&lt;div class="normal"&gt;
r&lt;/div&gt;
&lt;/td&gt;
                &lt;td align="left" valign="top"&gt;&lt;div class="normal"&gt;
The number of kernel threads in the dispatch queue&lt;/div&gt;
&lt;/td&gt;
              &lt;/tr&gt;
&lt;tr&gt;
                &lt;td align="left" valign="top"&gt;&lt;div class="normal"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/td&gt;
                &lt;td align="left" valign="top"&gt;&lt;div class="normal"&gt;
b&lt;/div&gt;
&lt;/td&gt;
                &lt;td align="left" valign="top"&gt;&lt;div class="normal"&gt;
Blocked kernel threads waiting for resources&lt;/div&gt;
&lt;/td&gt;
              &lt;/tr&gt;
&lt;tr&gt;
                &lt;td align="left" valign="top"&gt;&lt;div class="normal"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/td&gt;
                &lt;td align="left" valign="top"&gt;&lt;div class="normal"&gt;
w&lt;/div&gt;
&lt;/td&gt;
                &lt;td align="left" valign="top"&gt;&lt;div class="normal"&gt;
Swapped out LWPs waiting for processing resources to finish&lt;/div&gt;
&lt;/td&gt;
              &lt;/tr&gt;
&lt;tr&gt;
                &lt;td align="left" valign="top"&gt;&lt;div class="normal"&gt;
memory&lt;/div&gt;
&lt;/td&gt;
                &lt;td align="left" valign="top"&gt;&lt;div class="normal"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/td&gt;
                &lt;td align="left" valign="top"&gt;&lt;div class="normal"&gt;
Reports on usage of real and virtual memory:&lt;/div&gt;
&lt;/td&gt;
              &lt;/tr&gt;
&lt;tr&gt;
                &lt;td align="left" valign="top"&gt;&lt;div class="normal"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/td&gt;
                &lt;td align="left" valign="top"&gt;&lt;div class="normal"&gt;
swap&lt;/div&gt;
&lt;/td&gt;
                &lt;td align="left" valign="top"&gt;&lt;div class="normal"&gt;
&lt;b&gt;Available swap space&lt;/b&gt;&lt;/div&gt;
&lt;/td&gt;
              &lt;/tr&gt;
&lt;tr&gt;
                &lt;td align="left" valign="top"&gt;&lt;div class="normal"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/td&gt;
                &lt;td align="left" valign="top"&gt;&lt;div class="normal"&gt;
free&lt;/div&gt;
&lt;/td&gt;
                &lt;td align="left" valign="top"&gt;&lt;div class="normal"&gt;
Size of the free list&lt;/div&gt;
&lt;/td&gt;
              &lt;/tr&gt;
&lt;tr&gt;
                &lt;td align="left" valign="top"&gt;&lt;div class="normal"&gt;
page&lt;/div&gt;
&lt;/td&gt;
                &lt;td align="left" valign="top"&gt;&lt;div class="normal"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/td&gt;
                &lt;td align="left" valign="top"&gt;&lt;div class="normal"&gt;
Reports on page faults and paging activity, in units per
                  second:&lt;/div&gt;
&lt;/td&gt;
              &lt;/tr&gt;
&lt;tr&gt;
                &lt;td align="left" valign="top"&gt;&lt;div class="normal"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/td&gt;
                &lt;td align="left" valign="top"&gt;&lt;div class="normal"&gt;
re&lt;/div&gt;
&lt;/td&gt;
                &lt;td align="left" valign="top"&gt;&lt;div class="normal"&gt;
Pages reclaimed&lt;/div&gt;
&lt;/td&gt;
              &lt;/tr&gt;
&lt;tr&gt;
                &lt;td align="left" valign="top"&gt;&lt;div class="normal"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/td&gt;
                &lt;td align="left" valign="top"&gt;&lt;div class="normal"&gt;
mf&lt;/div&gt;
&lt;/td&gt;
                &lt;td align="left" valign="top"&gt;&lt;div class="normal"&gt;
Minor and major faults&lt;/div&gt;
&lt;/td&gt;
              &lt;/tr&gt;
&lt;tr&gt;
                &lt;td align="left" valign="top"&gt;&lt;div class="normal"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/td&gt;
                &lt;td align="left" valign="top"&gt;&lt;div class="normal"&gt;
pi&lt;/div&gt;
&lt;/td&gt;
                &lt;td align="left" valign="top"&gt;&lt;div class="normal"&gt;
Kbytes paged in&lt;/div&gt;
&lt;/td&gt;
              &lt;/tr&gt;
&lt;tr&gt;
                &lt;td align="left" valign="top"&gt;&lt;div class="normal"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/td&gt;
                &lt;td align="left" valign="top"&gt;&lt;div class="normal"&gt;
po&lt;/div&gt;
&lt;/td&gt;
                &lt;td align="left" valign="top"&gt;&lt;div class="normal"&gt;
Kbytes paged out&lt;/div&gt;
&lt;/td&gt;
              &lt;/tr&gt;
&lt;tr&gt;
                &lt;td align="left" valign="top"&gt;&lt;div class="normal"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/td&gt;
                &lt;td align="left" valign="top"&gt;&lt;div class="normal"&gt;
fr&lt;/div&gt;
&lt;/td&gt;
                &lt;td align="left" valign="top"&gt;&lt;div class="normal"&gt;
Kbytes freed&lt;/div&gt;
&lt;/td&gt;
              &lt;/tr&gt;
&lt;tr&gt;
                &lt;td align="left" valign="top"&gt;&lt;div class="normal"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/td&gt;
                &lt;td align="left" valign="top"&gt;&lt;div class="normal"&gt;
de&lt;/div&gt;
&lt;/td&gt;
                &lt;td align="left" valign="top"&gt;&lt;div class="normal"&gt;
Anticipated memory needed by recently swapped-in processes&lt;/div&gt;
&lt;/td&gt;
              &lt;/tr&gt;
&lt;tr&gt;
                &lt;td align="left" valign="top"&gt;&lt;div class="normal"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/td&gt;
                &lt;td align="left" valign="top"&gt;&lt;div class="normal"&gt;
sr&lt;/div&gt;
&lt;/td&gt;
                &lt;td align="left" valign="top"&gt;&lt;div class="normal"&gt;
Pages scanned by page daemon (not currently in use). If sr does
                  not equal zero, the page daemon has been running.&lt;/div&gt;
&lt;/td&gt;
              &lt;/tr&gt;
&lt;tr&gt;
                &lt;td align="left" valign="top"&gt;&lt;div class="normal"&gt;
disk&lt;/div&gt;
&lt;/td&gt;
                &lt;td align="left" valign="top"&gt;&lt;div class="normal"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/td&gt;
                &lt;td align="left" valign="top"&gt;&lt;div class="normal"&gt;
Reports the number of disk operations per second, showing data
                  on up to four disks&lt;/div&gt;
&lt;/td&gt;
              &lt;/tr&gt;
&lt;tr&gt;
                &lt;td align="left" valign="top"&gt;&lt;div class="normal"&gt;
faults&lt;/div&gt;
&lt;/td&gt;
                &lt;td align="left" valign="top"&gt;&lt;div class="normal"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/td&gt;
                &lt;td align="left" valign="top"&gt;&lt;div class="normal"&gt;
Reports the trap/interrupt rates (per second):&lt;/div&gt;
&lt;/td&gt;
              &lt;/tr&gt;
&lt;tr&gt;
                &lt;td align="left" valign="top"&gt;&lt;div class="normal"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/td&gt;
                &lt;td align="left" valign="top"&gt;&lt;div class="normal"&gt;
in&lt;/div&gt;
&lt;/td&gt;
                &lt;td align="left" valign="top"&gt;&lt;div class="normal"&gt;
Interrupts per second&lt;/div&gt;
&lt;/td&gt;
              &lt;/tr&gt;
&lt;tr&gt;
                &lt;td align="left" valign="top"&gt;&lt;div class="normal"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/td&gt;
                &lt;td align="left" valign="top"&gt;&lt;div class="normal"&gt;
sy&lt;/div&gt;
&lt;/td&gt;
                &lt;td align="left" valign="top"&gt;&lt;div class="normal"&gt;
System calls per second&lt;/div&gt;
&lt;/td&gt;
              &lt;/tr&gt;
&lt;tr&gt;
                &lt;td align="left" valign="top"&gt;&lt;div class="normal"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/td&gt;
                &lt;td align="left" valign="top"&gt;&lt;div class="normal"&gt;
cs&lt;/div&gt;
&lt;/td&gt;
                &lt;td align="left" valign="top"&gt;&lt;div class="normal"&gt;
CPU context switch rate&lt;/div&gt;
&lt;/td&gt;
              &lt;/tr&gt;
&lt;tr&gt;
                &lt;td align="left" valign="top"&gt;&lt;div class="normal"&gt;
cpu&lt;/div&gt;
&lt;/td&gt;
                &lt;td align="left" valign="top"&gt;&lt;div class="normal"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/td&gt;
                &lt;td align="left" valign="top"&gt;&lt;div class="normal"&gt;
Reports on the use of CPU time:&lt;/div&gt;
&lt;/td&gt;
              &lt;/tr&gt;
&lt;tr&gt;
                &lt;td align="left" valign="top"&gt;&lt;div class="normal"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/td&gt;
                &lt;td align="left" valign="top"&gt;&lt;div class="normal"&gt;
us&lt;/div&gt;
&lt;/td&gt;
                &lt;td align="left" valign="top"&gt;&lt;div class="normal"&gt;
User time&lt;/div&gt;
&lt;/td&gt;
              &lt;/tr&gt;
&lt;tr&gt;
                &lt;td align="left" valign="top"&gt;&lt;div class="normal"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/td&gt;
                &lt;td align="left" valign="top"&gt;&lt;div class="normal"&gt;
sy&lt;/div&gt;
&lt;/td&gt;
                &lt;td align="left" valign="top"&gt;&lt;div class="normal"&gt;
System time&lt;/div&gt;
&lt;/td&gt;
              &lt;/tr&gt;
&lt;tr&gt;
                &lt;td align="left" valign="top"&gt;&lt;div class="normal"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/td&gt;
                &lt;td align="left" valign="top"&gt;&lt;div class="normal"&gt;
id&lt;/div&gt;
&lt;/td&gt;
                &lt;td align="left" valign="top"&gt;&lt;div class="normal"&gt;
Idle time&lt;/div&gt;
&lt;/td&gt;
              &lt;/tr&gt;
&lt;/tbody&gt;
          &lt;/table&gt;
&lt;/blockquote&gt;
&lt;blockquote&gt;
&lt;div class="header"&gt;
How to Display System Event Information&lt;/div&gt;
&lt;div class="PARA"&gt;
Run &lt;span style="font-family: Courier New;"&gt;&lt;b&gt;vmstat -s&lt;/b&gt;&lt;/span&gt; to show the total of
          various system events that have taken place since the system was last booted.&lt;/div&gt;
&lt;div class="courier"&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style="color: blue;"&gt;&amp;nbsp;&amp;nbsp; 0
          swap ins&lt;br /&gt;
          &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0 swap outs&lt;br /&gt;
          &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0 pages swapped in&lt;br /&gt;
          &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0 pages swapped out&lt;br /&gt;
          409376480 total address trans. faults taken&lt;br /&gt;
          &amp;nbsp; 3075036 page ins&lt;br /&gt;
          &amp;nbsp; 2601555 page outs&lt;br /&gt;
          &amp;nbsp; 3812452 pages paged in&lt;br /&gt;
          &amp;nbsp; 6525552 pages paged out&lt;br /&gt;
          &amp;nbsp;11007609 total reclaims&lt;br /&gt;
          &amp;nbsp;10927650 reclaims from free list&lt;br /&gt;
          &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0 micro (hat) faults&lt;br /&gt;
          409376480 minor (as) faults&lt;br /&gt;
          &amp;nbsp; 2957386 major faults&lt;br /&gt;
          102738273 copy-on-write faults&lt;br /&gt;
          &amp;nbsp;61711047 zero fill page faults&lt;br /&gt;
          1002562077 pages examined by the clock daemon&lt;br /&gt;
          &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 7881 revolutions of the clock hand&lt;br /&gt;
          &amp;nbsp;16716370 pages freed by the clock daemon&lt;br /&gt;
          &amp;nbsp; 4999048 forks&lt;br /&gt;
          &amp;nbsp; 1138206 vforks&lt;br /&gt;
          &amp;nbsp; 5747009 execs&lt;br /&gt;
          741660225 cpu context switches&lt;br /&gt;
          736047593 device interrupts&lt;br /&gt;
          528054538 traps&lt;br /&gt;
          2496638575 system calls&lt;br /&gt;
          430283487 total name lookups (cache hits 95%)&lt;br /&gt;
          &amp;nbsp;&amp;nbsp;&amp;nbsp; 81727 toolong&lt;br /&gt;
          &amp;nbsp;10484677 user&amp;nbsp;&amp;nbsp; cpu&lt;br /&gt;
          &amp;nbsp; 9528364 system cpu&lt;br /&gt;
          443762786 idle&amp;nbsp;&amp;nbsp; cpu&lt;br /&gt;
          &amp;nbsp;16281790 wait&amp;nbsp;&amp;nbsp; cpu&lt;/span&gt;&lt;/div&gt;
&lt;div class="header"&gt;
How to Display Swapping Statistics&lt;/div&gt;
&lt;div class="PARA"&gt;
Run &lt;span style="font-family: Courier New;"&gt;&lt;b&gt;vmstat -S&lt;/b&gt;&lt;/span&gt; to show swapping
          statistics.&lt;/div&gt;
&lt;div class="courier"&gt;
&amp;nbsp;&lt;span style="color: blue;"&gt;procs&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
          memory&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
          page&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
          disk&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
          faults&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; cpu&lt;br /&gt;
          &amp;nbsp;r b w&amp;nbsp;&amp;nbsp; swap&amp;nbsp; free&amp;nbsp; &lt;b&gt;si&lt;/b&gt;&amp;nbsp; &lt;b&gt;so&lt;/b&gt; pi po fr de sr m1
          m3 m4 m5&amp;nbsp;&amp;nbsp; in&amp;nbsp;&amp;nbsp; sy&amp;nbsp;&amp;nbsp; cs us sy id&lt;br /&gt;
          &amp;nbsp;0 0 0&amp;nbsp;&amp;nbsp; 8512&amp;nbsp;&amp;nbsp; 888&amp;nbsp;&amp;nbsp; 0&amp;nbsp;&amp;nbsp; 0 12 21 55&amp;nbsp; 0
          417 1&amp;nbsp; 0&amp;nbsp; 0&amp;nbsp; 0&amp;nbsp; 206 1040&amp;nbsp; 308&amp;nbsp; 2&amp;nbsp; 2 96&lt;/span&gt;&lt;/div&gt;
&lt;div class="courier"&gt;
si = Average number of LWPs swapped in per second&lt;br /&gt;
so = Number of whole processes swapped out&lt;/div&gt;
&lt;div class="header"&gt;
How to Display Disk Utilization Information (iostat)&lt;/div&gt;
&lt;div class="PARA"&gt;
You can display disk activity information by using the &lt;span style="font-family: Courier New;"&gt;&lt;b&gt;iostat&lt;/b&gt;&lt;/span&gt; command with a time interval. The following example
          shows disk statistics gathered every five seconds.&lt;/div&gt;
&lt;div class="courier"&gt;
&lt;b&gt;iostat 5&lt;/b&gt;&lt;/div&gt;
&lt;div class="courier"&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style="color: blue;"&gt;tty&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
          md1&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
          md3&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
          md4&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
          md5&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; cpu&lt;br /&gt;
          &amp;nbsp;tin tout kps tps serv&amp;nbsp; kps tps serv&amp;nbsp; kps tps serv&amp;nbsp; kps tps
          serv&amp;nbsp; us sy wt id&lt;br /&gt;
          &amp;nbsp;&amp;nbsp; 0&amp;nbsp;&amp;nbsp;&amp;nbsp; 2&amp;nbsp; 10&amp;nbsp;&amp;nbsp; 1&amp;nbsp;&amp;nbsp;
          28&amp;nbsp;&amp;nbsp;&amp;nbsp; 2&amp;nbsp;&amp;nbsp; 0&amp;nbsp;&amp;nbsp; 22&amp;nbsp;&amp;nbsp;&amp;nbsp; 0&amp;nbsp;&amp;nbsp;
          0&amp;nbsp;&amp;nbsp;&amp;nbsp; 0&amp;nbsp;&amp;nbsp;&amp;nbsp; 1&amp;nbsp;&amp;nbsp; 0&amp;nbsp;&amp;nbsp; 10&amp;nbsp;&amp;nbsp;
          2&amp;nbsp; 2&amp;nbsp; 3 92&lt;br /&gt;
          &amp;nbsp;&amp;nbsp; 0&amp;nbsp;&amp;nbsp; 47&amp;nbsp; 58&amp;nbsp;&amp;nbsp; 7&amp;nbsp;&amp;nbsp; 39&amp;nbsp;&amp;nbsp;
          16&amp;nbsp;&amp;nbsp; 2&amp;nbsp;&amp;nbsp; 34&amp;nbsp;&amp;nbsp;&amp;nbsp; 0&amp;nbsp;&amp;nbsp; 0&amp;nbsp;&amp;nbsp;&amp;nbsp;
          0&amp;nbsp;&amp;nbsp;&amp;nbsp; 0&amp;nbsp;&amp;nbsp; 0&amp;nbsp;&amp;nbsp;&amp;nbsp; 0&amp;nbsp;&amp;nbsp; 0&amp;nbsp; 2 19 78&lt;br /&gt;
          &amp;nbsp;&amp;nbsp; 0&amp;nbsp;&amp;nbsp; 16&amp;nbsp;&amp;nbsp; 0&amp;nbsp;&amp;nbsp; 0&amp;nbsp;&amp;nbsp;&amp;nbsp;
          0&amp;nbsp;&amp;nbsp;&amp;nbsp; 0&amp;nbsp;&amp;nbsp; 0&amp;nbsp;&amp;nbsp;&amp;nbsp; 0&amp;nbsp;&amp;nbsp;&amp;nbsp; 0&amp;nbsp;&amp;nbsp;
          0&amp;nbsp;&amp;nbsp;&amp;nbsp; 0&amp;nbsp;&amp;nbsp;&amp;nbsp; 0&amp;nbsp;&amp;nbsp; 0&amp;nbsp;&amp;nbsp;&amp;nbsp; 0&amp;nbsp;&amp;nbsp;
          0&amp;nbsp; 1&amp;nbsp; 0 98&lt;br /&gt;
          &amp;nbsp;&amp;nbsp; 0&amp;nbsp;&amp;nbsp; 16&amp;nbsp;&amp;nbsp; 0&amp;nbsp;&amp;nbsp; 0&amp;nbsp;&amp;nbsp;&amp;nbsp;
          0&amp;nbsp;&amp;nbsp;&amp;nbsp; 0&amp;nbsp;&amp;nbsp; 0&amp;nbsp;&amp;nbsp;&amp;nbsp; 0&amp;nbsp;&amp;nbsp;&amp;nbsp; 0&amp;nbsp;&amp;nbsp;
          0&amp;nbsp;&amp;nbsp;&amp;nbsp; 0&amp;nbsp;&amp;nbsp;&amp;nbsp; 0&amp;nbsp;&amp;nbsp; 0&amp;nbsp;&amp;nbsp;&amp;nbsp; 0&amp;nbsp;&amp;nbsp;
          0&amp;nbsp; 0&amp;nbsp; 1 99&lt;br /&gt;
          &amp;nbsp;&amp;nbsp; 0&amp;nbsp;&amp;nbsp; 16&amp;nbsp;&amp;nbsp; 2&amp;nbsp;&amp;nbsp; 0&amp;nbsp;&amp;nbsp;
          22&amp;nbsp;&amp;nbsp;&amp;nbsp; 0&amp;nbsp;&amp;nbsp; 0&amp;nbsp;&amp;nbsp;&amp;nbsp; 0&amp;nbsp;&amp;nbsp;&amp;nbsp; 0&amp;nbsp;&amp;nbsp;
          0&amp;nbsp;&amp;nbsp;&amp;nbsp; 0&amp;nbsp;&amp;nbsp;&amp;nbsp; 0&amp;nbsp;&amp;nbsp; 0&amp;nbsp;&amp;nbsp;&amp;nbsp; 0&amp;nbsp;&amp;nbsp;
          2&amp;nbsp; 3&amp;nbsp; 1 95&lt;br /&gt;
          &amp;nbsp;&amp;nbsp; 0&amp;nbsp;&amp;nbsp; 24&amp;nbsp;&amp;nbsp; 0&amp;nbsp;&amp;nbsp; 0&amp;nbsp;&amp;nbsp;&amp;nbsp;
          0&amp;nbsp;&amp;nbsp;&amp;nbsp; 0&amp;nbsp;&amp;nbsp; 0&amp;nbsp;&amp;nbsp;&amp;nbsp; 0&amp;nbsp;&amp;nbsp;&amp;nbsp; 0&amp;nbsp;&amp;nbsp;
          0&amp;nbsp;&amp;nbsp;&amp;nbsp; 0&amp;nbsp;&amp;nbsp;&amp;nbsp; 0&amp;nbsp;&amp;nbsp; 0&amp;nbsp;&amp;nbsp;&amp;nbsp; 0&amp;nbsp;&amp;nbsp;
          0&amp;nbsp; 1&amp;nbsp; 1 98&lt;/span&gt;&lt;/div&gt;
&lt;table border="1" cellpadding="3" cellspacing="0" style="border-collapse: collapse;"&gt;
            
            
            
            
            
            &lt;tbody&gt;
&lt;tr&gt;
                &lt;th align="left" valign="middle"&gt;&lt;div class="normal"&gt;
For Each ...&lt;/div&gt;
&lt;/th&gt;
                &lt;th align="left" valign="middle"&gt;&lt;div class="normal"&gt;
Field Name&lt;/div&gt;
&lt;/th&gt;
                &lt;th align="left" valign="middle"&gt;&lt;div class="normal"&gt;
Description&lt;/div&gt;
&lt;/th&gt;
              &lt;/tr&gt;
&lt;tr&gt;
                &lt;td align="left" valign="middle"&gt;&lt;div class="normal"&gt;
Terminal&lt;/div&gt;
&lt;/td&gt;
                &lt;td align="left" valign="middle"&gt;&lt;div class="normal"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/td&gt;
                &lt;td align="left" valign="middle"&gt;&lt;div class="normal"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/td&gt;
              &lt;/tr&gt;
&lt;tr&gt;
                &lt;td align="left" valign="middle"&gt;&lt;div class="normal"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/td&gt;
                &lt;td align="left" valign="middle"&gt;&lt;div class="normal"&gt;
tin&lt;/div&gt;
&lt;/td&gt;
                &lt;td align="left" valign="middle"&gt;&lt;div class="normal"&gt;
Number of characters in the terminal input queue&lt;/div&gt;
&lt;/td&gt;
              &lt;/tr&gt;
&lt;tr&gt;
                &lt;td align="left" valign="middle"&gt;&lt;div class="normal"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/td&gt;
                &lt;td align="left" valign="middle"&gt;&lt;div class="normal"&gt;
tout&lt;/div&gt;
&lt;/td&gt;
                &lt;td align="left" valign="middle"&gt;&lt;div class="normal"&gt;
Number of characters in the terminal output queue&lt;/div&gt;
&lt;/td&gt;
              &lt;/tr&gt;
&lt;tr&gt;
                &lt;td align="left" valign="middle"&gt;&lt;div class="normal"&gt;
Disk&lt;/div&gt;
&lt;/td&gt;
                &lt;td align="left" valign="middle"&gt;&lt;div class="normal"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/td&gt;
                &lt;td align="left" valign="middle"&gt;&lt;div class="normal"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/td&gt;
              &lt;/tr&gt;
&lt;tr&gt;
                &lt;td align="left" valign="middle"&gt;&lt;div class="normal"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/td&gt;
                &lt;td align="left" valign="middle"&gt;&lt;div class="normal"&gt;
bps&lt;/div&gt;
&lt;/td&gt;
                &lt;td align="left" valign="middle"&gt;&lt;div class="normal"&gt;
Blocks per second&lt;/div&gt;
&lt;/td&gt;
              &lt;/tr&gt;
&lt;tr&gt;
                &lt;td align="left" valign="middle"&gt;&lt;div class="normal"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/td&gt;
                &lt;td align="left" valign="middle"&gt;&lt;div class="normal"&gt;
tps&lt;/div&gt;
&lt;/td&gt;
                &lt;td align="left" valign="middle"&gt;&lt;div class="normal"&gt;
Transactions per second&lt;/div&gt;
&lt;/td&gt;
              &lt;/tr&gt;
&lt;tr&gt;
                &lt;td align="left" valign="middle"&gt;&lt;div class="normal"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/td&gt;
                &lt;td align="left" valign="middle"&gt;&lt;div class="normal"&gt;
serv&lt;/div&gt;
&lt;/td&gt;
                &lt;td align="left" valign="middle"&gt;&lt;div class="normal"&gt;
Average service time, in milliseconds&lt;/div&gt;
&lt;/td&gt;
              &lt;/tr&gt;
&lt;tr&gt;
                &lt;td align="left" valign="middle"&gt;&lt;div class="normal"&gt;
CPU&lt;/div&gt;
&lt;/td&gt;
                &lt;td align="left" valign="middle"&gt;&lt;div class="normal"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/td&gt;
                &lt;td align="left" valign="middle"&gt;&lt;div class="normal"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/td&gt;
              &lt;/tr&gt;
&lt;tr&gt;
                &lt;td align="left" valign="middle"&gt;&lt;div class="normal"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/td&gt;
                &lt;td align="left" valign="middle"&gt;&lt;div class="normal"&gt;
us&lt;/div&gt;
&lt;/td&gt;
                &lt;td align="left" valign="middle"&gt;&lt;div class="normal"&gt;
In user mode&lt;/div&gt;
&lt;/td&gt;
              &lt;/tr&gt;
&lt;tr&gt;
                &lt;td align="left" valign="middle"&gt;&lt;div class="normal"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/td&gt;
                &lt;td align="left" valign="middle"&gt;&lt;div class="normal"&gt;
sy&lt;/div&gt;
&lt;/td&gt;
                &lt;td align="left" valign="middle"&gt;&lt;div class="normal"&gt;
In system mode&lt;/div&gt;
&lt;/td&gt;
              &lt;/tr&gt;
&lt;tr&gt;
                &lt;td align="left" valign="middle"&gt;&lt;div class="normal"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/td&gt;
                &lt;td align="left" valign="middle"&gt;&lt;div class="normal"&gt;
wt&lt;/div&gt;
&lt;/td&gt;
                &lt;td align="left" valign="middle"&gt;&lt;div class="normal"&gt;
Waiting for I/O&lt;/div&gt;
&lt;/td&gt;
              &lt;/tr&gt;
&lt;tr&gt;
                &lt;td align="left" valign="middle"&gt;&lt;div class="normal"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/td&gt;
                &lt;td align="left" valign="middle"&gt;&lt;div class="normal"&gt;
id&lt;/div&gt;
&lt;/td&gt;
                &lt;td align="left" valign="middle"&gt;&lt;div class="normal"&gt;
Idle&lt;/div&gt;
&lt;/td&gt;
              &lt;/tr&gt;
&lt;/tbody&gt;
          &lt;/table&gt;
&lt;div class="header"&gt;
How to Display Extended Disk Statistics&lt;/div&gt;
&lt;div class="normal"&gt;
Run &lt;span style="font-family: Courier New;"&gt;&lt;b&gt;iostat -xtc&lt;/b&gt;&lt;/span&gt; to get extended
          disk statistics. This command displays a line of output for each disk.&lt;/div&gt;
&lt;div class="courier"&gt;
&lt;span style="color: blue;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
          extended device statistics&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
          tty&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; cpu&lt;br /&gt;
          device&amp;nbsp;&amp;nbsp;&amp;nbsp; r/s&amp;nbsp; w/s&amp;nbsp;&amp;nbsp; kr/s&amp;nbsp;&amp;nbsp; kw/s wait actv&amp;nbsp;
          svc_t&amp;nbsp; %w&amp;nbsp; %b&amp;nbsp; tin tout us sy wt id&lt;br /&gt;
          md1&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0.4&amp;nbsp; 0.9&amp;nbsp;&amp;nbsp;&amp;nbsp;
          3.6&amp;nbsp;&amp;nbsp;&amp;nbsp; 6.9&amp;nbsp; 0.0&amp;nbsp; 0.0&amp;nbsp;&amp;nbsp; 27.7&amp;nbsp;&amp;nbsp; 1&amp;nbsp;&amp;nbsp;
          1&amp;nbsp;&amp;nbsp;&amp;nbsp; 0&amp;nbsp;&amp;nbsp;&amp;nbsp; 2&amp;nbsp; 2&amp;nbsp; 2&amp;nbsp; 3 92&lt;br /&gt;
          md3&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0.1&amp;nbsp; 0.2&amp;nbsp;&amp;nbsp;&amp;nbsp;
          1.0&amp;nbsp;&amp;nbsp;&amp;nbsp; 1.3&amp;nbsp; 0.0&amp;nbsp; 0.0&amp;nbsp;&amp;nbsp; 21.7&amp;nbsp;&amp;nbsp; 0&amp;nbsp;&amp;nbsp;
          0&lt;br /&gt;
          md4&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0.0&amp;nbsp; 0.0&amp;nbsp;&amp;nbsp;&amp;nbsp;
          0.0&amp;nbsp;&amp;nbsp;&amp;nbsp; 0.0&amp;nbsp; 0.0&amp;nbsp; 0.0&amp;nbsp;&amp;nbsp;&amp;nbsp; 0.0&amp;nbsp;&amp;nbsp;
          0&amp;nbsp;&amp;nbsp; 0&lt;br /&gt;
          md5&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0.0&amp;nbsp; 0.0&amp;nbsp;&amp;nbsp;&amp;nbsp;
          0.7&amp;nbsp;&amp;nbsp;&amp;nbsp; 0.0&amp;nbsp; 0.0&amp;nbsp; 0.0&amp;nbsp;&amp;nbsp;&amp;nbsp; 9.9&amp;nbsp;&amp;nbsp;
          0&amp;nbsp;&amp;nbsp; 0&lt;br /&gt;
          md8&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0.8&amp;nbsp; 0.3&amp;nbsp;&amp;nbsp;&amp;nbsp; 6.7&amp;nbsp;&amp;nbsp;
          14.2&amp;nbsp; 0.0&amp;nbsp; 0.0&amp;nbsp;&amp;nbsp; 13.1&amp;nbsp;&amp;nbsp; 0&amp;nbsp;&amp;nbsp; 1&lt;br /&gt;
          md10&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0.2&amp;nbsp; 0.9&amp;nbsp;&amp;nbsp;&amp;nbsp; 1.8&amp;nbsp;&amp;nbsp;&amp;nbsp;
          6.8&amp;nbsp; 0.0&amp;nbsp; 0.0&amp;nbsp;&amp;nbsp; 15.5&amp;nbsp;&amp;nbsp; 0&amp;nbsp;&amp;nbsp; 1&lt;br /&gt;
          md11&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0.2&amp;nbsp; 0.9&amp;nbsp;&amp;nbsp;&amp;nbsp; 1.8&amp;nbsp;&amp;nbsp;&amp;nbsp;
          6.8&amp;nbsp; 0.0&amp;nbsp; 0.0&amp;nbsp;&amp;nbsp; 14.8&amp;nbsp;&amp;nbsp; 0&amp;nbsp;&amp;nbsp; 1&lt;br /&gt;
          md30&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0.0&amp;nbsp; 0.2&amp;nbsp;&amp;nbsp;&amp;nbsp; 0.5&amp;nbsp;&amp;nbsp;&amp;nbsp;
          1.3&amp;nbsp; 0.0&amp;nbsp; 0.0&amp;nbsp;&amp;nbsp; 11.4&amp;nbsp;&amp;nbsp; 0&amp;nbsp;&amp;nbsp; 0&lt;br /&gt;
          md31&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0.0&amp;nbsp; 0.2&amp;nbsp;&amp;nbsp;&amp;nbsp; 0.5&amp;nbsp;&amp;nbsp;&amp;nbsp;
          1.3&amp;nbsp; 0.0&amp;nbsp; 0.0&amp;nbsp;&amp;nbsp; 10.2&amp;nbsp;&amp;nbsp; 0&amp;nbsp;&amp;nbsp; 0&lt;br /&gt;
          md40&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0.0&amp;nbsp; 0.0&amp;nbsp;&amp;nbsp;&amp;nbsp; 0.0&amp;nbsp;&amp;nbsp;&amp;nbsp;
          0.0&amp;nbsp; 0.0&amp;nbsp; 0.0&amp;nbsp;&amp;nbsp;&amp;nbsp; 0.0&amp;nbsp;&amp;nbsp; 0&amp;nbsp;&amp;nbsp; 0&lt;br /&gt;
          md41&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0.0&amp;nbsp; 0.0&amp;nbsp;&amp;nbsp;&amp;nbsp; 0.0&amp;nbsp;&amp;nbsp;&amp;nbsp;
          0.0&amp;nbsp; 0.0&amp;nbsp; 0.0&amp;nbsp;&amp;nbsp;&amp;nbsp; 0.0&amp;nbsp;&amp;nbsp; 0&amp;nbsp;&amp;nbsp; 0&lt;br /&gt;
          md50&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0.0&amp;nbsp; 0.0&amp;nbsp;&amp;nbsp;&amp;nbsp; 0.4&amp;nbsp;&amp;nbsp;&amp;nbsp;
          0.0&amp;nbsp; 0.0&amp;nbsp; 0.0&amp;nbsp;&amp;nbsp;&amp;nbsp; 9.4&amp;nbsp;&amp;nbsp; 0&amp;nbsp;&amp;nbsp; 0&lt;br /&gt;
          md51&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0.0&amp;nbsp; 0.0&amp;nbsp;&amp;nbsp;&amp;nbsp; 0.4&amp;nbsp;&amp;nbsp;&amp;nbsp;
          0.0&amp;nbsp; 0.0&amp;nbsp; 0.0&amp;nbsp;&amp;nbsp;&amp;nbsp; 7.3&amp;nbsp;&amp;nbsp; 0&amp;nbsp;&amp;nbsp; 0&lt;br /&gt;
          md80&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0.4&amp;nbsp; 0.3&amp;nbsp;&amp;nbsp;&amp;nbsp; 3.3&amp;nbsp;&amp;nbsp;
          14.2&amp;nbsp; 0.0&amp;nbsp; 0.0&amp;nbsp;&amp;nbsp; 10.3&amp;nbsp;&amp;nbsp; 0&amp;nbsp;&amp;nbsp; 0&lt;br /&gt;
          md81&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0.4&amp;nbsp; 0.3&amp;nbsp;&amp;nbsp;&amp;nbsp; 3.3&amp;nbsp;&amp;nbsp;
          14.2&amp;nbsp; 0.0&amp;nbsp; 0.0&amp;nbsp;&amp;nbsp; 11.7&amp;nbsp;&amp;nbsp; 0&amp;nbsp;&amp;nbsp; 1&lt;br /&gt;
          sd0&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0.6&amp;nbsp; 2.1&amp;nbsp;&amp;nbsp;&amp;nbsp; 6.0&amp;nbsp;&amp;nbsp;
          22.8&amp;nbsp; 0.0&amp;nbsp; 0.0&amp;nbsp;&amp;nbsp; 16.3&amp;nbsp;&amp;nbsp; 0&amp;nbsp;&amp;nbsp; 3&lt;br /&gt;
          sd1&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0.6&amp;nbsp; 2.1&amp;nbsp;&amp;nbsp;&amp;nbsp; 6.0&amp;nbsp;&amp;nbsp;
          22.8&amp;nbsp; 0.0&amp;nbsp; 0.0&amp;nbsp;&amp;nbsp; 15.2&amp;nbsp;&amp;nbsp; 0&amp;nbsp;&amp;nbsp; 2&lt;/span&gt;&lt;/div&gt;
&lt;table border="1" cellpadding="3" cellspacing="0" style="border-collapse: collapse;"&gt;
            &lt;tbody&gt;
&lt;tr&gt;
              &lt;th align="left" valign="middle"&gt;&lt;div class="normal"&gt;
Field Name&lt;/div&gt;
&lt;/th&gt;
              &lt;th align="left" valign="middle"&gt;&lt;div class="normal"&gt;
Description&lt;/div&gt;
&lt;/th&gt;
            &lt;/tr&gt;
&lt;tr&gt;
              &lt;td align="left" valign="middle"&gt;&lt;div class="normal"&gt;
r/s&lt;/div&gt;
&lt;/td&gt;
              &lt;td align="left" valign="middle"&gt;&lt;div class="normal"&gt;
Reads per second&lt;/div&gt;
&lt;/td&gt;
            &lt;/tr&gt;
&lt;tr&gt;
              &lt;td align="left" valign="middle"&gt;&lt;div class="normal"&gt;
w/s&lt;/div&gt;
&lt;/td&gt;
              &lt;td align="left" valign="middle"&gt;&lt;div class="normal"&gt;
Writes per second&lt;/div&gt;
&lt;/td&gt;
            &lt;/tr&gt;
&lt;tr&gt;
              &lt;td align="left" valign="middle"&gt;&lt;div class="normal"&gt;
Kr/s&lt;/div&gt;
&lt;/td&gt;
              &lt;td align="left" valign="middle"&gt;&lt;div class="normal"&gt;
Kbytes read per second&lt;/div&gt;
&lt;/td&gt;
            &lt;/tr&gt;
&lt;tr&gt;
              &lt;td align="left" valign="middle"&gt;&lt;div class="normal"&gt;
Kw/s&lt;/div&gt;
&lt;/td&gt;
              &lt;td align="left" valign="middle"&gt;&lt;div class="normal"&gt;
Kbytes written per second&lt;/div&gt;
&lt;/td&gt;
            &lt;/tr&gt;
&lt;tr&gt;
              &lt;td align="left" valign="middle"&gt;&lt;div class="normal"&gt;
wait&lt;/div&gt;
&lt;/td&gt;
              &lt;td align="left" valign="middle"&gt;&lt;div class="normal"&gt;
Average number of transactions waiting for service (queue
                length)&lt;/div&gt;
&lt;/td&gt;
            &lt;/tr&gt;
&lt;tr&gt;
              &lt;td align="left" valign="middle"&gt;&lt;div class="normal"&gt;
actv&lt;/div&gt;
&lt;/td&gt;
              &lt;td align="left" valign="middle"&gt;&lt;div class="normal"&gt;
Average number of transactions actively being serviced&lt;/div&gt;
&lt;/td&gt;
            &lt;/tr&gt;
&lt;tr&gt;
              &lt;td align="left" valign="middle"&gt;&lt;div class="normal"&gt;
svc_t&lt;/div&gt;
&lt;/td&gt;
              &lt;td align="left" valign="middle"&gt;&lt;div class="normal"&gt;
Average service time, in milliseconds&lt;/div&gt;
&lt;/td&gt;
            &lt;/tr&gt;
&lt;tr&gt;
              &lt;td align="left" valign="middle"&gt;&lt;div class="normal"&gt;
%w&lt;/div&gt;
&lt;/td&gt;
              &lt;td align="left" valign="middle"&gt;&lt;div class="normal"&gt;
Percentage of time the queue is not empty&lt;/div&gt;
&lt;/td&gt;
            &lt;/tr&gt;
&lt;tr&gt;
              &lt;td align="left" valign="middle"&gt;&lt;div class="normal"&gt;
%b&lt;/div&gt;
&lt;/td&gt;
              &lt;td align="left" valign="middle"&gt;&lt;div class="normal"&gt;
Percentage of time the disk is busy&lt;/div&gt;
&lt;/td&gt;
            &lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;div class="header"&gt;
How to Check CPU Utilization (sar)&lt;/div&gt;
&lt;div class="normal"&gt;
Display CPU utilization with the sar -u command. (The sar command
          without any options is equivalent to sar -u.) At any given moment, the processor is
          either busy or idle. When busy, the processor is in either user or system mode. When
          idle, the processor is either waiting for I/O completion or "sitting still" with no work
          to do.&lt;/div&gt;
&lt;div class="normal"&gt;
Measure CPU utilization during 5 secs one time.&lt;/div&gt;
&lt;div class="courier"&gt;
&lt;b&gt;sar -u 5 1&lt;/b&gt;&lt;/div&gt;
&lt;div class="normal"&gt;
Measure CPU utilization during 60 secs 1440 times and write result in
          file sar.log.&lt;/div&gt;
&lt;div class="courier"&gt;
&lt;b&gt;sar -u -o sar.log 60 1440&amp;nbsp;&lt;/b&gt;&lt;/div&gt;
&lt;div class="normal"&gt;
To later review disk and tape activity from that period:&lt;/div&gt;
&lt;div class="courier"&gt;
&lt;b&gt;sar -d -f sar.log&lt;/b&gt;&lt;/div&gt;
&lt;table border="1" cellpadding="3" cellspacing="0" style="border-collapse: collapse;"&gt;
            
            
            
            
            &lt;tbody&gt;
&lt;tr&gt;
                &lt;th align="left" valign="middle"&gt;&lt;div class="normal"&gt;
Field Name&lt;/div&gt;
&lt;/th&gt;
                &lt;th align="left" valign="middle"&gt;&lt;div class="normal"&gt;
Description&lt;/div&gt;
&lt;/th&gt;
              &lt;/tr&gt;
&lt;tr&gt;
                &lt;td align="left" valign="middle"&gt;&lt;div class="normal"&gt;
%sys&lt;/div&gt;
&lt;/td&gt;
                &lt;td align="left" valign="middle"&gt;&lt;div class="normal"&gt;
Lists the percentage of time that the processor is in system
                  mode&lt;/div&gt;
&lt;/td&gt;
              &lt;/tr&gt;
&lt;tr&gt;
                &lt;td align="left" valign="middle"&gt;&lt;div class="normal"&gt;
%user&lt;/div&gt;
&lt;/td&gt;
                &lt;td align="left" valign="middle"&gt;&lt;div class="normal"&gt;
Lists the percentage of time that the processor is in user
                  mode&lt;/div&gt;
&lt;/td&gt;
              &lt;/tr&gt;
&lt;tr&gt;
                &lt;td align="left" valign="middle"&gt;&lt;div class="normal"&gt;
%wio&lt;/div&gt;
&lt;/td&gt;
                &lt;td align="left" valign="middle"&gt;&lt;div class="normal"&gt;
Lists the percentage of time the processor is idle and waiting
                  for I/O completion&lt;/div&gt;
&lt;/td&gt;
              &lt;/tr&gt;
&lt;tr&gt;
                &lt;td align="left" valign="middle"&gt;&lt;div class="normal"&gt;
%idle&lt;/div&gt;
&lt;/td&gt;
                &lt;td align="left" valign="middle"&gt;&lt;div class="normal"&gt;
Lists the percentage of time the processor is idle and is not
                  waiting for I/O&lt;/div&gt;
&lt;/td&gt;
              &lt;/tr&gt;
&lt;/tbody&gt;
          &lt;/table&gt;
&lt;div class="normal"&gt;
&lt;b&gt;A high %wio generally means a disk slowdown has occurred.&lt;/b&gt;&lt;/div&gt;
&lt;/blockquote&gt;
&lt;h1 align="left"&gt;



&amp;nbsp;&lt;img border="0" height="10" src="http://www.akadia.com/img/bullet-gruen.gif" width="15" /&gt; &lt;a href="http://www.blogger.com/blogger.g?blogID=4827842540624707460" name="Enable file system journaling on Solaris 7 and 8"&gt;Enable file system
        journaling on Solaris 7 and 8&lt;/a&gt;&lt;/h1&gt;
&lt;blockquote&gt;
&lt;div align="left" class="normal"&gt;
Solaris 7 and 8 include a native implementation of file
          system journaling. This feature, known as &lt;b&gt;"intent logging"&lt;/b&gt; or just "logging"
          enables FASTER file system operation and FASTER system boot.&amp;nbsp;&lt;/div&gt;
&lt;div align="left" class="normal"&gt;
It's trivial to implement and safe to use. The new logging
          feature is an option to the Unix File System (UFS), which is the standard file system for
          all disk partitions on SUN servers, except for partitions holding swap space. By default,
          the journaling option is disabled. Logging is enabled on a per file system basis, and it
          can even be enabled on / (root file system) and other operating system partitions.&lt;/div&gt;
&lt;div align="left" class="header"&gt;
Background&lt;/div&gt;
&lt;div align="left" class="normal"&gt;
Solaris UFS logging works by allocating space from the
          file system's free blocks. Within that space, all metadata changes to the file system are
          written. Metadata includes directory and I-node information but not file data blocks,
          essentially everything but the actual data within the file. So, for example, a "file
          create" modifies the directory structure and allocates a new I-node, and those activities
          are written to the logging space. Once the metadata changes are made to the logging area,
          the system is free to perform other operations to the file system. In the background, the
          information in the log is flushed to the file system and updates the appropriate
          directory and I-node structures, completing the file system operations.&lt;/div&gt;
&lt;div align="left" class="normal"&gt;
The logging data is written sequentially within the log
          space. It's therefore much faster for the operating system to complete metadata changes
          via logging and background flushing than by directly modifying the metadata (via random
          I/O) spread across the disk. The size of the logging space is based on the size of the
          file system, and equals 1 MB per 1 GB of file system space, up to 64 MB. The space is
          used as a circular log: if the log space is about to fill up, new metadata change
          requests are paused while the log is emptied. As changes are moved from the log to the
          file system, that log space is made available, and new metadata changes can be written to
          the logging space.&lt;/div&gt;
&lt;div align="left" class="normal"&gt;
Usually with UFS, if the system crashes during any file
          system operation, the entire system must have its consistency checked via the fsck
          command. That command can take several minutes per file system because it checks all
          metadata and file data to ensure the structures are correct, free, and used, and that the
          I-node block counts are correct. It also confirms that the free space available is
          current, repairs inconsistencies, and occasionally requires manual intervention to fix
          large problems. Files and even directories can be lost, depending on the operations
          occurring at the time of the crash.&amp;nbsp;&lt;/div&gt;
&lt;div align="left" class="normal"&gt;
Because metadata changes are made first to the log space
          rather than to the file system, the consistency check for a logged file system after a
          crash is a simple and fast operation. The system evaluates the logging data and
          determines which changes had completed against the underlying file system, which had yet
          to start, and which were in progress. Those completed or not yet started are removed from
          the log, and those partly completed are either undone or completed. If there's sufficient
          data in the log to complete the operation, it's completed. Otherwise, the changes made
          are removed from the underlying file system.&lt;/div&gt;
&lt;div align="left" class="normal"&gt;
People familiar with database operation will recognize the
          similarity between database transaction processing and the activities here. The end
          result is that the underlying file system is consistent, and no thorough consistency
          checking is needed. That operation completes in a few seconds per file system.&lt;/div&gt;
&lt;div align="left" class="header"&gt;
Using logging&lt;/div&gt;
&lt;div align="left" class="normal"&gt;
Starting with Solaris 7, there's a new logging option to
          the mount command and in the &lt;b&gt;/etc/vfstab&lt;/b&gt; system configuration file. Logging only
          appears in a couple other places within Solaris. The mount command shows which partitions
          are mounted and lists logging in the options fields for each partition on which logging
          is enabled. Finally, at system boot time, the fsck phase reports per partition whether
          each is stable, logging, or being checked. There are no other status commands available
          to determine the state of logging.&lt;/div&gt;
&lt;div class="courier"&gt;
A = Device to mount&lt;br /&gt;
B = Device to fsck&lt;br /&gt;
C = Mount point&lt;br /&gt;
D = Filesystem Type&lt;br /&gt;
E = Fsck pass (unimportatnt with logging)&lt;br /&gt;
F = Mount at boot&lt;br /&gt;
G = Mount options&lt;/div&gt;
&lt;div class="courier"&gt;
&lt;span style="color: blue;"&gt;#
          ------------------------------------------------------------------&lt;br /&gt;
          #
          A&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
          B&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
          C&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; D&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; E&amp;nbsp;&amp;nbsp;
          F&amp;nbsp;&amp;nbsp; G&lt;br /&gt;
          # ------------------------------------------------------------------&lt;br /&gt;
          fd&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
          -&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
          /dev/fd fd&amp;nbsp;&amp;nbsp;&amp;nbsp; -&amp;nbsp;&amp;nbsp; no&amp;nbsp; -&lt;br /&gt;
          /proc&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
          -&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
          /proc&amp;nbsp;&amp;nbsp; proc&amp;nbsp; -&amp;nbsp;&amp;nbsp; no&amp;nbsp; -&lt;br /&gt;
          /dev/dsk/c0t0d0s3&amp;nbsp;
          -&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
          -&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; swap&amp;nbsp; -&amp;nbsp;&amp;nbsp; no&amp;nbsp; -&lt;br /&gt;
          /dev/dsk/c0t0d0s0&amp;nbsp; /dev/rdsk/c0t0d0s0&amp;nbsp; /&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
          ufs&amp;nbsp;&amp;nbsp; 1&amp;nbsp;&amp;nbsp; no&amp;nbsp; &lt;b&gt;logging&lt;/b&gt;&lt;br /&gt;
          /dev/dsk/c0t0d0s6&amp;nbsp; /dev/rdsk/c0t0d0s6&amp;nbsp; /usr&amp;nbsp;&amp;nbsp;&amp;nbsp; ufs&amp;nbsp;&amp;nbsp;
          2&amp;nbsp;&amp;nbsp; no&amp;nbsp; &lt;b&gt;logging&lt;/b&gt;&lt;br /&gt;
          /dev/dsk/c0t0d0s1&amp;nbsp; /dev/rdsk/c0t0d0s1&amp;nbsp; /var&amp;nbsp;&amp;nbsp;&amp;nbsp; ufs&amp;nbsp;&amp;nbsp;
          3&amp;nbsp;&amp;nbsp; no&amp;nbsp; &lt;b&gt;logging&lt;/b&gt;&lt;br /&gt;
          /dev/dsk/c0t0d0s7&amp;nbsp; /dev/rdsk/c0t0d0s7&amp;nbsp; /home&amp;nbsp;&amp;nbsp; ufs&amp;nbsp;&amp;nbsp;
          4&amp;nbsp;&amp;nbsp; yes &lt;b&gt;logging&lt;/b&gt;&lt;br /&gt;
          /dev/dsk/c0t0d0s5&amp;nbsp; /dev/rdsk/c0t0d0s5&amp;nbsp; /opt&amp;nbsp;&amp;nbsp;&amp;nbsp; ufs&amp;nbsp;&amp;nbsp;
          5&amp;nbsp;&amp;nbsp; yes &lt;b&gt;logging&lt;/b&gt;&lt;br /&gt;
          /dev/dsk/c0t8d0s0&amp;nbsp; /dev/rdsk/c0t8d0s0&amp;nbsp; /u01&amp;nbsp;&amp;nbsp;&amp;nbsp; ufs&amp;nbsp;&amp;nbsp;
          6&amp;nbsp;&amp;nbsp; yes &lt;b&gt;logging&lt;/b&gt;&lt;br /&gt;
          /dev/dsk/c0t9d0s0&amp;nbsp; /dev/rdsk/c0t9d0s0&amp;nbsp; /u02&amp;nbsp;&amp;nbsp;&amp;nbsp; ufs&amp;nbsp;&amp;nbsp;
          7&amp;nbsp;&amp;nbsp; yes &lt;b&gt;logging&lt;/b&gt;&lt;br /&gt;
          /dev/dsk/c0t10d0s0 /dev/rdsk/c0t10d0s0 /u03&amp;nbsp;&amp;nbsp;&amp;nbsp; ufs&amp;nbsp;&amp;nbsp;
          8&amp;nbsp;&amp;nbsp; yes &lt;b&gt;logging&lt;/b&gt;&lt;br /&gt;
          /dev/dsk/c0t11d0s0 /dev/rdsk/c0t11d0s0 /u04&amp;nbsp;&amp;nbsp;&amp;nbsp; ufs&amp;nbsp;&amp;nbsp;
          9&amp;nbsp;&amp;nbsp; yes &lt;b&gt;logging&lt;/b&gt;&lt;br /&gt;
          /dev/dsk/c0t12d0s0 /dev/rdsk/c0t12d0s0 /u05&amp;nbsp;&amp;nbsp;&amp;nbsp; ufs&amp;nbsp;&amp;nbsp; 10&amp;nbsp;
          yes &lt;b&gt;logging&lt;/b&gt;&lt;br /&gt;
          /dev/dsk/c1t13d0s0 /dev/rdsk/c1t13d0s0 /app&amp;nbsp;&amp;nbsp;&amp;nbsp; ufs&amp;nbsp;&amp;nbsp; 11&amp;nbsp;
          yes &lt;b&gt;logging&lt;/b&gt;&lt;br /&gt;
          /dev/dsk/c1t14d0s0 /dev/rdsk/c1t14d0s0 /users&amp;nbsp; ufs&amp;nbsp;&amp;nbsp; 12&amp;nbsp; yes
          &lt;b&gt;logging&lt;/b&gt;&lt;br /&gt;
          swap&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
          -&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
          /tmp&amp;nbsp;&amp;nbsp;&amp;nbsp; tmpfs&amp;nbsp; -&amp;nbsp; yes -&lt;/span&gt;&lt;/div&gt;
&lt;div align="left" class="normal"&gt;
Logging increases performance, decreases fsck time,
          removes the risk of a file system corruption, can be used on all UFS partitions
          (including root), and is free.&lt;/div&gt;
&lt;/blockquote&gt;
&lt;h1 align="left"&gt;



&lt;img height="10" src="http://www.akadia.com/img/bullet-gruen.gif" width="15" /&gt; &lt;a href="http://www.blogger.com/blogger.g?blogID=4827842540624707460" name="Solaris Syslog Daemon Debugging"&gt;Solaris Syslog Daemon Debugging&lt;/a&gt;&lt;/h1&gt;
&lt;blockquote&gt;
&lt;div class="normal"&gt;
The log system messages daemon &lt;b&gt;syslogd&lt;/b&gt; reads and forwards system
          messages to the appropriate log files and/or users, depending upon the priority of a
          message and the system facility from which it originates. The configuration file
          &lt;b&gt;/etc/syslog.conf&lt;/b&gt; controls where messages are forwarded. The syslogd daemon ignores
          any faulty entry in /etc/syslog.conf, specially spaces instead of tabs are not recognized
          by syslogd. Therefore always check the entries in /etc/syslog.conf in the debugging mode
          of syslogd.&lt;/div&gt;
&lt;div class="header"&gt;
How to check /etc/syslog.conf&lt;/div&gt;
&lt;div class="courier"&gt;
# &lt;b&gt;/etc/init.d/syslog stop&lt;/b&gt; # &lt;b&gt;/usr/sbin/syslogd -d&lt;/b&gt;&lt;/div&gt;
&lt;div class="courier"&gt;
&lt;span style="color: blue;"&gt;getnets() found 1 addresses, they are:
          0.0.0.0.2.2&lt;br /&gt;
          amiloghost() testing 193.247.121.196.2.2&lt;br /&gt;
          cfline(*.err;kern.notice;auth.notice&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; /dev/sysmsg)&lt;br /&gt;
          cfline(*.err;kern.debug;daemon.notice&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; /var/adm/messages)&lt;br /&gt;
          cfline(mail.info;mail.debug&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
          /var/log/maillog)&lt;/span&gt;&lt;/div&gt;
&lt;div class="courier"&gt;
&lt;span style="color: red;"&gt;&lt;b&gt;syslogd: line 14: unknown priority name
          "debug&amp;nbsp;&amp;nbsp;&amp;nbsp; /var/log/maillog"&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class="courier"&gt;
&lt;span style="color: blue;"&gt;cfline(*.alert;kern.err;daemon.err&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
          operator)&lt;br /&gt;
          cfline(*.alert&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
          root)&lt;br /&gt;
          cfline(*.emerg&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
          *)&lt;br /&gt;
          cfline(user.err&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
          /dev/sysmsg)&lt;br /&gt;
          cfline(user.err&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
          /var/adm/messages)&lt;br /&gt;
          cfline(user.alert&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
          root, operator)&lt;br /&gt;
          cfline(user.emerg&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
          *)&lt;/span&gt;&lt;/div&gt;
&lt;div class="courier"&gt;
&lt;span style="color: blue;"&gt;syslogd: version 1.70&lt;br /&gt;
          Started: Sat Jan&amp;nbsp; 6 10:11:47 2001&lt;br /&gt;
          Input message count: system 0, network 0&lt;br /&gt;
          # Outputs: 10&lt;/span&gt;&lt;/div&gt;
&lt;div class="courier"&gt;
&lt;span style="color: blue;"&gt;5 3 3 3 5 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3
          X CONSOLE: /dev/sysmsg&lt;br /&gt;
          7 3 3 5 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 X FILE: /var/adm/messages&lt;br /&gt;
          X X 6 X X X X X X X X X X X X X X X X X X X X X X UNUSED:&lt;br /&gt;
          3 1 1 3 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 X USERS: operator&lt;br /&gt;
          1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 X USERS: root&lt;br /&gt;
          0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 X WALL:&lt;br /&gt;
          X 3 X X X X X X X X X X X X X X X X X X X X X X X CONSOLE: /dev/sysmsg&lt;br /&gt;
          X 3 X X X X X X X X X X X X X X X X X X X X X X X FILE: /var/adm/messages&lt;br /&gt;
          X 1 X X X X X X X X X X X X X X X X X X X X X X X USERS: root, operator&lt;br /&gt;
          X 0 X X X X X X X X X X X X X X X X X X X X X X X WALL:&lt;/span&gt;&lt;/div&gt;
&lt;div class="courier"&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
          &lt;span style="color: blue;"&gt;Per File Statistics&lt;br /&gt;
          File&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
          Tot&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Dups&amp;nbsp;&amp;nbsp;&amp;nbsp; Nofwd&amp;nbsp;&amp;nbsp; Errs&lt;br /&gt;
          ----&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
          ---&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ----&amp;nbsp;&amp;nbsp;&amp;nbsp; -----&amp;nbsp;&amp;nbsp; ----&lt;br /&gt;
          /dev/sysmsg&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
          0&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
          0&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0&lt;br /&gt;
          /var/adm/messages&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
          0&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
          0&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0&lt;br /&gt;
          &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
          0&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0&lt;br /&gt;
          operator&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
          0&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
          0&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0&lt;br /&gt;
          root&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
          0&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
          0&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0&lt;br /&gt;
          WALL&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
          0&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
          0&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0&lt;br /&gt;
          /dev/sysmsg&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
          0&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
          0&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0&lt;br /&gt;
          /var/adm/messages&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
          0&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
          0&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0&lt;br /&gt;
          root,operator&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
          0&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
          0&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0&lt;br /&gt;
          WALL&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
          0&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
          0&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0&lt;/span&gt;&lt;/div&gt;
&lt;div class="courier"&gt;
sy&lt;span style="color: blue;"&gt;slogd: restarted&lt;br /&gt;
          off &amp;amp; running....&lt;br /&gt;
          sys_poll blocking, init_cnt=0&lt;/span&gt;&lt;/div&gt;
&lt;div class="courier"&gt;
# &lt;b&gt;^D&lt;/b&gt;&lt;br /&gt;
# &lt;b&gt;/etc/init.d/syslog start&lt;/b&gt;&lt;/div&gt;
&lt;div class="normal"&gt;
Line 14 in /etc/syslog.conf are filled up with spaces instead of tabs.
          Replace the spaces with tabs and syslogd will accept the new entry in Line 14.&lt;/div&gt;
&lt;/blockquote&gt;
&lt;h1 align="left"&gt;



&lt;img height="10" src="http://www.akadia.com/img/bullet-gruen.gif" width="15" /&gt; &lt;a href="http://www.blogger.com/blogger.g?blogID=4827842540624707460" name="Does each Oracle Process use more than 100M memory"&gt;Does each Oracle Process use more than
        100M memory&lt;/a&gt; ?&lt;/h1&gt;
&lt;blockquote&gt;
&lt;div class="normal"&gt;
If you check the oracle process with the OS comand "&lt;b&gt;pmap&lt;/b&gt;" or
          "&lt;b&gt;top&lt;/b&gt;", you can see that each oracle process use more than 100M memory. Is this a
          problem on the Oracle installation or something else? It seems that pmap counts the SGA
          size as the private memory segment of each oracle process, but we believe the SGA size
          should be shared.&lt;/div&gt;
&lt;div class="normal"&gt;
Output from "top" on our Solaris System with Orcale 8.1.7.0&lt;/div&gt;
&lt;div class="courier"&gt;
&lt;span style="color: blue;"&gt;PID USERNAME THR PRI NICE&amp;nbsp; SIZE&amp;nbsp;&amp;nbsp;
          RES STATE&amp;nbsp;&amp;nbsp; TIME&amp;nbsp;&amp;nbsp;&amp;nbsp; CPU COMMAND&lt;br /&gt;
          -----------------------------------------------------------------&lt;br /&gt;
          361 oracle&amp;nbsp;&amp;nbsp; 258&amp;nbsp; 59&amp;nbsp;&amp;nbsp;&amp;nbsp; 0&amp;nbsp; 124M&amp;nbsp;&amp;nbsp; 88M
          sleep&amp;nbsp;&amp;nbsp; 0:01&amp;nbsp; 0.00% oracle&lt;br /&gt;
          373 oracle&amp;nbsp;&amp;nbsp;&amp;nbsp; 11&amp;nbsp; 59&amp;nbsp;&amp;nbsp;&amp;nbsp; 0&amp;nbsp; 122M&amp;nbsp;&amp;nbsp; 88M
          sleep&amp;nbsp; 41:50&amp;nbsp; 0.00% oracle&lt;br /&gt;
          363 oracle&amp;nbsp;&amp;nbsp;&amp;nbsp; 11&amp;nbsp; 59&amp;nbsp;&amp;nbsp;&amp;nbsp; 0&amp;nbsp; 119M&amp;nbsp;&amp;nbsp; 88M
          sleep&amp;nbsp;&amp;nbsp; 0:01&amp;nbsp; 0.00% oracle&lt;br /&gt;
          365 oracle&amp;nbsp;&amp;nbsp;&amp;nbsp; 11&amp;nbsp; 58&amp;nbsp;&amp;nbsp;&amp;nbsp; 0&amp;nbsp; 119M&amp;nbsp;&amp;nbsp; 88M
          sleep&amp;nbsp;&amp;nbsp; 0:17&amp;nbsp; 0.02% oracle&lt;br /&gt;
          359 oracle&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1&amp;nbsp; 59&amp;nbsp;&amp;nbsp;&amp;nbsp; 0&amp;nbsp; 119M&amp;nbsp;&amp;nbsp;
          89M sleep&amp;nbsp;&amp;nbsp; 0:00&amp;nbsp; 0.00% oracle&lt;br /&gt;
          377 oracle&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1&amp;nbsp; 59&amp;nbsp;&amp;nbsp;&amp;nbsp; 0&amp;nbsp; 119M&amp;nbsp;&amp;nbsp;
          88M sleep&amp;nbsp;&amp;nbsp; 0:00&amp;nbsp; 0.00% oracle&lt;br /&gt;
          375 oracle&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1&amp;nbsp; 58&amp;nbsp;&amp;nbsp;&amp;nbsp; 0&amp;nbsp; 119M&amp;nbsp;&amp;nbsp;
          88M sleep&amp;nbsp;&amp;nbsp; 0:00&amp;nbsp; 0.00% oracle&lt;br /&gt;
          367 oracle&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1&amp;nbsp; 58&amp;nbsp;&amp;nbsp;&amp;nbsp; 0&amp;nbsp; 118M&amp;nbsp;&amp;nbsp;
          89M sleep&amp;nbsp;&amp;nbsp; 0:00&amp;nbsp; 0.00% oracle&lt;br /&gt;
          371 oracle&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1&amp;nbsp; 58&amp;nbsp;&amp;nbsp;&amp;nbsp; 0&amp;nbsp; 118M&amp;nbsp;&amp;nbsp;
          89M sleep&amp;nbsp;&amp;nbsp; 0:00&amp;nbsp; 0.00% oracle&lt;br /&gt;
          369 oracle&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1&amp;nbsp; 58&amp;nbsp;&amp;nbsp;&amp;nbsp; 0&amp;nbsp; 118M&amp;nbsp;&amp;nbsp;
          88M sleep&amp;nbsp;&amp;nbsp; 0:00&amp;nbsp; 0.00% oracle&lt;/span&gt;&lt;/div&gt;
&lt;div class="header"&gt;
Memory Allocation for Oracle Processes&lt;/div&gt;
&lt;div class="normal"&gt;
On many UNIX platforms and specially on Sun platforms, the text of the
          Oracle binary and shared libraries are actually shared between background processes if
          these instances share the same ORACLE_HOME. So you need to subtract the shared text of
          the oracle binary and the shared libraries in the result of the OS commands.&lt;br /&gt;
&lt;br /&gt;
Even pmap and pmen utilities make mistakes between these memory divisions, and sometimes
          SGA and text executable are often added incorrectly.&lt;/div&gt;
&lt;div class="header"&gt;
Determine the memory used by each Oracle background process on a
          Solaris&lt;/div&gt;
&lt;div class="normal"&gt;
This can be used by anyone who has privleges for the &lt;b&gt;pmap&lt;/b&gt;, which
          can be found in &lt;i&gt;/usr/proc/bin/.&lt;/i&gt; First, we need to find the process id (PID) of the
          Oracle background&amp;nbsp; process you wish to determine the memory size for. This is done
          by issueing the following command:&lt;/div&gt;
&lt;div class="courier"&gt;
# &lt;b&gt;ps -u oracle -f&lt;/b&gt;&lt;/div&gt;
&lt;div class="courier"&gt;
&amp;nbsp;&amp;nbsp; &lt;span style="color: blue;"&gt;UID&amp;nbsp;&amp;nbsp; PID&amp;nbsp;
          PPID&amp;nbsp; C&amp;nbsp;&amp;nbsp;&amp;nbsp; STIME TTY&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; TIME CMD&lt;br /&gt;
          oracle&amp;nbsp;&amp;nbsp; 359&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1&amp;nbsp; 0 12:26:17
          ?&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0:00 ora_pmon_DIA3&lt;br /&gt;
          oracle&amp;nbsp;&amp;nbsp; 361&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1&amp;nbsp; 0 12:26:17
          ?&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0:01 ora_dbw0_DIA3&lt;br /&gt;
          oracle&amp;nbsp;&amp;nbsp; 363&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1&amp;nbsp; 0 12:26:17
          ?&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0:01 ora_lgwr_DIA3&lt;br /&gt;
          oracle&amp;nbsp;&amp;nbsp; 365&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1&amp;nbsp; 0 12:26:17
          ?&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0:18 ora_ckpt_DIA3&lt;br /&gt;
          oracle&amp;nbsp;&amp;nbsp; 367&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1&amp;nbsp; 0 12:26:17
          ?&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0:01 ora_smon_DIA3&lt;br /&gt;
          oracle&amp;nbsp;&amp;nbsp; 369&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1&amp;nbsp; 0 12:26:17
          ?&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0:00 ora_reco_DIA3&lt;br /&gt;
          oracle&amp;nbsp;&amp;nbsp; 371&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1&amp;nbsp; 0 12:26:17
          ?&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0:00 ora_snp0_DIA3&lt;br /&gt;
          oracle&amp;nbsp;&amp;nbsp; 373&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1&amp;nbsp; 0 12:26:17
          ?&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 41:50 ora_s000_DIA3&lt;br /&gt;
          oracle&amp;nbsp;&amp;nbsp; 375&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1&amp;nbsp; 0 12:26:17
          ?&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0:00 ora_d000_DIA3&lt;br /&gt;
          oracle&amp;nbsp;&amp;nbsp; 377&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1&amp;nbsp; 0 12:26:18
          ?&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0:00 ora_d001_DIA3&lt;/span&gt;&lt;/div&gt;
&lt;div class="normal"&gt;
Second, you then enter the following commands for the DB Writer process
          (ora_dbw0_DIA3) with process id = 361 as an example.&lt;/div&gt;
&lt;div class="courier"&gt;
# &lt;b&gt;/usr/proc/bin/pmap 361 | grep "shmid"&lt;/b&gt; &lt;span style="color: blue;"&gt;80000000 82992K read/write/exec/shared [ shmid=0x2 ]&lt;/span&gt;&lt;/div&gt;
&lt;div class="courier"&gt;
# &lt;b&gt;/usr/proc/bin/pmap 361 | grep "total"&lt;/b&gt;&lt;br /&gt;
&lt;span style="color: blue;"&gt;total 124232K&lt;/span&gt;&lt;/div&gt;
&lt;div class="normal"&gt;
Then you take the total size: 124232K and subtract the SGA size which
          the line marked with "shmid=" above, in this case it is 82992K. So, 124232K minus 82992K
          is 41240K. So, the &lt;b&gt;DBWR background&lt;/b&gt; process is approximately &lt;b&gt;41.2 MB&lt;/b&gt;. Repeat
          this steps for all the background processes.&lt;/div&gt;
&lt;/blockquote&gt;
&lt;h1 align="left"&gt;



&lt;img height="10" src="http://www.akadia.com/img/bullet-gruen.gif" width="15" /&gt; &lt;a href="http://www.blogger.com/blogger.g?blogID=4827842540624707460" name="Sizing up Solaris Memory with the RMCmem Package"&gt;Sizing up Solaris Memory with the RMCmem
        Package&lt;/a&gt;&lt;/h1&gt;
&lt;blockquote&gt;
&lt;div class="normal"&gt;
How much memory is needed on SUN Solaris? Explaining memory in Solaris
          by reviewing the different types of memory and introducing a set of tools, the
          &lt;b&gt;RMCmem&lt;/b&gt; package.&lt;/div&gt;
&lt;div class="header"&gt;
Install RMCmem Package&lt;/div&gt;
&lt;div class="normal"&gt;
Download the RMCmem tools available from &lt;a href="ftp://playground.sun.com/pub/memtool"&gt;ftp://playground.sun.com/pub/memtool&lt;/a&gt;. The
          package includes a kernel module that provides extra instrumentation.&lt;/div&gt;
&lt;div class="courier"&gt;
# &lt;b&gt;cd /tmp&lt;/b&gt;&lt;br /&gt;
# &lt;b&gt;zcat RMCmem3.8.2.tar.gz | tar xvf -&lt;/b&gt;&lt;br /&gt;
# &lt;b&gt;pkgadd -d .&lt;/b&gt;&lt;/div&gt;
&lt;div class="normal"&gt;
The package is installed in &lt;i&gt;/opt/RMCmem&lt;/i&gt; (see README in this
          directory)&lt;/div&gt;
&lt;div class="header"&gt;
Virtual / Physical Memory Usage&lt;/div&gt;
&lt;div class="normal"&gt;
Solaris is a virtual memory system. The total amount of memory that you
          can use is increased by adding swap space to the system. If you ever see "out of memory"
          messages, adding swap space is the usual fix. Performance of the system is very dependent
          on how much physical memory (RAM) you have. If you don't have enough RAM to run your
          workload, performance degrades rapidly.&lt;/div&gt;
&lt;div class="normal"&gt;
Physical memory usage can be classified into four groups:&lt;/div&gt;
&lt;ul&gt;
&lt;li&gt;
              &lt;div class="normal"&gt;
Kernel memory mapped into kernel address space&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;
              &lt;div class="normal"&gt;
Process memory is mapped into a process address space&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;
              &lt;div class="normal"&gt;
Filesystem cache memory that is not mapped into any address
              space&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;
              &lt;div class="normal"&gt;
Free memory that is not mapped into any address space&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;div class="normal"&gt;
RMCmem includes a simple command to summarize this:&lt;/div&gt;
&lt;div class="courier"&gt;
# &lt;b&gt;/opt/RMCmem/bin/prtmem&lt;/b&gt;&lt;/div&gt;
&lt;div class="courier"&gt;
&lt;span style="color: blue;"&gt;Total
          memory:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 989
          Megabytes&lt;br /&gt;
          Kernel Memory:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 60
          Megabytes&lt;br /&gt;
          Application:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
          110 Megabytes&lt;br /&gt;
          Executable &amp;amp; libs:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 42 Megabytes&lt;br /&gt;
          File
          Cache:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
          757 Megabytes&lt;br /&gt;
          Free, file cache:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 11 Megabytes&lt;br /&gt;
          Free,
          free:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
          6 Megabytes&lt;/span&gt;&lt;/div&gt;
&lt;div class="header"&gt;
Total physical memory&lt;/div&gt;
&lt;div class="normal"&gt;
The total physical memory can be seen using prtconf. Memory is
          allocated in units called pages, and you can use the 'pagesize' command to see the size
          in bytes per page:&lt;/div&gt;
&lt;div class="courier"&gt;
# &lt;b&gt;/usr/sbin/prtconf | grep Memory&lt;/b&gt;&lt;br /&gt;
&lt;span style="color: blue;"&gt;Memory size: 1024 Megabytes&lt;/span&gt;&lt;/div&gt;
&lt;div class="courier"&gt;
# &lt;b&gt;/usr/bin/pagesize&lt;/b&gt;&lt;br /&gt;
&lt;span style="color: blue;"&gt;8192&lt;/span&gt;&lt;/div&gt;
&lt;div class="header"&gt;
Kernel memory&lt;/div&gt;
&lt;div class="normal"&gt;
Kernel memory is allocated to hold the initial kernel code at boot
          time, then grows dynamically as new device drivers and kernel modules are used. Kernel
          tables also grow dynamically, unlike some older versions of Unix. As you add hardware and
          processes to a system, the kernel will grow. In particular, to keep track of all the
          memory in a system, the kernel allocates a page table structure.&lt;/div&gt;
&lt;div class="normal"&gt;
If you have several gigabytes of RAM this table gets quite large. The
          dynamic kernel memory allocator grabs memory in large "slabs," then allocates smaller
          blocks more efficiently. This means that the kernel tends to grab a bit more memory than
          it's really using. If there is a severe memory shortage, the kernel unloads unused kernel
          modules and devices and frees unused slabs. The simplest summary of kernel memory usage
          comes from sar. To show the kernel memory allocation (KMA) activities use (see &lt;i&gt;man
          sar&lt;/i&gt; for more details).&lt;/div&gt;
&lt;div class="courier"&gt;
# &lt;b&gt;sar -k 1&lt;/b&gt;&lt;/div&gt;
&lt;div class="courier"&gt;
&lt;span style="color: blue;"&gt;SunOS diamond 5.7 Generic_106541-12
          sun4u&amp;nbsp;&amp;nbsp;&amp;nbsp; 04/28/01&lt;/span&gt;&lt;/div&gt;
&lt;div class="courier"&gt;
&lt;span style="color: blue;"&gt;sml_mem&amp;nbsp;&amp;nbsp; alloc&amp;nbsp; fail&amp;nbsp;&amp;nbsp;
          lg_mem&amp;nbsp;&amp;nbsp;&amp;nbsp; alloc&amp;nbsp; fail&amp;nbsp; ovsz_alloc&amp;nbsp; fail&lt;br /&gt;
          6873088 6044236&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0 44818432 43761720&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
          0&amp;nbsp;&amp;nbsp;&amp;nbsp; 11231232&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0&lt;/span&gt;&lt;/div&gt;
&lt;div class="header"&gt;
Application process memory&lt;/div&gt;
&lt;div class="normal"&gt;
Application processes consist of an address space divided into
          segments, where each segment maps either to a file, anonymous memory (the swap space),
          System V shared memory, or a memory mapped device. The mapped files include the code and
          initialized data for the command and all its shared libraries.&lt;/div&gt;
&lt;div class="normal"&gt;
What we really want to know, is the amount of RAM used by each segment.
          This is shown by the &lt;i&gt;pmem&lt;/i&gt; command in the RMCmem package.&lt;/div&gt;
&lt;div class="courier"&gt;
# &lt;b&gt;/opt/RMCmem/bin/pmem 361&lt;/b&gt;&lt;/div&gt;
&lt;div class="courier"&gt;
&lt;span style="color: blue;"&gt;361:&amp;nbsp;&amp;nbsp;&amp;nbsp; ora_dbw0_DIA3&lt;br /&gt;
          &amp;nbsp; Kbytes Resident Shared Private Permissions&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
          Mapped File&lt;br /&gt;
          &amp;nbsp;&amp;nbsp; 82992&amp;nbsp;&amp;nbsp; 82992&amp;nbsp;&amp;nbsp;
          82992&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; - read/write/exec&amp;nbsp;&amp;nbsp; [shmid=0x2]&lt;br /&gt;
          &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 16&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
          16&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 8&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 8
          read/exec&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; libc_psr.so.1&lt;br /&gt;
          &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 16&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
          16&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 8&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 8
          read/exec&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; libmp.so.2&lt;br /&gt;
          &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 8&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
          8&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 8&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; -
          read/write/exec&amp;nbsp;&amp;nbsp; libmp.so.2&lt;br /&gt;
          ........&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ..&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
          ..&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; . ...............&amp;nbsp;&amp;nbsp; ...........&lt;br /&gt;
          &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 112&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
          80&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 72&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 8
          read/exec&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; libelf.so.1&lt;br /&gt;
          &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 8&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
          8&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 8&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; -
          read/write/exec&amp;nbsp;&amp;nbsp; libelf.so.1&lt;br /&gt;
          &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 16&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
          16&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 8&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 8
          read/exec&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; libkvm.so.1&lt;br /&gt;
          &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 8&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
          8&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 8&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; -
          read/write/exec&amp;nbsp;&amp;nbsp; libkvm.so.1&lt;br /&gt;
          --------&amp;nbsp; ------&amp;nbsp; ------&amp;nbsp; ------&amp;nbsp; ------&lt;br /&gt;
          &amp;nbsp; 124232&amp;nbsp;&amp;nbsp; 93040&amp;nbsp;&amp;nbsp; 92728&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 312&lt;/span&gt;&lt;/div&gt;
&lt;div class="normal"&gt;
Now we can see that the process address space size is 124232 kilobytes;
          93040 kilobytes of that are currently resident in main memory, &lt;b&gt;wherein 92728 kilobytes
          are shared with other processes&lt;/b&gt; while 312 kilobytes are private. When this command
          started only the 312 kilobytes of private memory were taken from the free list.&lt;/div&gt;
&lt;div class="normal"&gt;
If we now go through all the processes on the system, add up how much
          private memory they use, and also add in the shared memory for each mapped file, we'll
          know how much application memory is in use. This summary is shown by &lt;i&gt;prtmem&lt;/i&gt; as we
          saw in the beginning, and the detail is listed by the &lt;i&gt;memps&lt;/i&gt; command in RMCmem.&lt;/div&gt;
&lt;div class="courier"&gt;
# &lt;b&gt;/opt/RMCmem/bin/memps&lt;/b&gt;&lt;/div&gt;
&lt;div class="courier"&gt;
&lt;span style="color: blue;"&gt;PID&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Size
          Resident&amp;nbsp;&amp;nbsp; Shared&amp;nbsp; Private&amp;nbsp; Process&lt;br /&gt;
          ...&amp;nbsp; .......&amp;nbsp;&amp;nbsp; ......&amp;nbsp;&amp;nbsp; ......&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
          ....&amp;nbsp; .............&lt;br /&gt;
          359&amp;nbsp; 118904k&amp;nbsp;&amp;nbsp; 93608k&amp;nbsp;&amp;nbsp; 92800k&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
          808k&amp;nbsp; ora_pmon_DIA3&lt;br /&gt;
          367&amp;nbsp; 118184k&amp;nbsp;&amp;nbsp; 93152k&amp;nbsp;&amp;nbsp; 92704k&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
          448k&amp;nbsp; ora_smon_DIA3&lt;br /&gt;
          369&amp;nbsp; 117928k&amp;nbsp;&amp;nbsp; 93120k&amp;nbsp;&amp;nbsp; 92704k&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
          416k&amp;nbsp; ora_reco_DIA3&lt;br /&gt;
          371&amp;nbsp; 118040k&amp;nbsp;&amp;nbsp; 93136k&amp;nbsp;&amp;nbsp; 92720k&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
          416k&amp;nbsp; ora_snp0_DIA3&lt;br /&gt;
          365&amp;nbsp; 119040k&amp;nbsp;&amp;nbsp; 93120k&amp;nbsp;&amp;nbsp; 92712k&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
          408k&amp;nbsp; ora_ckpt_DIA3&lt;br /&gt;
          377&amp;nbsp; 118344k&amp;nbsp;&amp;nbsp; 93080k&amp;nbsp;&amp;nbsp; 92720k&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
          360k&amp;nbsp; ora_d001_DIA3&lt;br /&gt;
          363&amp;nbsp; 119088k&amp;nbsp;&amp;nbsp; 93056k&amp;nbsp;&amp;nbsp; 92720k&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
          336k&amp;nbsp; ora_lgwr_DIA3&lt;br /&gt;
          375&amp;nbsp; 118344k&amp;nbsp;&amp;nbsp; 93048k&amp;nbsp;&amp;nbsp; 92720k&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
          328k&amp;nbsp; ora_d000_DIA3&lt;br /&gt;
          &lt;b&gt;361&amp;nbsp; 124232k&amp;nbsp;&amp;nbsp; 93040k&amp;nbsp;&amp;nbsp; 92728k&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
          312k&amp;nbsp; ora_dbw0_DIA3&lt;/b&gt;&lt;br /&gt;
          373&amp;nbsp; 121608k&amp;nbsp;&amp;nbsp; 93032k&amp;nbsp;&amp;nbsp; 92728k&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
          304k&amp;nbsp; ora_s000_DIA3&lt;/span&gt;&lt;/div&gt;
&lt;div class="header"&gt;
Filesystem cache memory&lt;/div&gt;
&lt;div class="normal"&gt;
This is the part of memory that is most confusing, as it is invisible.
          You can only tell it's there if you access the same file twice and it is quicker the
          second time.&lt;/div&gt;
&lt;div class="normal"&gt;
The RMCmem package adds kernel instrumentation that counts up all the
          pages for each cached file. The &lt;i&gt;memps -m&lt;/i&gt; command &lt;b&gt;lists the files that are
          cached&lt;/b&gt; in order of the amount of memory they're consuming.&lt;/div&gt;
&lt;div class="normal"&gt;
One problem is that within the kernel, the file is only known by its
          inode number and filesystem mount point. The directory pathname for the file may not be
          known.&lt;/div&gt;
&lt;div class="normal"&gt;
The RMCmem package tries to solve this problem by catching file names
          as files are opened (by interposing on the vnode open code) and making an inode-to-name
          lookup cache in the kernel. This cache size is limited (to 8192 entries by default), and
          the file may have been opened before the kernel module was loaded, so it can't always
          find the name.&lt;/div&gt;
&lt;div class="courier"&gt;
# &lt;b&gt;memps -m&lt;/b&gt;&lt;/div&gt;
&lt;div class="courier"&gt;
&amp;nbsp;&amp;nbsp; &lt;span style="color: blue;"&gt;Size&amp;nbsp;&amp;nbsp; InUse E/F
          Filename&lt;/span&gt;&lt;/div&gt;
&lt;div class="courier"&gt;
&lt;span style="color: blue;"&gt;&amp;nbsp;21064k&amp;nbsp; 21064k F&amp;nbsp;&amp;nbsp; /usr
          (inode&amp;nbsp;&amp;nbsp; 540488)&lt;br /&gt;
          &amp;nbsp; 8184k&amp;nbsp;&amp;nbsp;&amp;nbsp; 824k F&amp;nbsp;&amp;nbsp; /usr (inode&amp;nbsp;&amp;nbsp; 260922)&lt;br /&gt;
          &amp;nbsp; 7752k&amp;nbsp;&amp;nbsp; 7752k F&amp;nbsp;&amp;nbsp; /usr (inode&amp;nbsp;&amp;nbsp; 540429)&lt;br /&gt;
          &amp;nbsp; 7480k&amp;nbsp;&amp;nbsp; 7480k F&amp;nbsp;&amp;nbsp; /usr (inode&amp;nbsp;&amp;nbsp; 540428)&lt;br /&gt;
          &amp;nbsp; 7480k&amp;nbsp;&amp;nbsp; 7480k F&amp;nbsp;&amp;nbsp; /usr (inode&amp;nbsp;&amp;nbsp; 540427)&lt;br /&gt;
          &amp;nbsp; 6896k&amp;nbsp;&amp;nbsp; 6896k F&amp;nbsp;&amp;nbsp; /usr (inode&amp;nbsp;&amp;nbsp; 540450)&lt;br /&gt;
          &amp;nbsp; ....&amp;nbsp;&amp;nbsp;&amp;nbsp; ....&amp;nbsp; .&amp;nbsp;&amp;nbsp; .... ......&amp;nbsp;&amp;nbsp;
          ......&lt;/span&gt;&lt;/div&gt;
&lt;div class="normal"&gt;
&amp;nbsp;... and so on down to lots of files&amp;nbsp; ...&lt;/div&gt;
&lt;div class="courier"&gt;
# &lt;b&gt;cd /usr&lt;/b&gt;&lt;br /&gt;
# &lt;b&gt;find . -inum 540488&lt;/b&gt;&lt;br /&gt;
./local/jdbc/ora817/old/libserver8.a&lt;/div&gt;
&lt;div class="normal"&gt;
More infos about the &lt;b&gt;RMCmem&lt;/b&gt; package can be found &lt;b&gt;&lt;a href="http://www.akadia.com/download/documents/memtool.pdf"&gt;here as PDF&lt;/a&gt;&lt;/b&gt;&lt;/div&gt;
&lt;/blockquote&gt;
&lt;h1&gt;



&lt;img height="10" src="http://www.akadia.com/img/bullet-gruen.gif" width="15" /&gt; &lt;a href="http://www.blogger.com/blogger.g?blogID=4827842540624707460" name="Using Sun Solaris Manuals directly from CD-ROM"&gt;Using Sun Solaris Manuals directly from
        CD-ROM&lt;/a&gt;&lt;/h1&gt;
&lt;blockquote&gt;
&lt;div class="header"&gt;
Solaris&amp;nbsp; 8:&lt;/div&gt;
&lt;div class="courier"&gt;
&lt;b&gt;cd /cdrom/sol_8_doc&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;./ab2cd&lt;/b&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
          (Start)&lt;br /&gt;
&lt;b&gt;http://quorum:8888&amp;nbsp;&amp;nbsp;&lt;/b&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
          (Using the Doc online)&lt;br /&gt;
&lt;b&gt;./ab2cd
          stop&amp;nbsp;&amp;nbsp;&lt;/b&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
          (Stop)&lt;/div&gt;
&lt;div class="header"&gt;
Solaris&amp;nbsp; 7:&lt;/div&gt;
&lt;div class="courier"&gt;
&lt;b&gt;cd /cdrom/sol_7_1199_doc&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;./ab2cd&amp;nbsp;&lt;/b&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
          (Start)&lt;br /&gt;
&lt;b&gt;http://diamond:8888&lt;/b&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; (Using
          the Doc online)&lt;br /&gt;
&lt;b&gt;./ab2cd
          stop&amp;nbsp;&amp;nbsp;&lt;/b&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
          (Stop)&lt;/div&gt;
&lt;/blockquote&gt;
&lt;h1&gt;



&lt;img height="10" src="http://www.akadia.com/img/bullet-gruen.gif" width="15" /&gt; &lt;a href="http://www.blogger.com/blogger.g?blogID=4827842540624707460" name="DLT-TAPE UNIT INSTALLATION on Solaris 7/8/9"&gt;DLT-TAPE UNIT INSTALLATION on Solaris
        7/8/9&lt;/a&gt;&lt;/h1&gt;
&lt;blockquote&gt;
&lt;div class="normal"&gt;
&lt;span lang="en-us"&gt;Installation Instructions will cover the
          installation of the DLT tape peripheral hardware and configuration of the system to
          communicate with the DLT tape peripheral. In this example we use a «QUANTUM
          DLT7000».&lt;/span&gt;&lt;/div&gt;
&lt;div class="normal"&gt;
&lt;span lang="en-us"&gt;The Solaris system must have the appropriate SCSI
          interface for DLT drive to attached to, a SCSI single-ended DLT drive can be attached
          only to a SCSI single-ended interface. The same is true for SCSI differential attachment.
          Solaris includes a driver to efficiently communicate with SCSI tape drives, such as the
          DLT tape peripheral.&lt;/span&gt;&lt;/div&gt;
&lt;/blockquote&gt;
&lt;div class="big"&gt;
&lt;span lang="en-us"&gt;Perform the installation as follows:&lt;/span&gt;&lt;/div&gt;
&lt;blockquote&gt;
Shut down your Sun workstation/server and power off the machine and all scsi-devices.
          Connect the DLT to the scsi-bus using good cables and make sure the bus is terminated
          correctly. Set the scsi-id; id 4 or 5 are the most common to use.&lt;br /&gt;
If possible use a separate or underutilized SCSI bus for the DLT. Running the tape
          drive on the same bus as the disk drives will never let you achieve any good throughput.
          You bought the DLT because of performance didn't you ?&lt;br /&gt;
&lt;table border="1" cellpadding="3" cellspacing="3" id="AutoNumber1" style="border-collapse: collapse;"&gt;
            &lt;tbody&gt;
&lt;tr&gt;
              &lt;td valign="top" width="5%"&gt;&lt;b&gt;&lt;span style="color: red;"&gt;1.&lt;/span&gt;&lt;/b&gt;&lt;/td&gt;
              &lt;td valign="top" width="36%"&gt;&lt;span style="font-family: Courier New;"&gt;&lt;b&gt;STOP-A
              (L1-A)&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;
              &lt;td valign="top" width="154%"&gt;Power on the devices/machine again and halt the boot
              process with.&lt;br /&gt;
&lt;br /&gt;
&lt;span style="font-family: Courier New;"&gt;(or press the BREAK key if you have an ASCII
              console).&lt;/span&gt;&lt;/td&gt;
            &lt;/tr&gt;
&lt;tr&gt;
              &lt;td valign="top" width="5%"&gt;&lt;span style="color: red;"&gt;&lt;b&gt;2.&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;
              &lt;td valign="top" width="36%"&gt;&lt;b&gt;&lt;kbd&gt;probe-scsi-all&lt;/kbd&gt;&lt;/b&gt;&lt;/td&gt;
              &lt;td valign="top" width="154%"&gt;Verify that the drive is connected properly.&lt;br /&gt;
&lt;br /&gt;
Note: output from &lt;span style="font-family: Courier New;"&gt;probe-scsi&lt;/span&gt; will not always be
              correct if you enter the PROM monitor by breaking the boot process!&lt;/td&gt;
            &lt;/tr&gt;
&lt;tr&gt;
              &lt;td valign="top" width="5%"&gt;&lt;span style="color: red;"&gt;&lt;b&gt;3.&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;
              &lt;td valign="top" width="36%"&gt;&lt;div class="courier"&gt;
&lt;b&gt;boot -rv&lt;/b&gt;&lt;/div&gt;
&lt;/td&gt;
              &lt;td valign="top" width="154%"&gt;&lt;span lang="en-us"&gt;Boot the system and log in as
              root.&lt;/span&gt; When booting you should see a message similar to these: &lt;span style="color: blue; font-family: Courier New;"&gt;"st1: ".&lt;/span&gt;&lt;/td&gt;
            &lt;/tr&gt;
&lt;tr&gt;
              &lt;td valign="top" width="5%"&gt;&lt;span style="color: red;"&gt;&lt;b&gt;4.&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;
              &lt;td valign="top" width="36%"&gt;&lt;div class="courier"&gt;
&lt;b&gt;cd /kernel/drv&lt;/b&gt;&lt;/div&gt;
&lt;div class="courier"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/td&gt;
              &lt;td valign="top" width="154%"&gt;&lt;span lang="en-us"&gt;Change directory to &lt;span style="font-family: Courier New;"&gt;/kernel/drv&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family: Courier New;"&gt;.&lt;/span&gt;
                &lt;span lang="en-us"&gt;Edit the &lt;span style="font-family: Courier New;"&gt;&lt;b&gt;st.conf&lt;/b&gt;&lt;/span&gt; file
                by adding the following&lt;/span&gt;:&lt;/td&gt;
            &lt;/tr&gt;
&lt;tr&gt;
              &lt;td valign="top" width="5%"&gt;&lt;/td&gt;
              &lt;td colspan="2" valign="top" width="190%"&gt;&lt;div class="courier"&gt;
&lt;b&gt;tape-config-list="QUANTUM DLT7000","Quantum
                DLT7000","DLT7-data";&lt;br /&gt;
                DLT7-data = 1,0x38,0,0x8639,4,0x82,0x83,0x84,0x85,3;&lt;/b&gt;&lt;/div&gt;
&lt;/td&gt;
            &lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;div class="courier"&gt;
&lt;span lang="en-us"&gt;tape-config-list="&lt;dlt&lt; span=""&gt; &lt;span lang="en-us"&gt;tape&lt;/span&gt; &lt;span lang="en-us"&gt;unit&amp;gt;","&lt;dlt&lt; span=""&gt; &lt;span lang="en-us"&gt;reference&lt;/span&gt; &lt;span lang="en-us"&gt;name&amp;gt;","&lt;dltdata&gt;"&lt;/dltdata&gt;&lt;/span&gt;&lt;/dlt&lt;&gt;&lt;/span&gt;&lt;/dlt&lt;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;ul&gt;
&lt;li&gt;
              &lt;div class="normal"&gt;
&lt;span lang="en-us"&gt;&lt;span style="font-family: Courier New;"&gt;tape-config-list&lt;/span&gt;
              is a variable defined by a series of tape configuration parameters listed below:&lt;br /&gt;
              &amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;
              &lt;div class="normal"&gt;
&lt;span lang="en-us"&gt;&lt;span style="font-family: Courier New;"&gt;&lt;dlt tape="" unit=""&gt;&lt;/dlt&gt;&lt;/span&gt; is the vendor and product ID string for the DLT device.&lt;br /&gt;
              &lt;br /&gt;
              &amp;nbsp;Depending on the DLT tape peripheral you are installing, you must insert the
              appropriate vendor and product ID for&lt;br /&gt;
              &amp;nbsp;&lt;span style="font-family: Courier New;"&gt;&lt;dlt tape="" unit=""&gt;&lt;/dlt&gt;&lt;/span&gt; as described in the
              following table:&lt;/span&gt;&lt;/div&gt;
&lt;table border="0" cellspacing="1" id="AutoNumber2" style="border-collapse: collapse;"&gt;
                &lt;tbody&gt;
&lt;tr&gt;
                  &lt;td valign="top" width="50%"&gt;&lt;div class="courier"&gt;
&lt;span lang="en-us"&gt;DLT Tape Product&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
                  &lt;td valign="top" width="50%"&gt;&lt;div class="courier"&gt;
&lt;span lang="en-us"&gt;&lt;dlt tape="" unit=""&gt;&lt;/dlt&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
                &lt;/tr&gt;
&lt;tr&gt;
                  &lt;td valign="top" width="50%"&gt;&lt;span style="font-family: Courier New;"&gt;DLT7000&lt;/span&gt;&lt;/td&gt;
                  &lt;td valign="top" width="50%"&gt;&lt;b&gt;&lt;span style="font-family: Courier New;"&gt;Q&lt;span lang="en-us"&gt;UANTUM DLT7000&lt;/span&gt; (&lt;/span&gt;&lt;/b&gt;&lt;span lang="en-us"&gt;Total string
                  character count, including spaces, must equal 15&lt;/span&gt;).&lt;/td&gt;
                &lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;ul&gt;
&lt;li&gt;
              &lt;div class="normal"&gt;
&lt;span lang="en-us"&gt;&lt;span style="font-family: Courier New;"&gt;&lt;dlt name="" reference=""&gt;&lt;/dlt&gt;&lt;/span&gt; is a name you select that the system will use to identify the DLT
              device. This reference does not change the DLT product ID. When the system boots, the
              reference name will be displayed in the list of peripheral devices recognized by the
              system.&lt;br /&gt;
              &amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;
              &lt;div class="normal"&gt;
&lt;span lang="en-us"&gt;&lt;span style="font-family: Courier New;"&gt;&lt;dlt&lt; font=""&gt;-&lt;span lang="en-us"&gt;data&amp;gt;&lt;/span&gt;&lt;/dlt&lt;&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family: Courier New;"&gt; &lt;span lang="en-us"&gt;is a variable containing a series of additional DLT device configuration
              information. You select a name in place of the &lt;span style="font-family: Courier New;"&gt;&lt;dlt data=""&gt;&lt;/dlt&gt;&lt;/span&gt; string. You will continue editing the st.conf file by defining the
              name you selected for &lt;span style="font-family: Courier New;"&gt;&lt;dlt data=""&gt;&lt;/dlt&gt;&lt;/span&gt;. The
              definition depends on the DLT tape peripheral you are installing. For a&lt;/span&gt;
              DLT7000 &lt;span lang="en-us"&gt;series unit add the following line:&lt;br /&gt;
              &lt;/span&gt; &lt;span style="font-family: Courier New;"&gt;&lt;b&gt;1,0x38,0,0x8639,4,0x82,0x83,0x84,0x85,3;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;span style="font-family: Courier New;"&gt;
            &lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;span style="font-family: Courier New;"&gt;
          &lt;/span&gt;&lt;br /&gt;
&lt;blockquote&gt;
&lt;div class="normal"&gt;
&lt;span style="font-family: Courier New;"&gt;&lt;span lang="en-us"&gt;&lt;span style="font-family: Courier New;"&gt;&lt;dlt data=""&gt;&lt;/dlt&gt;&lt;/span&gt;&lt;/span&gt; &lt;span lang="en-us"&gt;contains 10 parameters and are described
            following:&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;table border="1" cellpadding="3" cellspacing="3" id="AutoNumber3" style="border-collapse: collapse;"&gt;
              &lt;tbody&gt;
&lt;tr&gt;
                &lt;td valign="top" width="11%"&gt;&lt;div class="courier"&gt;
&lt;b&gt;1&lt;/b&gt;&lt;/div&gt;
&lt;/td&gt;
                &lt;td valign="top" width="89%"&gt;&lt;span lang="en-us"&gt;The first parameter, is the version
                number and should not change.&lt;/span&gt;&lt;/td&gt;
              &lt;/tr&gt;
&lt;tr&gt;
                &lt;td valign="top" width="11%"&gt;&lt;div class="courier"&gt;
&lt;span style="font-family: Courier New;"&gt;&lt;b&gt;0x38&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
                &lt;td valign="top" width="89%"&gt;&lt;span lang="en-us"&gt;The second parameter, designates the DLT tape type as defined
                  in &lt;span style="font-family: Courier New;"&gt;/usr/include/sys/mtio.h&lt;/span&gt;.&lt;/span&gt;
                  &lt;br /&gt;
&lt;div class="courier"&gt;
&lt;span lang="en-us"&gt;#define MT_ISOTHER 0x36 &lt;span style="color: blue;"&gt;/* generic other type of tape drive */&lt;/span&gt;&lt;br /&gt;
                  #define MT_ISDLT&lt;/span&gt; &amp;nbsp; &lt;span lang="en-us"&gt;&lt;b&gt;0x38&lt;/b&gt; &lt;span style="color: blue;"&gt;/* sun: SCSI DLT tape drive */&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
              &lt;/tr&gt;
&lt;tr&gt;
                &lt;td valign="top" width="11%"&gt;&lt;div class="courier"&gt;
&lt;span style="font-family: Courier New;"&gt;&lt;b&gt;0&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
                &lt;td valign="top" width="89%"&gt;&lt;span lang="en-us"&gt;The third parameter&lt;/span&gt;
                &lt;span lang="en-us"&gt;is the block size. Since the DLT tape drive uses variable block
                size, this value should be zero.&lt;/span&gt;&lt;/td&gt;
              &lt;/tr&gt;
&lt;tr&gt;
                &lt;td valign="top" width="11%"&gt;&lt;div class="courier"&gt;
&lt;span style="font-family: Courier New;"&gt;&lt;b&gt;0x8639&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
                &lt;td valign="top" width="89%"&gt;&lt;span lang="en-us"&gt;The fourth parameter, 0x8639, is a summation of values that
                  represent selected device options. The table below lists the options and the
                  corresponding value:&lt;/span&gt;
                  &lt;span style="font-family: Courier New;"&gt;&lt;span lang="en-us"&gt;Option&lt;/span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
                  &lt;span lang="en-us"&gt;Value&lt;br /&gt;
                  &lt;/span&gt; ST_&lt;span lang="en-us"&gt;VARIABLE&lt;/span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
                  0&lt;span lang="en-us"&gt;x0001&lt;br /&gt;
                  ST_BS&lt;/span&gt;F&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
                  0&lt;span lang="en-us"&gt;x0008&lt;br /&gt;
                  ST_BSR&lt;/span&gt;
                  &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
                  0&lt;span lang="en-us"&gt;x0010&lt;/span&gt; ST_&lt;span lang="en-us"&gt;LONG_ERASE&lt;/span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
                  0&lt;span lang="en-us"&gt;x0020&lt;/span&gt; ST_&lt;span lang="en-us"&gt;NOWS_EOD&lt;/span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
                  0&lt;span lang="en-us"&gt;x0&lt;/span&gt;20&lt;span lang="en-us"&gt;0&lt;/span&gt; ST_&lt;span lang="en-us"&gt;NLOADABLE&lt;/span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
                  0&lt;span lang="en-us"&gt;x0400&lt;/span&gt; ST_NO_&lt;span lang="en-us"&gt;RECSIZE_LIMIT&lt;/span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
                  0&lt;span lang="en-us"&gt;x8000&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span lang="en-us"&gt;The &lt;b&gt;&lt;span style="font-family: Courier New;"&gt;man&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;
                  &lt;b&gt;&lt;span style="font-family: Courier New;"&gt;st&lt;/span&gt;&lt;/b&gt; &lt;span lang="en-us"&gt;page has more
                  information about these and other possible device options. For certain
                  applications, it may be necessary to consider adding or removing one or more of
                  the device options.&lt;/span&gt;&lt;/td&gt;
              &lt;/tr&gt;
&lt;tr&gt;
                &lt;td valign="top" width="11%"&gt;&lt;div class="courier"&gt;
&lt;b&gt;4&lt;/b&gt;&lt;/div&gt;
&lt;/td&gt;
                &lt;td valign="top" width="89%"&gt;&lt;span lang="en-us"&gt;The fifth parameter, 4, defines the
                number of densities. The maximum definable number of densities is 4.&lt;/span&gt;&lt;/td&gt;
              &lt;/tr&gt;
&lt;tr&gt;
                &lt;td valign="top" width="11%"&gt;&lt;div class="courier"&gt;
&lt;span style="font-family: Courier New;"&gt;&lt;b&gt;0x82&lt;br /&gt;
                  0x83&lt;br /&gt;
                  0x84&lt;br /&gt;
                  0x85&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
                &lt;td valign="top" width="89%"&gt;&lt;span lang="en-us"&gt;The sixth, seventh, eighth and
                ninth parameter are used for system selection of tape densities.&lt;/span&gt; Use these
                values for a DLT 7000 Tape Drive.&lt;/td&gt;
              &lt;/tr&gt;
&lt;tr&gt;
                &lt;td valign="top" width="11%"&gt;&lt;div class="courier"&gt;
&lt;b&gt;3&lt;/b&gt;&lt;/div&gt;
&lt;/td&gt;
                &lt;td valign="top" width="89%"&gt;&lt;span lang="en-us"&gt;The tenth parameter&lt;/span&gt;
                &lt;span lang="en-us"&gt;defines which density the system will use as the default
                density. The sixth, seventh, eighth and ninth parameters in the &lt;dlt data=""&gt;string are referenced by the system as 0, 1, 2 and 3, respectively.
                The&lt;/dlt&gt;&lt;/span&gt; 3 &lt;span lang="en-us"&gt;value for the tenth parameter selects the&lt;/span&gt;
                0x85 &lt;span lang="en-us"&gt;density code as the system default density.&lt;/span&gt;&lt;/td&gt;
              &lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;/blockquote&gt;
&lt;span style="font-family: Courier New;"&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;div class="normal"&gt;
&lt;span style="font-family: Courier New;"&gt;&lt;span lang="en-us"&gt;After editing the &lt;span style="font-family: Courier New;"&gt;st.conf&lt;/span&gt; file,&lt;/span&gt; reboot the system:&lt;/span&gt;&lt;/div&gt;
&lt;span style="font-family: Courier New;"&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;table border="1" cellpadding="3" cellspacing="3" id="AutoNumber4" style="border-collapse: collapse;"&gt;
            &lt;tbody&gt;
&lt;tr&gt;
              &lt;td valign="top" width="4%"&gt;&lt;span style="color: red;"&gt;&lt;b&gt;5.&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;
              &lt;td valign="top" width="30%"&gt;&lt;div class="courier"&gt;
&lt;b&gt;&lt;span lang="en-us"&gt;shutdown-i0-g0&lt;/span&gt; boot -rv&lt;/b&gt;&lt;/div&gt;
&lt;/td&gt;
              &lt;td valign="top" width="162%"&gt;Reboot the System&lt;br /&gt;
The -&lt;span lang="en-us"&gt;r switch in the boot command enables a kernel compile and
              includes the creation of device special files used for communication with the DLT
              device. The&lt;/span&gt; -&lt;span lang="en-us"&gt;v switch enables verbose mode display of
              system bootup. With verbose mode, the system should indicate that the DLT tape
              peripheral is attached by displaying the &lt;dlt name="" reference=""&gt;string you
              selected.&lt;/dlt&gt;&lt;/span&gt;&lt;/td&gt;
            &lt;/tr&gt;
&lt;tr&gt;
              &lt;td valign="top" width="4%"&gt;&lt;span style="color: red;"&gt;&lt;b&gt;6.&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;
              &lt;td valign="top" width="30%"&gt;&lt;div class="courier"&gt;
&lt;b&gt;&lt;span lang="en-us"&gt;mt&lt;/span&gt; &lt;span lang="en-us"&gt;-t&lt;/span&gt;
                &lt;span lang="en-us"&gt;/dev/&lt;/span&gt;rmt/0 status&lt;/b&gt;&lt;/div&gt;
&lt;/td&gt;
              &lt;td valign="top" width="162%"&gt;&lt;span lang="en-us"&gt;Enter the following command to verify the installation:&lt;/span&gt;
                &lt;span style="color: blue; font-family: Courier New;"&gt;&lt;span lang="en-us"&gt;Vendor 'TANDBERG'
                Product 'DLT7000 ' tape drive:&lt;br /&gt;
                sense key(0x0)= No Additional Sense residual= 0&lt;br /&gt;
                retries= 0&lt;/span&gt; &lt;span lang="en-us"&gt;file no= 0 block no= 0&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;
            &lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;span style="font-family: Courier New;"&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;div class="normal"&gt;
&lt;span style="font-family: Courier New;"&gt;&lt;span lang="en-us"&gt;The target drive designations assigned by Solaris
          may take on values higher than already established in the &lt;span style="font-family: Courier New;"&gt;/dev/rmt/&lt;/span&gt; path. This is not a problem but during a &lt;span style="font-family: Courier New;"&gt;boot -rv&lt;/span&gt;, Solaris does not remove tape device files for drives that
          are no longer attached to the system. This can increase the effort in locating the device
          file for the configured drive, however, this can be minimized by first deleting the tape
          device files&lt;/span&gt;:&lt;/span&gt;&lt;/div&gt;
&lt;span style="font-family: Courier New;"&gt;
&lt;div class="courier"&gt;
&lt;b&gt;&lt;span lang="en-us"&gt;rm /dev/rmt/*&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div class="normal"&gt;
&lt;span lang="en-us"&gt;then either boot the system with a&lt;/span&gt;:&lt;/div&gt;
&lt;div class="courier"&gt;
&lt;b&gt;b&lt;span lang="en-us"&gt;oot -rv&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div class="normal"&gt;
&lt;span lang="en-us"&gt;or issue the following at the command line
          prompt:&lt;/span&gt;&lt;/div&gt;
&lt;div class="courier"&gt;
&lt;b&gt;&lt;span lang="en-us"&gt;drvconfig -i st; tapes&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div class="normal"&gt;
&lt;span lang="en-us"&gt;If the DLTtape is the only drive on the system, it's
          target assignment should be zero. The Solaris man pages have more information on
          drvconfig and tapes.&lt;/span&gt;&lt;/div&gt;
&lt;/span&gt;&lt;/blockquote&gt;
&lt;span style="font-family: Courier New;"&gt;
        &lt;/span&gt;&lt;br /&gt;
&lt;h1&gt;


&lt;span style="font-family: Courier New;"&gt;
&lt;img height="10" src="http://www.akadia.com/img/bullet-gruen.gif" width="15" /&gt;&amp;nbsp; &lt;a href="http://www.blogger.com/blogger.g?blogID=4827842540624707460" name="Reconfigure Devices on Solaris"&gt;Reconfigure Devices on Solaris&lt;/a&gt;&lt;/span&gt;&lt;/h1&gt;
&lt;span style="font-family: Courier New;"&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;blockquote&gt;
&lt;span style="font-family: Courier New;"&gt;If you remove or add a device on Solaris then the devices files must be recreated,
          either with &lt;span style="font-family: Courier New;"&gt;&lt;b&gt;boot -r&lt;/b&gt;v&lt;/span&gt; or &lt;b&gt;&lt;span style="font-family: Courier New;"&gt;devfsadm.&lt;/span&gt;&lt;/b&gt; For example to renumber the logical tape drive devices
          do the following: Tape drives were numbered beginning with &lt;span style="font-style: italic;"&gt;/dev/rmt/3&lt;/span&gt; instead of &lt;span style="font-style: italic;"&gt;/dev/rmt/0&lt;/span&gt;. The physical devices pointed to by the logical
          &lt;span style="font-style: italic;"&gt;/dev/rmt/[012]&lt;/span&gt; devices no longer existed, and we
          wanted to renumber the valid devices beginning at &lt;span style="font-style: italic;"&gt;/dev/rmt/0&lt;/span&gt;.&lt;/span&gt;&lt;br /&gt;
&lt;ol&gt;&lt;span style="font-family: Courier New;"&gt;
&lt;li&gt;Cleanup non-existent tape drive devices with &lt;span style="font-style: italic;"&gt;devfsadm&lt;/span&gt;.&lt;br /&gt;
            &lt;br /&gt;
            &lt;span style="font-family: Courier New;"&gt;# &lt;span style="font-weight: bold;"&gt;devfsadm -C -c tape -v&lt;br /&gt;
            &amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;Remove all &lt;span style="font-style: italic;"&gt;/dev/rmt&lt;/span&gt; logical links.&lt;br /&gt;
            &lt;br /&gt;
            &lt;span style="font-weight: bold;"&gt;# &lt;span style="font-family: Courier New;"&gt;rm -f /dev/rmt/*&lt;br /&gt;
            &amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;Recreate all &lt;span style="font-style: italic;"&gt;/dev/rmt&lt;/span&gt; logical links with
            &lt;span style="font-style: italic;"&gt;devfsadm&lt;br /&gt;
            &lt;br /&gt;
            #&lt;/span&gt; &lt;span style="font-family: Courier New;"&gt;&lt;span style="font-weight: bold;"&gt;&amp;nbsp;devfsadm -c
            tape -v&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;/span&gt;&lt;/ol&gt;
&lt;/blockquote&gt;
&lt;span style="font-family: Courier New;"&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;div class="header"&gt;
&lt;span style="font-family: Courier New;"&gt;devfsadm&lt;/span&gt;&lt;/div&gt;
&lt;span style="font-family: Courier New;"&gt;
&lt;blockquote&gt;
devfsadm(1M) maintains the /dev and /devices namespaces. It replaces the previous
          suite of devfs administration tools including drvconfig(1M), disks(1M), tapes(1M),
          ports(1M), audlinks(1M), and devlinks(1M).&lt;br /&gt;
OPTIONS&lt;br /&gt;
The following options are supported:&lt;br /&gt;
&lt;table border="1" cellpadding="3" cellspacing="3" id="AutoNumber5" style="border-collapse: collapse;"&gt;
            &lt;tbody&gt;
&lt;tr&gt;
              &lt;td valign="top" width="24%"&gt;&lt;div class="courier"&gt;
-C&lt;/div&gt;
&lt;/td&gt;
              &lt;td valign="top" width="76%"&gt;Cleanup mode. Prompt devfsadm to cleanup dangling /dev
              links that are not normally removed. If the -c option is also used, devfsadm only
              cleans up for the listed devices' classes.&lt;/td&gt;
            &lt;/tr&gt;
&lt;tr&gt;
              &lt;td valign="top" width="24%"&gt;&lt;div class="courier"&gt;
-c device_class&lt;/div&gt;
&lt;/td&gt;
              &lt;td valign="top" width="76%"&gt;Restrict operations to devices of class device_class.
              Solaris defines the following values for device_class: &lt;b&gt;disk, tape, port,
              audio&lt;/b&gt;, and &lt;b&gt;pseudo&lt;/b&gt;. This option may be specified more than once to specify
              multiple device classes.&lt;/td&gt;
            &lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;/blockquote&gt;
&lt;h1&gt;



&lt;img height="10" src="http://www.akadia.com/img/bullet-gruen.gif" width="15" /&gt;&amp;nbsp; &lt;a href="http://www.blogger.com/blogger.g?blogID=4827842540624707460" name="OpenBoot Diagnostics"&gt;OpenBoot Diagnostics&lt;/a&gt;&lt;/h1&gt;
&lt;blockquote&gt;
The Solaris operating system gets the jumpstart for its booting from a hardware-level
          interface called the OpenBoot PROM or OBP for short. OpenBoot at its heart has an
          interactive command interpreter with a varied set of functions. OBP is a firmware which
          is stored in the socketed startup PROM of the computer and consists of two parts, the
          PROM and the NVRAM.&lt;br /&gt;
As stated earlier while the PROM acts as the interface for access to diagnostics and
          drivers, the NVRAM consists of some editable user defined parameters. Non Volatile
          information like the system identification information, device aliases etc are stored in
          the NVRAM.The OpenBoot PROM is programmable and can be programmed based on Forth, which
          is an interactive&lt;br /&gt;
programming language much like shell scripting.&lt;br /&gt;
The main tasks performed by the OpenBoot firmware are:&lt;br /&gt;
&lt;ul&gt;
&lt;li&gt;Initializing and Testing system hardware ( POST , power on self test)&lt;/li&gt;
&lt;li&gt;Interactive Debugging&lt;/li&gt;
&lt;li&gt;Management of NVRAM Parameters&lt;/li&gt;
&lt;li&gt;Start the Operating System boot&lt;/li&gt;
&lt;/ul&gt;
&lt;table border="1" cellpadding="2" cellspacing="0" height="32"&gt;
            &lt;tbody&gt;
&lt;tr&gt;
              &lt;td bgcolor="#E9E9E9" colspan="3" height="20" valign="top" width="100%"&gt;&lt;b&gt;&lt;span style="font-family: Verdana; font-size: small;"&gt;Useful commands at OK prompt.&lt;/span&gt;&lt;/b&gt;&lt;/td&gt;
            &lt;/tr&gt;
&lt;tr&gt;
              &lt;td bgcolor="#F4F4F4" height="12" valign="top" width="32%"&gt;&lt;b&gt;&lt;span style="font-family: Verdana; font-size: xx-small;"&gt;Dignostics :&lt;/span&gt;&lt;/b&gt;&lt;/td&gt;
              &lt;td align="left" bgcolor="#F4F4F4" height="12" valign="top" width="32%"&gt;&lt;b&gt;&lt;span style="font-family: Verdana; font-size: xx-small;"&gt;boot&lt;/span&gt;&lt;/b&gt;&lt;span style="font-family: Verdana; font-size: xx-small;"&gt;&amp;nbsp;&lt;/span&gt;&lt;/td&gt;
              &lt;td align="left" bgcolor="#F4F4F4" height="12" valign="top" width="36%"&gt;&lt;b&gt;&lt;span style="font-family: Verdana; font-size: xx-small;"&gt;General&lt;/span&gt;&lt;/b&gt;&lt;/td&gt;
            &lt;/tr&gt;
&lt;tr&gt;
              &lt;td height="38" valign="top" width="32%"&gt;
&lt;dl&gt;
&lt;dt&gt;&lt;b&gt;&lt;span style="font-family: Verdana; font-size: xx-small;"&gt;banner&amp;nbsp;&lt;/span&gt;&lt;/b&gt;&lt;/dt&gt;
&lt;dt&gt;&lt;span style="font-family: Verdana; font-size: xx-small;"&gt;this command shows the following&amp;nbsp; systems
                  hardware informatiion : Model, architecture, processor,keyboard, openboot
                  version, Serial no. ethernet&amp;nbsp; address &amp;amp; host id.&lt;br /&gt;
                  &lt;br /&gt;
                  &lt;b&gt;test floppy&lt;/b&gt; - test floppy disk drive&lt;br /&gt;
                  &lt;b&gt;test net&lt;/b&gt; - test network loopbacks&lt;br /&gt;
                  &lt;b&gt;test scsi&lt;/b&gt; - test scsi interface&lt;br /&gt;
                  &lt;b&gt;test-all&amp;nbsp;&amp;nbsp;&lt;/b&gt;&amp;nbsp; test for all devices with selftest method&lt;br /&gt;
                  &lt;br /&gt;
                  &lt;b&gt;watch-clock&amp;nbsp;&amp;nbsp;&lt;/b&gt;&lt;/span&gt;&lt;/dt&gt;
&lt;dt&gt;&lt;span style="font-family: Verdana; font-size: xx-small;"&gt;Show ticks of real-time clock&lt;br /&gt;
                  &lt;br /&gt;
                  &lt;b&gt;watch-net&lt;/b&gt;&lt;/span&gt;&lt;/dt&gt;
&lt;dt&gt;&lt;span style="font-family: Verdana; font-size: xx-small;"&gt;Monitor network broadcast packets&lt;br /&gt;
                  &lt;br /&gt;
                  &lt;b&gt;watch-net-all&lt;/b&gt;&lt;/span&gt;&lt;/dt&gt;
&lt;dt&gt;&lt;span style="font-family: Verdana; font-size: xx-small;"&gt;Monitor broadcast packets on all net
                  interfaces&lt;br /&gt;
                  &lt;br /&gt;
                  &lt;b&gt;probe-scsi&lt;/b&gt;&lt;/span&gt;&lt;/dt&gt;
&lt;dt&gt;&lt;span style="font-family: Verdana; font-size: xx-small;"&gt;Show attached SCSI devices&lt;br /&gt;
                  &amp;nbsp;&lt;/span&gt;&lt;/dt&gt;
&lt;dt&gt;&lt;b&gt;&lt;span style="font-family: Verdana; font-size: xx-small;"&gt;probe-scsi-all&amp;nbsp;&lt;/span&gt;&lt;/b&gt;&lt;/dt&gt;
&lt;dt&gt;&lt;span style="font-family: Verdana; font-size: xx-small;"&gt;Show attached SCSI devices for all host
                  adapters- internal &amp;amp; external.&lt;/span&gt;&lt;/dt&gt;
&lt;/dl&gt;
&lt;/td&gt;
              &lt;td align="left" height="38" valign="top" width="32%"&gt;&lt;span style="font-family: Verdana; font-size: xx-small;"&gt;&lt;b&gt;boot&lt;/b&gt; - boot kernel from default device.&lt;br /&gt;
                Factory default is to boot&lt;br /&gt;
                from DISK if present, otherwise from NET.&lt;br /&gt;
                &lt;br /&gt;
                &lt;b&gt;boot net&lt;/b&gt; - boot kernel from network&lt;br /&gt;
                &lt;b&gt;boot cdrom&lt;/b&gt; - boot kernel from CD-ROM&lt;br /&gt;
                &lt;b&gt;boot disk1:h&lt;/b&gt; - boot from disk1 partition h&lt;br /&gt;
                &lt;b&gt;boot tape&lt;/b&gt; - boot default file from tape&lt;br /&gt;
                &lt;b&gt;boot disk myunix&lt;/b&gt; &lt;b&gt;-as&lt;/b&gt; - boot myunix from disk with flags "-as"&lt;/span&gt;
                &lt;b&gt;&lt;span style="font-family: Verdana; font-size: xx-small;"&gt;DEVALIAS&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;dl&gt;
&lt;dt&gt;&lt;tt&gt;&lt;kbd&gt;&lt;b&gt;&lt;span style="font-family: Verdana; font-size: xx-small;"&gt;ok&amp;gt;show-devs&lt;/span&gt;&lt;/b&gt;&lt;/kbd&gt;&lt;/tt&gt;&lt;/dt&gt;
&lt;dt&gt;&lt;tt&gt;&lt;span style="font-family: Verdana; font-size: xx-small;"&gt;ok &lt;kbd&gt;&lt;b&gt;cd
                  /pci@1f,4000/scsi@3&lt;/b&gt;&lt;/kbd&gt;&lt;/span&gt;&lt;/tt&gt;&lt;span style="font-family: Verdana; font-size: xx-small;"&gt;&amp;nbsp;&lt;/span&gt;&lt;/dt&gt;
&lt;dt&gt;&lt;span style="font-family: Verdana; font-size: xx-small;"&gt;ok &lt;kbd&gt;&lt;b&gt;.properties&lt;/b&gt;&lt;/kbd&gt;&lt;/span&gt;&lt;/dt&gt;
&lt;dt&gt;&lt;tt&gt;&lt;span style="font-family: Verdana; font-size: xx-small;"&gt;ok&lt;/span&gt;&lt;/tt&gt; &lt;kbd&gt;&lt;b&gt;&lt;span style="font-family: Verdana; font-size: xx-small;"&gt;ls&lt;/span&gt;&lt;/b&gt;&lt;/kbd&gt;&lt;/dt&gt;
&lt;dt&gt;&lt;span style="font-family: Verdana; font-size: xx-small;"&gt;f00809d8 tape&lt;/span&gt;&lt;/dt&gt;
&lt;dt&gt;&lt;span style="font-family: Verdana; font-size: xx-small;"&gt;f007ecdc disk&lt;/span&gt;&lt;/dt&gt;
&lt;dt&gt;&lt;tt&gt;&lt;span style="font-family: Verdana; font-size: xx-small;"&gt;ok&lt;/span&gt;&lt;/tt&gt; &lt;kbd&gt;&lt;span style="font-family: Verdana; font-size: xx-small;"&gt;&lt;b&gt;.speed&lt;/b&gt;&lt;/span&gt;&lt;/kbd&gt;&lt;/dt&gt;
&lt;dt&gt;&lt;span style="font-family: Verdana; font-size: xx-small;"&gt;CPU Speed : 200.00MHz&lt;/span&gt;&lt;/dt&gt;
&lt;dt&gt;&lt;span style="font-family: Verdana; font-size: xx-small;"&gt;UPA Speed : 100.00MHz&amp;nbsp;&lt;/span&gt;&lt;/dt&gt;
&lt;dt&gt;&lt;span style="font-family: Verdana; font-size: xx-small;"&gt;PCI Bus A : 66Mhz&lt;/span&gt;&lt;/dt&gt;
&lt;dt&gt;&lt;span style="font-family: Verdana; font-size: xx-small;"&gt;PCI Bus B : 33Mhz&lt;/span&gt;&lt;/dt&gt;
&lt;/dl&gt;
&lt;/td&gt;
              &lt;td align="left" height="38" valign="top" width="36%"&gt;
&lt;dl&gt;
&lt;dt&gt;&lt;b&gt;&lt;span style="font-family: Verdana; font-size: xx-small;"&gt;printenv&lt;/span&gt;&lt;/b&gt; &lt;span style="font-family: Verdana; font-size: xx-small;"&gt;Display all variables and current values.&lt;br /&gt;
                  &amp;nbsp;&lt;/span&gt;&lt;/dt&gt;
&lt;dt&gt;&lt;b&gt;&lt;span style="font-family: Verdana; font-size: xx-small;"&gt;setenv &lt;variable&gt;&lt;br /&gt;&lt;/variable&gt;&lt;/span&gt;&lt;/b&gt;
                  &lt;span style="font-family: Verdana; font-size: xx-small;"&gt;Set variable to the given&amp;nbsp;&amp;nbsp; value.&lt;br /&gt;
                  &amp;nbsp;&lt;/span&gt;&lt;/dt&gt;
&lt;dt&gt;&lt;b&gt;&lt;span style="font-family: Verdana; font-size: xx-small;"&gt;set-default&amp;nbsp;&lt;/span&gt;&lt;/b&gt; &lt;span style="font-family: Verdana; font-size: xx-small;"&gt;&lt;b&gt;&lt;variable&gt;&lt;/variable&gt;&lt;/b&gt;&lt;/span&gt;&lt;/dt&gt;
&lt;dt&gt;&lt;span style="font-family: Verdana; font-size: xx-small;"&gt;Reset the value of &lt;var&gt;variable&lt;/var&gt; to the
                  factory default.&lt;br /&gt;
                  &amp;nbsp;&lt;/span&gt;&lt;/dt&gt;
&lt;dt&gt;&lt;b&gt;&lt;span style="font-family: Verdana; font-size: xx-small;"&gt;set-defaults&amp;nbsp;&lt;/span&gt;&lt;/b&gt;&lt;/dt&gt;
&lt;dt&gt;&lt;span style="font-family: Verdana; font-size: xx-small;"&gt;Reset variable values to the factory
                  defaults.&lt;/span&gt;&lt;/dt&gt;
&lt;/dl&gt;
&lt;/td&gt;
            &lt;/tr&gt;
&lt;tr&gt;
              &lt;td colspan="3" height="38" valign="top" width="100%"&gt;
&lt;dl&gt;
&lt;dt&gt;&lt;b&gt;&lt;span style="font-family: Verdana; font-size: xx-small;"&gt;Key Sequences&lt;/span&gt;&lt;/b&gt;&lt;/dt&gt;
&lt;dt&gt;&lt;span style="color: black; font-family: Verdana; font-size: xx-small;"&gt;These commands are disabled if
                  the PROM security is on. Also, if your system has &lt;tt&gt;full&lt;/tt&gt; security enabled,
                  you cannot apply any of the suggested commands unless you have the password to
                  get to the &lt;kbd&gt;ok&lt;/kbd&gt; prompt.&lt;/span&gt;&lt;/dt&gt;
&lt;dt&gt;&lt;b&gt;&lt;span style="font-family: Verdana; font-size: xx-small;"&gt;Stop&lt;/span&gt;&lt;/b&gt; &lt;span style="font-family: Verdana; font-size: xx-small;"&gt;- Bypass POST. This command does not depend on security-mode. (Note: some
                  systems bypass POST as a default; in such cases, use &lt;tt&gt;Stop-D&lt;/tt&gt; to start
                  POST.)&lt;/span&gt;&lt;/dt&gt;
&lt;dt&gt;&lt;b&gt;&lt;span style="font-family: Verdana; font-size: xx-small;"&gt;Stop-A&lt;/span&gt;&lt;/b&gt;&lt;span style="font-family: Verdana; font-size: xx-small;"&gt;&amp;nbsp; Abort.&lt;/span&gt;&lt;/dt&gt;
&lt;dt&gt;&lt;b&gt;&lt;span style="font-family: Verdana; font-size: xx-small;"&gt;Stop-D&lt;/span&gt;&lt;/b&gt; &lt;span style="font-family: Verdana; font-size: xx-small;"&gt;- Enter diagnostic mode (set &lt;tt&gt;diag-switch?&lt;/tt&gt; to
                  &lt;tt&gt;true&lt;/tt&gt;).&lt;/span&gt;&lt;/dt&gt;
&lt;dt&gt;&lt;b&gt;&lt;span style="font-family: Verdana; font-size: xx-small;"&gt;Stop-F&lt;/span&gt;&lt;/b&gt; &lt;span style="font-family: Verdana; font-size: xx-small;"&gt;- Enter Forth on TTYA instead of probing. Use &lt;tt&gt;exit&lt;/tt&gt; to continue with
                  the initialization sequence. Useful if hardware is broken.&lt;/span&gt;&lt;/dt&gt;
&lt;dt&gt;&lt;b&gt;&lt;span style="font-family: Verdana; font-size: xx-small;"&gt;Stop-N&amp;nbsp;&lt;/span&gt;&lt;/b&gt; &lt;span style="font-family: Verdana; font-size: xx-small;"&gt;Reset NVRAM contents to default values.&lt;/span&gt;&lt;/dt&gt;
&lt;/dl&gt;
&lt;/td&gt;
            &lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;/blockquote&gt;
&amp;nbsp;Start an OpenBoot Diagnostics&lt;br /&gt;

        &lt;blockquote&gt;
&lt;div class="courier"&gt;
&lt;b&gt;&lt;stop a=""&gt;&lt;br /&gt;&lt;/stop&gt;&lt;/b&gt; OK &lt;b&gt;setenv diag-switch? true&lt;/b&gt; OK
          &lt;b&gt;setenv auto-boot? false&lt;/b&gt; OK &lt;b&gt;reset-all&lt;br /&gt;
          &lt;/b&gt; OK &lt;b&gt;test-all&lt;/b&gt; or &lt;b&gt;obdiag&lt;/b&gt;&lt;/div&gt;
&lt;/blockquote&gt;
Configure Graphics Console (e.g. Sun XVR-100 Graphics Accelerator) instead of serial
        TTYA&lt;br /&gt;

        &lt;blockquote&gt;
&lt;div class="courier"&gt;
OK &lt;b&gt;show-displays&lt;/b&gt;&lt;br /&gt;
&lt;span style="color: blue;"&gt;Select the graphics accelerator, e.g. b&lt;/span&gt;&lt;/div&gt;
&lt;div align="left" class="courier"&gt;
OK &lt;b&gt;nvalias mydev &lt;ctrl-y&gt;&lt;br /&gt;&lt;/ctrl-y&gt;&lt;/b&gt; OK &lt;b&gt;setenv
          output-device mydev&lt;/b&gt; OK &lt;b&gt;setenv use-nvramrc? true&lt;/b&gt; OK
          &lt;b&gt;reset-all&lt;/b&gt;&lt;/div&gt;
&lt;/blockquote&gt;
&lt;h1 align="left"&gt;



&lt;span lang="en-us"&gt;&lt;img height="10" src="http://www.akadia.com/img/bullet-gruen.gif" width="15" /&gt;&lt;/span&gt; &lt;a href="http://www.blogger.com/blogger.g?blogID=4827842540624707460" name="Why doesnt my .forward file work"&gt;Why doesn't my .forward file
        work&lt;/a&gt;?&lt;/h1&gt;
&lt;div class="header"&gt;
&lt;span lang="de-ch"&gt;Overview&lt;/span&gt;&lt;/div&gt;
&lt;blockquote&gt;
If you are having problems where you have created a &lt;span style="font-family: Courier New;"&gt;&lt;span lang="de-ch"&gt;$HOME/&lt;/span&gt;.forward&lt;/span&gt; file in your home directory
          to forward e-mails from one account to another and it just won't forward them?&lt;/blockquote&gt;
&lt;div class="header"&gt;
&lt;span lang="de-ch"&gt;Set correct Permissions&lt;/span&gt;&lt;/div&gt;
&lt;blockquote&gt;
&lt;span lang="de-ch"&gt;First&lt;/span&gt; make sure the file isn't group or world writable.&lt;br /&gt;
&lt;div class="courier"&gt;
-rwxr&lt;b&gt;w&lt;/b&gt;xr-x 1 zahn dba 0 Jan 9 12:17 .forward&lt;span lang="de-ch"&gt;&amp;nbsp;&amp;nbsp; &lt;span style="color: red;"&gt;# wrong&lt;/span&gt;&lt;span style="color: blue;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt; -rwxr&lt;span lang="de-ch"&gt;&lt;b&gt;-&lt;/b&gt;&lt;/span&gt;xr-x 1 zahn dba 0 Jan
          9 12:17 .forward&lt;span lang="de-ch"&gt;&amp;nbsp;&amp;nbsp; &lt;span style="color: blue;"&gt;#
          OK&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
Lastly, make sure your home directory isn't group or world writable.&lt;br /&gt;
&lt;div class="courier"&gt;
drwxr&lt;b&gt;&lt;span lang="de-ch"&gt;w&lt;/span&gt;&lt;/b&gt;xr-x 14 zahn dba 4096 Jan 9
          12:20 zahn&lt;span lang="de-ch"&gt;&amp;nbsp;&amp;nbsp; &lt;span style="color: red;"&gt;# wrong&lt;/span&gt;&lt;/span&gt;
          drwx&lt;span lang="de-ch"&gt;r-&lt;/span&gt;xr-x 14 zahn dba 4096 Jan 9 12:20 zahn&lt;span lang="de-ch"&gt;&amp;nbsp;&amp;nbsp; &lt;span style="color: blue;"&gt;# OK&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/blockquote&gt;
&lt;h1&gt;



&lt;span lang="en-us"&gt;&lt;img height="10" src="http://www.akadia.com/img/bullet-gruen.gif" width="15" /&gt;&lt;/span&gt;
        &lt;span lang="en-us"&gt;&lt;a href="http://www.blogger.com/blogger.g?blogID=4827842540624707460" name="Simple Shell Script to backup your Files"&gt;Simple Shell Script
        to backup your Files&lt;/a&gt;&lt;/span&gt;&lt;/h1&gt;
&lt;blockquote&gt;
&lt;div class="header"&gt;
&lt;span lang="en-us"&gt;Overview&lt;/span&gt;&lt;/div&gt;
&lt;blockquote&gt;
&lt;span lang="en-us"&gt;A backup strategy is more complex than creating a redundant copy
            of disk storage and considering the strategy a success. A successful backup strategy
            must detail how the backup media are rotated, how the media are archived, how the
            system will be recovered, and what the backup software will do to create the backup.
            Although all parts of the backup strategy are equally important, this tip will focus on
            the backup script and will detail a flexible backup script that uses built-in Solaris
            software tools which create a reliable local backup of a Solaris machine.&lt;/span&gt;&lt;/blockquote&gt;
&lt;div class="header"&gt;
&lt;span lang="en-us"&gt;Introduction&lt;/span&gt;&lt;/div&gt;
&lt;blockquote&gt;
&lt;div class="normal"&gt;
&lt;span lang="en-us"&gt;The backup script will accomplish the following
            goals:&lt;/span&gt;&lt;/div&gt;
&lt;ul&gt;
&lt;li&gt;&lt;span lang="en-us"&gt;Create a backup archive that is as easy to restore a single
              file as it is to restore an entire file system.&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span lang="en-us"&gt;The backup script will run autonomously. The only human
              intervention will be to swap media and review output.&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span lang="en-us"&gt;The filesystems or directories to backup can be specified in
              the script. Using automounter you can even specify remote filesystems.&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span lang="en-us"&gt;The script will create a detailed log of the
              backup.&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span lang="en-us"&gt;The script will send an abbreviated email summary of the
              backup to the administrator.&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span lang="en-us"&gt;After a successful backup, the script will verify to some
              extent the contents of the backup media.&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span lang="en-us"&gt;The backup script will be able to run on any Solaris 2.6 or
              greater machine without modification.&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/blockquote&gt;
&lt;div class="header"&gt;
&lt;span lang="en-us"&gt;Tools used&lt;/span&gt;&lt;/div&gt;
&lt;blockquote&gt;
&lt;div class="normal"&gt;
&lt;span lang="en-us"&gt;We use the well known utilities &lt;b&gt;TAR, GZIP&lt;/b&gt;
            and &lt;b&gt;DD&lt;/b&gt;, because they are available on any Unix system. They are very well tested
            and simple to use. In case of an emergency it is important to have a simple way to
            restore, independent of complex tools and incompatible software releases.&lt;/span&gt;&lt;/div&gt;
&lt;/blockquote&gt;
&lt;b&gt;&lt;span lang="en-us"&gt;&lt;span style="font-family: Arial; font-size: x-small;"&gt;Magnetic Tape
          Control&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;blockquote&gt;
&lt;span lang="en-us"&gt;&lt;span style="font-family: Arial;"&gt;The utility &lt;b&gt;MT&lt;/b&gt;&lt;/span&gt; &lt;span style="font-family: Arial; font-size: x-small;"&gt;sends commands to a tape drive. Many of these commands are familiar,
            but some are not. The script will use these mt commands.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;ul&gt;
&lt;li&gt;&lt;span lang="en-us"&gt;&lt;span style="font-family: Arial; font-size: x-small;"&gt;rewind – rewind the
              tape&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span lang="en-us"&gt;&lt;span style="font-family: Arial; font-size: x-small;"&gt;rewoffl – rewind the tape
              and eject it (go offline)&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span lang="en-us"&gt;&lt;span style="font-family: Arial; font-size: x-small;"&gt;eom – space to end of
              recorded media on tape&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span lang="en-us"&gt;&lt;span style="font-family: Arial; font-size: x-small;"&gt;weof – write count EOF marks
              at current position on tape&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span lang="en-us"&gt;&lt;span style="font-family: Arial; font-size: x-small;"&gt;status – display current
              status of tape&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/blockquote&gt;
&lt;div class="header"&gt;
&lt;span lang="en-us"&gt;Script&lt;/span&gt;&lt;/div&gt;
&lt;blockquote&gt;
&lt;span lang="en-us"&gt;Click &lt;b&gt;&lt;a href="http://www.akadia.com/download/documents/my_backup.txt" target="_top"&gt;here&lt;/a&gt;&lt;/b&gt; for the Shell Script&lt;/span&gt;&lt;/blockquote&gt;
&lt;/blockquote&gt;
&lt;/span&gt;&lt;/td&gt;
    &lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4827842540624707460-7968298242100393976?l=kinhnghiem.luyenthianhvan.org' alt='' /&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/kinhnghiemvn/~4/uM76av1B3Pk" height="1" width="1"/&gt;</description><link>http://feedproxy.google.com/~r/kinhnghiemvn/~3/uM76av1B3Pk/command-solaris.html</link><author>noreply@blogger.com (vitec)</author><thr:total>0</thr:total><feedburner:origLink>http://kinhnghiem.luyenthianhvan.org/2011/12/command-solaris.html</feedburner:origLink></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-4827842540624707460.post-3128368235380692656</guid><pubDate>Fri, 02 Dec 2011 08:14:00 +0000</pubDate><atom:updated>2011-12-02T00:16:01.583-08:00</atom:updated><title>Mounting an Existing ISO CD-ROM Image under Solaris UNIX</title><description>&lt;h2&gt;


Mounting an Existing ISO CD-ROM Image under Solaris UNIX&lt;/h2&gt;
If your image name is cd.iso, you can type command:&lt;br /&gt;
&lt;code style="color: red;"&gt;# lofiadm -a /path/to/cd.iso&lt;/code&gt;&lt;br /&gt;
Output:&lt;br /&gt;
&lt;pre style="color: blue;"&gt;/dev/lofi/1&lt;/pre&gt;
&lt;pre style="color: blue;"&gt;&amp;nbsp;&lt;/pre&gt;
Please
 note that the file name argument on lofiadm must be fully qualified and
 the path must be absolute not relative (thanks to mike for tip).&lt;br /&gt;
/dev/lofi/1 is the device, use the same to mount iso image with mount command:&lt;br /&gt;
&lt;code&gt;# mount -o ro -F hsfs /dev/lofi/1 /mnt&lt;br /&gt; # cd /mnt&lt;br /&gt; # ls -l&lt;br /&gt; # df -k /mnt&lt;/code&gt;&lt;br /&gt;
Mount the loopback device as a randomly accessible file system with&lt;br /&gt;
&lt;code style="color: red;"&gt;mount -F hsfs -o ro /dev/lofi/X /mnt&lt;/code&gt;&lt;br /&gt;
&lt;br /&gt;
Alternatively, use this combined format:&lt;br /&gt;
&lt;code&gt;mount -F hsfs -o ro `lofiadm -a /path/to/image.iso` /mnt&lt;/code&gt;&lt;br /&gt;
&lt;h2&gt;


Unmount and detach the images&lt;/h2&gt;
Use umount command to unmount image:&lt;br /&gt;
&lt;code&gt;# umount /mnt&lt;/code&gt;&lt;br /&gt;
Now remove/free block device:&lt;br /&gt;
&lt;code&gt;# lofiadm -d /dev/lofi/1&lt;/code&gt;&lt;br /&gt;
For more information read lofiadm and lofi man pages by typing the following command:&lt;br /&gt;
&lt;code&gt;man lofiadm&lt;/code&gt;&lt;br /&gt;
&lt;h4&gt;


&lt;/h4&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4827842540624707460-3128368235380692656?l=kinhnghiem.luyenthianhvan.org' alt='' /&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/kinhnghiemvn/~4/V4HWcMh_SPE" height="1" width="1"/&gt;</description><link>http://feedproxy.google.com/~r/kinhnghiemvn/~3/V4HWcMh_SPE/mounting-existing-iso-cd-rom-image.html</link><author>noreply@blogger.com (vitec)</author><thr:total>0</thr:total><feedburner:origLink>http://kinhnghiem.luyenthianhvan.org/2011/12/mounting-existing-iso-cd-rom-image.html</feedburner:origLink></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-4827842540624707460.post-3718689030353501162</guid><pubDate>Tue, 15 Nov 2011 16:04:00 +0000</pubDate><atom:updated>2011-11-15T08:04:37.208-08:00</atom:updated><title>CSF: Config Server Firewall Installation</title><description>&lt;a class="storytitle" href="http://kb.liquidweb.com/csf-config-server-firewall-installation/" rel="bookmark"&gt;&lt;/a&gt;&lt;i&gt;Filed under: &lt;a href="http://kb.liquidweb.com/category/technical-support/" rel="category tag" title="View all posts in Technical Support"&gt;Technical Support&lt;/a&gt; &lt;/i&gt;&lt;br /&gt;

 
 
  An alternative firewall to &lt;a href="http://liquidweb.com/kb/apf-firewall/"&gt;APF&lt;/a&gt; is the Config Server Firewall, or &lt;a href="http://configserver.com/cp/csf.html"&gt;CSF&lt;/a&gt;.&lt;br /&gt;

CSF is generally considered a more advanced firewall as there are 
more configuration options compared to other firewalls, while still 
being simple enough to install and configure that even novice 
administrators can use it.  This article will give you a simple overview
 about how to install and configure CSF and its security plugin LFD 
(Login Failure Daemon).&lt;br /&gt;

&lt;span id="more-2842"&gt;&lt;/span&gt;&lt;br /&gt;

Note: This post assumes that you are familiar with &lt;a href="http://liquidweb.com/kb/new-user-tutorial-basic-ssh/"&gt;SSH and basic command line navigation&lt;/a&gt;.
  These instructions apply primarily to customers who have VPS or 
Dedicated servers.  If you do not have root-level access to your server 
account you will not be able to make these changes.&lt;br /&gt;

&lt;h3&gt;
Removing Your Current Firewall&lt;/h3&gt;
To prevent any conflicts in operation we will need to remove your 
current firewall.  The most common software firewalls on our dedicated 
servers are APF and CSF, so we have provided instructions on how to 
remove APF below.  If you are using a different software firewall be 
sure to follow that programs uninstall directions before continuing.  
After completing the uninstall continue with the CSF installation below.&lt;br /&gt;

&lt;h4&gt;
Using Yum to Remove APF&lt;/h4&gt;
If it was installed via yum, which is most likely, you will first need to identify the name of your APF package:&lt;br /&gt;

&lt;code&gt;rpm -qa |grep -i apf&lt;/code&gt;&lt;br /&gt;

In this case:&lt;br /&gt;

&lt;code&gt;[root@host ~]# rpm -qa | grep apf&lt;br /&gt;
apf-9.6_5-1&lt;/code&gt;&lt;br /&gt;

In order to remove that package, and get your server ready for CSF installation, run the following command:&lt;br /&gt;

&lt;code&gt;[root@host ~]# rpm -e apf-9.6_5-1&lt;/code&gt;&lt;br /&gt;

If you see this:&lt;br /&gt;

&lt;code&gt;[root@host ~ ]# rpm -e apf-9.6_5-1&lt;br /&gt;
error: Failed dependencies:&lt;br /&gt;
 apf &amp;gt;= 9.6_5-1 is needed by (installed) bfd-1.2-1.noarch&lt;/code&gt;&lt;br /&gt;

It means you have BFD installed, and it will need to be removed before you can proceed to removing APF:&lt;br /&gt;

&lt;code&gt;[root@host ~ ]# rpm -e bfd-1.2-1.noarch&lt;/code&gt;&lt;br /&gt;

Then attempt to remove apf again:&lt;br /&gt;

&lt;code&gt;[root@host ~ ]# rpm -e apf-9.6_5-1&lt;/code&gt;&lt;br /&gt;

Any further dependency errors can be handled in the same way as long 
as you are aware of what you are removing.  If you have any questions or
 get stuck at any point feel free to open up a support request with us 
by logging in to &lt;a href="http://liquidweb.com/pims/"&gt;PIMS&lt;/a&gt;.&lt;br /&gt;

&lt;h4&gt;
Removing Source Installed APF&lt;/h4&gt;
This can be a bit trickier, and if you are not sure what you’re doing
 you may want to submit a ticket to our support team.  If you are 
confident and wish to proceed you will find a list of commands below 
that you can use to remove APF if it is installed in the most common 
CentOS directories.&lt;br /&gt;

Stopping APF and iptables clears all of the rules from your firewall 
and ensures that removing the APF installation won’t cause access 
problems:&lt;br /&gt;

&lt;code&gt;[root@host ~ ]#  /etc/init.d/iptables stop&lt;/code&gt;&lt;br /&gt;
&lt;code&gt;[root@host ~ ]#  /etc/init.d/apf stop&lt;/code&gt;&lt;br /&gt;

Remove all of the APF related files:&lt;br /&gt;

&lt;code&gt;[root@host ~ ]#  rm -Rfv /etc/apf&lt;br /&gt;
[root@host ~ ]#  rm -fv /etc/cron.daily/fw&lt;br /&gt;
[root@host ~ ]#  rm -fv /etc/init.d/apf&lt;/code&gt;&lt;br /&gt;

Remove APF from the list of programs that start at boot:&lt;br /&gt;

&lt;code&gt;[root@host ~ ]#  chkconfig apf off&lt;/code&gt;&lt;br /&gt;

If you get an error on any of those commands that you don’t 
understand please open a ticket with our support team and we will do 
everything we can to assist you.&lt;br /&gt;

&lt;h3&gt;
Installing CSF&lt;/h3&gt;
Installing CSF should be as simple as downloading the source file to 
your server and installing it.  All commands below should be executed on
 your server via SSH, not on your local computer.&lt;br /&gt;

The first few steps of the installation are the same whether it is a cPanel server or a non-cPanel server.&lt;br /&gt;

&lt;h4&gt;
Retrieving the Package&lt;/h4&gt;
Best practice when installing any software from source:  Use a temporary directory on a partition with plenty of space.&lt;br /&gt;

On our dedicated cPanel servers you will already have a directory 
that we generally use for such things called ‘temp’ on the home 
partition:&lt;br /&gt;

&lt;code&gt;[root@host ~ ]#  cd /home/temp/&lt;/code&gt;&lt;br /&gt;

It is a good idea to check your disk space usage before proceeding, just to be sure there is plenty available:&lt;br /&gt;

&lt;code&gt;[root@host ~ ]#  df -h&lt;/code&gt;&lt;br /&gt;

Use &lt;a href="http://linux.die.net/man/1/wget"&gt;‘wget’&lt;/a&gt; to retrieve CSF install code:&lt;br /&gt;
&lt;code&gt;[root@host ~ ]#  wget http://www.configserver.com/free/csf.tgz&lt;/code&gt;&lt;br /&gt;

Once the download is complete, you will see something similar to the following, and be given a command prompt again:&lt;br /&gt;
&lt;code&gt;14:53:02 (410.05 KB/s) - `csf.tgz' saved [487272/487272]&lt;/code&gt;&lt;br /&gt;

Next: Decompress the CSF install files and change directories to the newly created ‘csf’ directory:&lt;br /&gt;
&lt;code&gt;[root@host ~ ]#  tar zxvf csf.tgz&lt;br /&gt;
[root@host ~ ]#  cd csf&lt;/code&gt;&lt;br /&gt;

This is where the paths diverge: cPanel server, or non-cPanel server.&lt;br /&gt;

&lt;code&gt;[root@host /home/temp/csf/ ]#  ./install.cpanel.sh&lt;/code&gt;&lt;br /&gt;

If you are running a non-cpanel redhat server:&lt;br /&gt;

&lt;code&gt;[root@host /home/temp/csf/ ]#  ./install.sh &lt;/code&gt;&lt;br /&gt;

Either way you can look through the output of the script as it is 
running and it will tell you everything it has done.  At the end, you 
will see something similar to the following:&lt;br /&gt;

&lt;pre&gt;&lt;code&gt;TCP ports currently listening for incoming connections:
21,22,25,53,80,110,143,443,465,993,995,2077,2078,2082,2083,2086,
2087,2095,2096,3306

UDP ports currently listening for incoming connections:
53,123

Note: The port details above are for information only, csf hasn't
been auto-configured.

Don't forget to:
1. Configure the TCP_IN, TCP_OUT, UDP_IN and UDP_OUT options in
the csf configuration to suite your server
2. Restart csf and lfd
3. Set TESTING to 0 once you're happy with the firewall

Adding current SSH session IP address to the csf whitelist in csf.allow:
Adding 10.30.6.17 to csf.allow only while in TESTING
mode (not iptables ACCEPT)
*WARNING* TESTING mode is enabled
- do not forget to disable it in the configuration

Installation Completed
&lt;/code&gt;&lt;/pre&gt;
To start testing CSF, start it up:&lt;br /&gt;

&lt;code&gt;[root@host ~ ]#  /etc/init.d/csf restart&lt;/code&gt;&lt;br /&gt;

Once you have completed your testing be sure to take CSF out of testing mode by changing the flag in the csf.conf:&lt;br /&gt;

Edit the configuration with your favorite editor, in this case we will use vi:&lt;br /&gt;

&lt;code&gt;[root@host ~ ]#  vi /etc/csf/csf.conf &lt;/code&gt;&lt;br /&gt;

Find this block of text near the top of the configuration file:&lt;br /&gt;

&lt;code&gt;# Testing flag - enables a CRON job that clears iptables incase of&lt;br /&gt;
# configuration problems when you start csf. This should be enabled until you&lt;br /&gt;
# are sure that the firewall works - i.e. incase you get locked out of your&lt;br /&gt;
# server! Then do remember to set it to 0 and restart csf when you're sure&lt;br /&gt;
# everything is OK. Stopping csf will remove the line from /etc/crontab&lt;br /&gt;
TESTING = "1"&lt;/code&gt;&lt;br /&gt;

Edit the last line of that block of text so that it reflects testing being disabled:&lt;br /&gt;
&lt;code&gt;TESTING = "0"&lt;/code&gt;&lt;br /&gt;

Finally, restart CSF:&lt;br /&gt;

&lt;code&gt;[root@host ~ ]#  /etc/init.d/csf restart&lt;/code&gt;&lt;br /&gt;

Your CSF firewall is up and running!  Congratulations!&lt;br /&gt;

&lt;h4&gt;
Common Installation Errors&lt;/h4&gt;
If you see an error about libwww not being installed you can install it with yum or cpan:&lt;br /&gt;

&lt;code&gt;yum install perl-libwww-perl &lt;/code&gt;&lt;br /&gt;

OR&lt;br /&gt;

&lt;code&gt;perl -MCPAN -e 'install Bundle::LWP'&lt;/code&gt;&lt;br /&gt;

&lt;h3&gt;
Beginning CSF: Making Changes Using the Command Line.&lt;/h3&gt;
Updating CSF using the command line interface is simple by design! &lt;br /&gt;

Here are the most common commands you will be using:&lt;br /&gt;

&lt;strong&gt;csf -d IPADDRESS&lt;/strong&gt; will deny an IP.&lt;br /&gt;
&lt;strong&gt;csf -a IPADDRESS&lt;/strong&gt; will allow an IP.&lt;br /&gt;
&lt;strong&gt;csf -r&lt;/strong&gt; will reload all rules.&lt;br /&gt;

If you forget the command you are looking for just type '&lt;strong&gt;csf&lt;/strong&gt;' on the command line and you will receive an list of all of your options:&lt;br /&gt;

&lt;pre&gt;&lt;code&gt;
[root@host ~ ]#  csf
ConfigServer Security &amp;amp; Firewall (http://www.configserver.com/cp/csf/)
csf: v4.17
(c)2006, Way to the Web Limited (http://www.waytotheweb.com)

Usage: /usr/sbin/csf [option] [value]

Option              Meaning
-h, --help          Show this message
-l, --status        List/Show iptables configuration
-s, --start         Start firewall rules
-f, --stop          Flush/Stop firewall rules
-r, --restart       Restart firewall rules
-a, --add ip        Add an IP address to be whitelisted to /etc/csf.allow
-d, --deny ip       Add an IP address to be blocked to /etc/csf.deny
-dr, --denyrm ip    Remove and unblock an IP address in /etc/csf.deny
-c, --check         Checks for updates to csf+lfd but does not perform an upgrade
-g, --grep ip       Search the iptables rules for an IP match (incl. CIDR)
-t, --temp          Displays the current list of temporary IP bans and their TTL
-tr, --temprm ip    Remove an IP address from the temporary IP ban list
-td, --tempdeny ip ttl [-p port] [-d direction]
                    Add an IP address to the temporary IP ban list. ttl is how
                    long to blocks for in seconds. Optional port. Optional
                    direction of block can be one of in, out or inout. Default
                    is in
-tf, --tempf        Flush all IP addresses from the temporary IP ban list
-u, --update        Checks for updates to csf+lfd and performs an upgrade if
                    available
-x, --disable       Disable csf and lfd
-e, --enable        Enable csf and lfd if previously disabled
-v, --version       Show csf version
&lt;/code&gt;&lt;/pre&gt;
CSF is an increasingly popular alternative to the stock firewalls on 
some servers.  Should you require any other help or have any questions 
about CSF please open a ticket with our support team by logging in to 
your &lt;a href="http://liquidweb.com/pims"&gt;PIMS&lt;/a&gt; account, or you can also visit the &lt;a href="http://www.configserver.com/cp/csf.html"&gt;CSF home page&lt;/a&gt; where you can find other documentation and FAQs.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4827842540624707460-3718689030353501162?l=kinhnghiem.luyenthianhvan.org' alt='' /&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/kinhnghiemvn/~4/HZE60bQCKco" height="1" width="1"/&gt;</description><link>http://feedproxy.google.com/~r/kinhnghiemvn/~3/HZE60bQCKco/csf-config-server-firewall-installation.html</link><author>noreply@blogger.com (vitec)</author><thr:total>0</thr:total><feedburner:origLink>http://kinhnghiem.luyenthianhvan.org/2011/11/csf-config-server-firewall-installation.html</feedburner:origLink></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-4827842540624707460.post-6750057872853158606</guid><pubDate>Sat, 12 Nov 2011 03:14:00 +0000</pubDate><atom:updated>2011-11-11T19:16:11.804-08:00</atom:updated><title>Copy Recursive with command line ftp</title><description>Ftp command line linux copy Recursive&amp;nbsp; (for mget, get, ...)&lt;br /&gt;
&lt;br /&gt;
wget -r 'ftp://user:pass@domain/public_html/download/'&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4827842540624707460-6750057872853158606?l=kinhnghiem.luyenthianhvan.org' alt='' /&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/kinhnghiemvn/~4/L9fV4WMF5wE" height="1" width="1"/&gt;</description><link>http://feedproxy.google.com/~r/kinhnghiemvn/~3/L9fV4WMF5wE/copy-recursive-with-command-line-ftp.html</link><author>noreply@blogger.com (vitec)</author><thr:total>0</thr:total><feedburner:origLink>http://kinhnghiem.luyenthianhvan.org/2011/11/copy-recursive-with-command-line-ftp.html</feedburner:origLink></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-4827842540624707460.post-2558325976650725429</guid><pubDate>Sat, 05 Nov 2011 09:12:00 +0000</pubDate><atom:updated>2011-11-05T02:12:26.980-07:00</atom:updated><title>Đồng bộ dữ liệu trên 2 Database Server sử dụng MySQL Server</title><description>&lt;span class="Apple-style-span" style="color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 13px; line-height: 17px;"&gt;Trong
 bài viết này, mình sẽ tiếp tục trình bày các để đồng bộ dữ liệu giữa 2 
Database Server sử dụng MySQL Server (MySQL Replication), thực hiện trên
 hệ điều hành CentOS 5.6&lt;br style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;" /&gt;Trong mô hình này. Một Server sẽ đóng vai trò là MASTER, Server kia đóng vai trò là SLAVE.&lt;br style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;" /&gt;&lt;br /&gt;
&lt;strong&gt;Yêu cầu 2 Server:&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;ul&gt;
&lt;li&gt;&lt;span class="Apple-style-span" style="border-collapse: separate; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 17px; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;"&gt;Đã cài đặt MySQL&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;span class="Apple-style-span" style="border-collapse: separate; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 17px; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;"&gt;&lt;strong&gt;Cấu hình chung:&lt;/strong&gt;&lt;/span&gt;&lt;ul&gt;
&lt;li&gt;&lt;span class="Apple-style-span" style="border-collapse: separate; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 17px; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;"&gt;Server 1 có địa chỉ IP là: 192.168.1.131&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span class="Apple-style-span" style="border-collapse: separate; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 17px; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;"&gt;Server 2 có địa chỉ IP là: 192.168.1.137&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span class="Apple-style-span" style="border-collapse: separate; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 17px; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;"&gt;Database trên 2 Server cần đồng bộ có tên: dulieumau&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;span class="Apple-style-span" style="border-collapse: separate; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 17px; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;"&gt;&lt;strong&gt;1) Cấu hình MASTER (Server1):&lt;/strong&gt;&lt;br /&gt;
&lt;br /&gt;
Đánh lệnh để sửa lại nội dung file my.cnf&lt;br /&gt;
&lt;em&gt;vi /etc/my.cnf&lt;/em&gt;&lt;br /&gt;
&lt;br /&gt;
Đầu tiên bạn cần chắc chắn rằng 2 dòng sau của file my.cnf đã được commnet hoặc được xóa bỏ&lt;br /&gt;
&lt;em&gt;#skip-networking&lt;br /&gt;
#bind-address = 127.0.0.1&lt;/em&gt;&lt;br /&gt;
&lt;br /&gt;
Tiếp đó, trong thẻ&amp;nbsp;&lt;strong&gt;[mysqld]&lt;/strong&gt;&amp;nbsp;thêm vào nội dung sau:&lt;br /&gt;
&lt;em&gt;log-bin&lt;br /&gt;
binlog-do-db=dulieumau&lt;br /&gt;
server-id=1&lt;/em&gt;&lt;br /&gt;
&lt;br /&gt;
Trong đó binlog-do-db ta cho biết dữ liệu cần đồng bộ.&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="border-collapse: separate; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 13px; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 17px; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;"&gt;&lt;span class="Apple-style-span" style="color: #464646; font-size: 12px; line-height: normal;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div align="center" style="font-style: normal;"&gt;
&lt;span class="Apple-style-span" style="border-collapse: separate; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 17px; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;"&gt;&lt;img alt="" height="377" src="http://www.kenhgiaiphap.vn/UserFiles/Image/mysql_replication/mysql_replication_03.png" width="509" /&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="border-collapse: separate; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 17px; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;"&gt;&lt;/span&gt;&lt;/div&gt;
&lt;span class="Apple-style-span" style="border-collapse: separate; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 17px; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;"&gt;Sau đó ta khởi động lại MySQL. Gõ lệnh:&lt;br /&gt;
&lt;em&gt;service mysqld restart&lt;/em&gt;&lt;br /&gt;
&lt;br /&gt;
Tiếp theo, đăng nhập vào MySQL trên Server 1 bằng tài khoản root&lt;br /&gt;
&lt;em&gt;mysqld -u root -p&lt;/em&gt;&lt;/span&gt;&lt;div align="center" style="font-style: normal;"&gt;
&lt;span class="Apple-style-span" style="border-collapse: separate; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 17px; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;"&gt;&lt;img alt="" height="132" src="http://www.kenhgiaiphap.vn/UserFiles/Image/mysql_replication/mysql_replication_04.png" width="509" /&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="border-collapse: separate; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 17px; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;"&gt;&lt;/span&gt;&lt;/div&gt;
&lt;span class="Apple-style-span" style="border-collapse: separate; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 17px; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;"&gt;Tạo một user để Server 2 đăng nhập và có thể Replicate&lt;br /&gt;
&lt;em&gt;GRANT REPLICATION SLAVE ON *.* TO 'slave'@'%' IDENTIFIED BY '123456';&lt;/em&gt;&lt;br /&gt;
&lt;/span&gt;&lt;div align="center" style="font-style: normal;"&gt;
&lt;span class="Apple-style-span" style="border-collapse: separate; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 17px; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;"&gt;&lt;img alt="" height="60" src="http://www.kenhgiaiphap.vn/UserFiles/Image/mysql_replication/mysql_replication_05.png" width="509" /&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="border-collapse: separate; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 17px; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;"&gt;&lt;/span&gt;&lt;/div&gt;
&lt;span class="Apple-style-span" style="border-collapse: separate; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 17px; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;"&gt;Trong dòng lệnh trên thì Username là&amp;nbsp;&lt;strong&gt;slave&amp;nbsp;&lt;/strong&gt;và mật khẩu là&amp;nbsp;&lt;strong&gt;123456&lt;/strong&gt;&lt;br /&gt;
&lt;br /&gt;
Để đảm bảo tính nhất quán dữ liệu giữa 2 database trên Server1 và 
Server2. Ta tiến hành ngưng các tác động làm thay đổi cơ sở dữ liệu.&lt;br /&gt;
&lt;em&gt;FLUSH TABLES WITH READ LOCK;&lt;/em&gt;&lt;br /&gt;
&lt;br /&gt;
Tiếp tục, Xem file log của cơ sỡ dữ liệu "dulieumau" hiện tại để slave biết bắt đầu replicate tại thời điểm nào.&lt;br /&gt;
&lt;em&gt;SHOW MASTER STATUS;&lt;/em&gt;&lt;br /&gt;
Ví dụ ở đây ta có kết quả như hình dưới đây.&lt;/span&gt;&lt;div align="center" style="font-style: normal;"&gt;
&lt;span class="Apple-style-span" style="border-collapse: separate; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 17px; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;"&gt;&lt;img alt="" height="128" src="http://www.kenhgiaiphap.vn/UserFiles/Image/mysql_replication/mysql_replication_06.png" width="509" /&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="border-collapse: separate; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 17px; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;"&gt;&lt;/span&gt;&lt;/div&gt;
&lt;span class="Apple-style-span" style="border-collapse: separate; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 17px; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;"&gt;Chúng ta cần lưu lại 2 tham số của cột File và Position để cấu hình cho SLAVE.&lt;br /&gt;
&lt;br /&gt;
&lt;strong&gt;2) Cấu hình SLAVE (Server 2):&lt;/strong&gt;&lt;br /&gt;
&lt;br /&gt;
Chú ý: Nếu như trước khi bạn thiết lập Replication này mà database cần 
Replicate của bạn đã có sẵn dữ liệu trên Server 1 thì bạn cần sao chép 
database này sang Server 2!&lt;br /&gt;
Bạn có thể thực hiện việc này bằng cách sao lưu và backup bằng tay từ 
server 1 sang server 2 hoặc có thể đánh lệnh sau trong server 2&lt;br /&gt;
&lt;em&gt;LOAD DATA FROM MASTER;&lt;/em&gt;&lt;br /&gt;
==&amp;gt; Đảm bảo trước khi cấu hình đồng bộ hóa thì database ở 2 server là giống nhau!&lt;br /&gt;
&lt;br /&gt;
Trên SLAVE&amp;nbsp; mở và thêm đoạn sau vào nội dung file my.cnf&lt;br /&gt;
&lt;em&gt;server-id=2&lt;br /&gt;
master-host=192.168.1.155&lt;br /&gt;
master-user=slave1&lt;br /&gt;
master-password=123456&lt;br /&gt;
master-port=3306&lt;br /&gt;
master-connect-retry=60&lt;br /&gt;
replicate-do-db= dulieumau&lt;/em&gt;&lt;/span&gt;&lt;div align="center" style="font-style: normal;"&gt;
&lt;span class="Apple-style-span" style="border-collapse: separate; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 17px; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;"&gt;&lt;img alt="" height="373" src="http://www.kenhgiaiphap.vn/UserFiles/Image/mysql_replication/mysql_replication_07.png" width="509" /&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="border-collapse: separate; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 17px; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;"&gt;&lt;/span&gt;&lt;/div&gt;
&lt;span class="Apple-style-span" style="border-collapse: separate; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 17px; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;"&gt;Trong đó:&lt;br /&gt;
master-host= IP hoặc domain của MASTER&lt;br /&gt;
master-user= Tài khoản để SLAVE đăng nhập vào MASTER được tạo ở bước trên&lt;br /&gt;
master-password= là mật khẩu của User đó&lt;br /&gt;
&lt;br /&gt;
Sau đó khởi động lại MySQL&lt;br /&gt;
&lt;em&gt;service mysqld restart&lt;/em&gt;&lt;br /&gt;
&lt;br /&gt;
Đăng nhập vào MySQL bằng quyền root&lt;br /&gt;
&lt;em&gt;mysql -u root -p&lt;/em&gt;&lt;br /&gt;
&lt;br /&gt;
Nếu Server 2 hiện đang là 1 SLAVE đang hoạt động thì ta tạm dừng nó lại&lt;br /&gt;
&lt;em&gt;SLAVE STOP;&lt;/em&gt;&lt;br /&gt;
&lt;br /&gt;
Cấu hình những thông tin cần thiết để SLAVE giao tiếp được với MASTER:&lt;br /&gt;
&lt;em&gt;CHANGE MASTER TO&lt;br /&gt;
-&amp;gt; MASTER_HOST='192.168.1.155',&lt;br /&gt;
-&amp;gt; MASTER_USER='slave1',&lt;br /&gt;
-&amp;gt; MASTER_PASSWORD='123456',&lt;br /&gt;
-&amp;gt; MASTER_LOG_FILE='mysqld-bin.000001',&lt;br /&gt;
-&amp;gt; MASTER_LOG_POS=98;&lt;/em&gt;&lt;/span&gt;&lt;div align="center" style="font-style: normal;"&gt;
&lt;span class="Apple-style-span" style="border-collapse: separate; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 17px; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;"&gt;&lt;img alt="" height="135" src="http://www.kenhgiaiphap.vn/UserFiles/Image/mysql_replication/mysql_replication_08.png" width="509" /&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="border-collapse: separate; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 17px; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;"&gt;&lt;/span&gt;&lt;/div&gt;
&lt;span class="Apple-style-span" style="border-collapse: separate; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 17px; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;"&gt;với MASTER_LOG_FILE và MASTER_LOG_POS là hai tham số có giá trị được ta lưu lại ở bước phía trên!&lt;br /&gt;
&lt;br /&gt;
Khởi động lại SLAVE:&lt;br /&gt;
&lt;em&gt;SLAVE START;&lt;/em&gt;&lt;/span&gt;&lt;div align="center" style="font-style: normal;"&gt;
&lt;span class="Apple-style-span" style="border-collapse: separate; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 17px; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;"&gt;&lt;img alt="" height="77" src="http://www.kenhgiaiphap.vn/UserFiles/Image/mysql_replication/mysql_replication_09.png" width="543" /&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="border-collapse: separate; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 17px; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;"&gt;&lt;/span&gt;&lt;/div&gt;
&lt;span class="Apple-style-span" style="border-collapse: separate; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 17px; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;"&gt;Giải phóng các Tables trên MASTER (Server 1).&lt;br /&gt;
&lt;em&gt;UNLOCK TABLES;&lt;/em&gt;&lt;/span&gt;&lt;div align="center" style="font-style: normal;"&gt;
&lt;span class="Apple-style-span" style="border-collapse: separate; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 17px; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;"&gt;&lt;img alt="" height="70" src="http://www.kenhgiaiphap.vn/UserFiles/Image/mysql_replication/mysql_replication_10.png" width="509" /&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="border-collapse: separate; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 17px; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;"&gt;&lt;/span&gt;&lt;/div&gt;
&lt;span class="Apple-style-span" style="border-collapse: separate; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 17px; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;"&gt;&lt;strong&gt;3) Testing:&lt;/strong&gt;&lt;br /&gt;
Khi ta tiến hành thay đổi dữ liệu trên dulieumau ở Server 1 thì 
dulieumau trên Server 2 cũng thay đổi theo y như vậy! ==&amp;gt; Thành công!&lt;/span&gt;&lt;div align="center" style="font-style: normal;"&gt;
&lt;span class="Apple-style-span" style="border-collapse: separate; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 17px; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;"&gt;&lt;img alt="" height="433" src="http://www.kenhgiaiphap.vn/UserFiles/Image/mysql_replication/mysql_replication_11.png" width="509" /&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;img alt="" height="446" src="http://www.kenhgiaiphap.vn/UserFiles/Image/mysql_replication/mysql_replication_12.png" width="509" /&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="border-collapse: separate; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 17px; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;"&gt;&lt;/span&gt;&lt;/div&gt;
&lt;span class="Apple-style-span" style="border-collapse: separate; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 17px; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;"&gt;* Một số lệnh để xem logs và kiểm tra hoạt động trên MASTER và SLAVE:&lt;br /&gt;
-------- MASTER:&lt;br /&gt;
mysql&amp;gt; SHOW GRANTS FOR repl;&lt;br /&gt;
mysql&amp;gt; SHOW MASTER LOGS \G&lt;br /&gt;
mysql&amp;gt; SHOW BINARY LOGS;&lt;br /&gt;
mysql&amp;gt; SHOW MASTER STATUS;&lt;br /&gt;
mysql&amp;gt; RESET MASTER ---&amp;gt; ( CAUTON !!! )&lt;br /&gt;
-------- SLAVE:&lt;br /&gt;
mysql&amp;gt; SHOW SLAVE STATUS;&lt;br /&gt;
mysql&amp;gt; STOP SLAVE;&lt;br /&gt;
mysql&amp;gt; START SLAVE;&lt;br /&gt;
mysql&amp;gt; RESET SLAVE;&lt;br /&gt;
&lt;br /&gt;
&lt;strong&gt;4) MySQL Replication theo 2 chiều:&lt;/strong&gt;&lt;br /&gt;
Các bước cấu hình mình đã trình bày ở trên sẽ giúp đồng bộ dữ liệu mỗi 
khi Database trên Server 1 được thay đổi. Tuy nhiên nếu dữ liệu ở trên 
Server 2 thay đổi thì Server 1 không có được những thay đổi này! Đó là 
replication một chiều (MASTER --&amp;gt; SLAVE)&lt;br /&gt;
Để có thể replication chiều (MASTER &amp;lt;--&amp;gt; MASTER) ta tiến hành cấu hình 2 mô hình MASTER-SLAVE replication lồng vào nhau:&lt;br /&gt;
Bước 1: Server 1 là MASTER, server 2 là SLAVE&lt;br /&gt;
Bước 2: Server 1 là SLAVE, server 2 là MASTER&lt;br /&gt;
&lt;br /&gt;
2 bước này cấu hình hoàn toàn tương tự như mình đã trình bày ở bên trên!&lt;br /&gt;
&lt;/span&gt;&lt;div align="right"&gt;
&lt;strong&gt;&lt;span class="Apple-style-span" style="border-collapse: separate; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 13px; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 17px; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;"&gt;&lt;i&gt;Sưu tầm (Theo Ngô Duy Khánh - Kenhgiaiphap.Vn)&lt;/i&gt;&lt;/span&gt;&lt;/strong&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4827842540624707460-2558325976650725429?l=kinhnghiem.luyenthianhvan.org' alt='' /&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/kinhnghiemvn/~4/OgSjJjzwUd4" height="1" width="1"/&gt;</description><link>http://feedproxy.google.com/~r/kinhnghiemvn/~3/OgSjJjzwUd4/ong-bo-du-lieu-tren-2-database-server.html</link><author>noreply@blogger.com (vitec)</author><thr:total>0</thr:total><feedburner:origLink>http://kinhnghiem.luyenthianhvan.org/2011/11/ong-bo-du-lieu-tren-2-database-server.html</feedburner:origLink></item></channel></rss>

