<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE rss [<!ENTITY % HTMLlat1 PUBLIC "-//W3C//ENTITIES Latin 1 for XHTML//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml-lat1.ent">]>
<rss version="2.0" xml:base="http://lopsa.org">
<channel>
 <title>Aleksey Tsalolikhin&#039;s blog</title>
 <link>http://lopsa.org/blog/430</link>
 <description></description>
 <language>en</language>
<item>
 <title>How to read tapes in TAR per frame format</title>
 <link>http://lopsa.org/node/1621</link>
 <description>&lt;p&gt;TAR per frame means each TIFF file is written as a separate TAR file onto tape. This is a practice in the entertainment industry. &lt;/p&gt;
&lt;p&gt;Now, the default tape device (/dev/st0 on Linux) rewinds after each command. Trying to read consecutive files, and rewinding between each read, adds a lot of time. &lt;/p&gt;
&lt;p&gt;It&#039;s possible to specify a no-rewind tape device which doesn&#039;t rewind after each command.  The device name is different on every Unix but on Linux it&#039;s /dev/nst0. (the &quot;n&quot; stands for no-rewind. The &quot;st&quot; stands for SCSI tape.) &lt;/p&gt;
&lt;p&gt;Here is a loop to read a file and then advance to the next  This command will extract the entirety of the TAR per frame tape.&lt;/p&gt;

&lt;!--
&lt;rdf:RDF xmlns:rdf=&quot;http://www.w3.org/1999/02/22-rdf-syntax-ns#&quot; xmlns:dc=&quot;http://purl.org/dc/elements/1.1/&quot; xmlns:trackback=&quot;http://madskills.com/public/xml/rss/module/trackback/&quot;&gt;
&lt;rdf:Description rdf:about=&quot;http://lopsa.org/node/1621&quot; dc:identifier=&quot;http://lopsa.org/node/1621&quot; dc:title=&quot;How to read tapes in TAR per frame format&quot; trackback:ping=&quot;http://lopsa.org/trackback/1621&quot; /&gt;
&lt;/rdf:RDF&gt;
--&gt;

</description>
 <pubDate>Fri, 23 May 2008 11:21:17 -0700</pubDate>
 <author>Aleksey Tsalolikhin</author>
</item>
<item>
 <title>Allow me to encourage you to join the very cool USENIX Association</title>
 <link>http://lopsa.org/node/1594</link>
 <description>&lt;p&gt;This just in:&lt;/p&gt;
&lt;p&gt;USENIX is pleased to announce open public access to all its conference&lt;br /&gt;
proceedings.&lt;/p&gt;
&lt;p&gt;This significant decision will allow universal access to some of the&lt;br /&gt;
most important technical research in advanced computing. In making this&lt;br /&gt;
move USENIX is setting the standard for open access to information, an&lt;br /&gt;
essential part of its mission.&lt;/p&gt;
&lt;p&gt;USENIX could not achieve such goals without the support and dedication&lt;br /&gt;
of its membership. We urge you to encourage others to join USENIX.&lt;br /&gt;
Membership helps us present over 20 influential conferences each year&lt;br /&gt;
and offer open access to the technical information presented there.&lt;/p&gt;

&lt;!--
&lt;rdf:RDF xmlns:rdf=&quot;http://www.w3.org/1999/02/22-rdf-syntax-ns#&quot; xmlns:dc=&quot;http://purl.org/dc/elements/1.1/&quot; xmlns:trackback=&quot;http://madskills.com/public/xml/rss/module/trackback/&quot;&gt;
&lt;rdf:Description rdf:about=&quot;http://lopsa.org/node/1594&quot; dc:identifier=&quot;http://lopsa.org/node/1594&quot; dc:title=&quot;Allow me to encourage you to join the very cool USENIX Association&quot; trackback:ping=&quot;http://lopsa.org/trackback/1594&quot; /&gt;
&lt;/rdf:RDF&gt;
--&gt;

</description>
 <pubDate>Wed, 12 Mar 2008 23:52:28 -0700</pubDate>
 <author>Aleksey Tsalolikhin</author>
</item>
<item>
 <title>backing up  crontabs over ssh (many-to-one disk-to-disk backup)</title>
 <link>http://lopsa.org/node/1591</link>
 <description>&lt;p&gt;Here is a pair of ssh &quot;for&quot; loops to backup all the crontabs on my Linux and HP-UX systems to my admin host:&lt;/p&gt;
&lt;p&gt;for f in `cat ~/linux_hostnames.txt `&lt;br /&gt;
do&lt;br /&gt;
    echo backing up $f; ssh $f &#039;sudo tar cvf - /var/spool/cron/&#039; &amp;gt; $f.tar&lt;br /&gt;
done&lt;/p&gt;
&lt;p&gt;for f in `cat ~/hpux_hostnames.txt `&lt;br /&gt;
do&lt;br /&gt;
    echo backing up $f; ssh $f &#039;sudo tar cvf - /var/spool/cron/crontabs&#039; &amp;gt; $f.tar&lt;br /&gt;
done&lt;/p&gt;
&lt;p&gt;Let me know if this is useful to you.   &lt;/p&gt;
&lt;p&gt;Best,&lt;br /&gt;
Aleksey&lt;/p&gt;

&lt;!--
&lt;rdf:RDF xmlns:rdf=&quot;http://www.w3.org/1999/02/22-rdf-syntax-ns#&quot; xmlns:dc=&quot;http://purl.org/dc/elements/1.1/&quot; xmlns:trackback=&quot;http://madskills.com/public/xml/rss/module/trackback/&quot;&gt;
&lt;rdf:Description rdf:about=&quot;http://lopsa.org/node/1591&quot; dc:identifier=&quot;http://lopsa.org/node/1591&quot; dc:title=&quot;backing up  crontabs over ssh (many-to-one disk-to-disk backup)&quot; trackback:ping=&quot;http://lopsa.org/trackback/1591&quot; /&gt;
&lt;/rdf:RDF&gt;
--&gt;

</description>
 <pubDate>Wed, 05 Mar 2008 21:02:57 -0800</pubDate>
 <author>Aleksey Tsalolikhin</author>
</item>
<item>
 <title>How to use zip to compress files</title>
 <link>http://lopsa.org/node/1585</link>
 <description>&lt;p&gt;The syntax is:&lt;/p&gt;
&lt;p&gt;zip  output_archive_name  input_file_name&lt;/p&gt;
&lt;p&gt;Examples:&lt;/p&gt;
&lt;p&gt;              zip new_archive_name  existing_file_name&lt;/p&gt;
&lt;p&gt;will compress existing_file_aname into new_archive_name.zip&lt;/p&gt;
&lt;p&gt;	      zip new_archive_name  directory_name&lt;/p&gt;
&lt;p&gt;will create new_archive_name.zip&lt;/p&gt;

&lt;!--
&lt;rdf:RDF xmlns:rdf=&quot;http://www.w3.org/1999/02/22-rdf-syntax-ns#&quot; xmlns:dc=&quot;http://purl.org/dc/elements/1.1/&quot; xmlns:trackback=&quot;http://madskills.com/public/xml/rss/module/trackback/&quot;&gt;
&lt;rdf:Description rdf:about=&quot;http://lopsa.org/node/1585&quot; dc:identifier=&quot;http://lopsa.org/node/1585&quot; dc:title=&quot;How to use zip to compress files&quot; trackback:ping=&quot;http://lopsa.org/trackback/1585&quot; /&gt;
&lt;/rdf:RDF&gt;
--&gt;

</description>
 <pubDate>Sat, 16 Feb 2008 19:22:44 -0800</pubDate>
 <author>Aleksey Tsalolikhin</author>
</item>
<item>
 <title>useful little perl script to insert timestamps into your data stream / pipeline</title>
 <link>http://lopsa.org/node/1582</link>
 <description>&lt;p&gt;I wrote this script to insert a timestamp into the pipeline.  I call it &quot;teetime&quot; after /usr/bin/tee.&lt;/p&gt;
&lt;p&gt;It can make vmstat more informative, for example:&lt;/p&gt;
&lt;p&gt;           vmstat 1 | teetime&lt;/p&gt;
&lt;p&gt;&lt;code &gt;&lt;br /&gt;
14Feb2008-18:21:51      procs -----------memory---------- ---swap-- -----io---- --system-- ----cpu----&lt;br /&gt;
14Feb2008-18:21:51       r  b   swpd   free   buff  cache   si   so    bi    bo   in    cs us sy id wa&lt;br /&gt;
14Feb2008-18:21:51       1  0    160  15796  41996 255964    0    0     0     0 1035    88  0  0 100  0&lt;br /&gt;
14Feb2008-18:21:52       0  0    160  15796  41996 255964    0    0     0   208 1049    99  0  0 99  0&lt;/p&gt;

&lt;!--
&lt;rdf:RDF xmlns:rdf=&quot;http://www.w3.org/1999/02/22-rdf-syntax-ns#&quot; xmlns:dc=&quot;http://purl.org/dc/elements/1.1/&quot; xmlns:trackback=&quot;http://madskills.com/public/xml/rss/module/trackback/&quot;&gt;
&lt;rdf:Description rdf:about=&quot;http://lopsa.org/node/1582&quot; dc:identifier=&quot;http://lopsa.org/node/1582&quot; dc:title=&quot;useful little perl script to insert timestamps into your data stream / pipeline&quot; trackback:ping=&quot;http://lopsa.org/trackback/1582&quot; /&gt;
&lt;/rdf:RDF&gt;
--&gt;

</description>
 <pubDate>Thu, 14 Feb 2008 18:21:07 -0800</pubDate>
 <author>Aleksey Tsalolikhin</author>
</item>
<item>
 <title>Endorsements of Aleksey Tsalolikhin from his colleagues</title>
 <link>http://lopsa.org/node/1581</link>
 <description>&lt;p&gt;To start the day off on a positive note, I decided to post my LinkedIn endorsements &lt;a href=&quot;http://www.lifesurvives.com/tech/&quot;&gt;on my web site&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;Here are a few:&lt;/p&gt;
&lt;p&gt;&quot;It was always a pleasure working with Aleksey at Earthlink. His dedication to projects, technical knowledge, and interpersonal skills are only a few of his many attributes.&quot; (December 25, 2005)&lt;br /&gt;
– Jason Wells, worked with Aleksey at EarthLink&lt;/p&gt;
&lt;p&gt;&quot;Aleksey has a natural ability to care and help his peers with seemingly complex problems. His can-do attitude is extremely refreshing in high stress situations.&quot; (August 4, 2005)&lt;br /&gt;
– Alonso Robles, worked with Aleksey at EarthLink&lt;/p&gt;

&lt;!--
&lt;rdf:RDF xmlns:rdf=&quot;http://www.w3.org/1999/02/22-rdf-syntax-ns#&quot; xmlns:dc=&quot;http://purl.org/dc/elements/1.1/&quot; xmlns:trackback=&quot;http://madskills.com/public/xml/rss/module/trackback/&quot;&gt;
&lt;rdf:Description rdf:about=&quot;http://lopsa.org/node/1581&quot; dc:identifier=&quot;http://lopsa.org/node/1581&quot; dc:title=&quot;Endorsements of Aleksey Tsalolikhin from his colleagues&quot; trackback:ping=&quot;http://lopsa.org/trackback/1581&quot; /&gt;
&lt;/rdf:RDF&gt;
--&gt;

</description>
 <pubDate>Tue, 12 Feb 2008 12:06:02 -0800</pubDate>
 <author>Aleksey Tsalolikhin</author>
</item>
<item>
 <title>How to remove IPv6 on Red Hat nodes</title>
 <link>http://lopsa.org/node/1576</link>
 <description>&lt;p&gt;Picked up this tid-bit on how to disable IPv6 (which aligns with the general sys admin philosophy of &quot;if we are not using it, remove it or turn it off to simplify the system and increase security&quot;:&lt;/p&gt;
&lt;p&gt;(1) Edit /etc/sysconfig/network and set NETWORKING_IPV6=no. &lt;/p&gt;
&lt;p&gt;(2) Issue the following command as root: &#039;chkconfig ip6tables off&#039;. &lt;/p&gt;
&lt;p&gt;(3) Reboot the host machine.&lt;/p&gt;

&lt;!--
&lt;rdf:RDF xmlns:rdf=&quot;http://www.w3.org/1999/02/22-rdf-syntax-ns#&quot; xmlns:dc=&quot;http://purl.org/dc/elements/1.1/&quot; xmlns:trackback=&quot;http://madskills.com/public/xml/rss/module/trackback/&quot;&gt;
&lt;rdf:Description rdf:about=&quot;http://lopsa.org/node/1576&quot; dc:identifier=&quot;http://lopsa.org/node/1576&quot; dc:title=&quot;How to remove IPv6 on Red Hat nodes&quot; trackback:ping=&quot;http://lopsa.org/trackback/1576&quot; /&gt;
&lt;/rdf:RDF&gt;
--&gt;

</description>
 <category domain="http://lopsa.org/taxonomy/term/26">Linux</category>
 <pubDate>Sun, 03 Feb 2008 13:52:18 -0800</pubDate>
 <author>Aleksey Tsalolikhin</author>
</item>
</channel>
</rss>
