<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Text processing - newbie question in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/text-processing-newbie-question/m-p/2635056#M42196</link>
    <description>Hi:&lt;BR /&gt;&lt;BR /&gt;All you need to do is run the cleanup command. Typically cleanup -c 1 is all you need and restores the mosdt space. If your patches have been installed for quite a while (and thus you are confident of their integrity) then cleanup -c 1 is the best bet; otherwise -c 2 will leave you with 2 versions.&lt;BR /&gt;</description>
    <pubDate>Sun, 23 Dec 2001 20:22:00 GMT</pubDate>
    <dc:creator>A. Clay Stephenson</dc:creator>
    <dc:date>2001-12-23T20:22:00Z</dc:date>
    <item>
      <title>Text processing - newbie question</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/text-processing-newbie-question/m-p/2635053#M42193</link>
      <description>Hi gurus,&lt;BR /&gt;Story is: i've HP UX 11 box where /var is almost full. I know that there is method of deleting superseded patches. I know idea, but to commit patches I need to process output file (swlist -l...) to pass this file to swmodify. List is big (500 entries) so manually this is hard to do. Tasks to do:&lt;BR /&gt;- leave only unique entries,&lt;BR /&gt;- replace everything after PHXXXXX. with *. I know it can be done with awk and/or sed, grep, etc. but for now I can't handle this. Thanks guys.&lt;BR /&gt;Chris&lt;BR /&gt;PS Merry Christmas to everyone!!!</description>
      <pubDate>Sun, 23 Dec 2001 16:23:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/text-processing-newbie-question/m-p/2635053#M42193</guid>
      <dc:creator>Chris Ciapala</dc:creator>
      <dc:date>2001-12-23T16:23:46Z</dc:date>
    </item>
    <item>
      <title>Re: Text processing - newbie question</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/text-processing-newbie-question/m-p/2635054#M42194</link>
      <description>Can you attach that output file ?&lt;BR /&gt;&lt;BR /&gt;Thanks,</description>
      <pubDate>Sun, 23 Dec 2001 17:14:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/text-processing-newbie-question/m-p/2635054#M42194</guid>
      <dc:creator>Madhu Sudhan_1</dc:creator>
      <dc:date>2001-12-23T17:14:23Z</dc:date>
    </item>
    <item>
      <title>Re: Text processing - newbie question</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/text-processing-newbie-question/m-p/2635055#M42195</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;The best method to delete superceded patches is to use "cleanup" command.&lt;BR /&gt;&lt;BR /&gt;Take a backup of /var/adm/sw/save to a tape and keep it safe for sometime before you run this command.&lt;BR /&gt;&lt;BR /&gt;This command comes with the patch PHCO_24347, the latest one.&lt;BR /&gt;&lt;BR /&gt;Use cleanup -C 2 to delete the patches that have been superceded twice. You can also preview it with -p switch.&lt;BR /&gt;&lt;BR /&gt;This is equivalent to the command swmodify -x  patch_commit&lt;BR /&gt;&lt;BR /&gt;-Sri&lt;BR /&gt;</description>
      <pubDate>Sun, 23 Dec 2001 18:41:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/text-processing-newbie-question/m-p/2635055#M42195</guid>
      <dc:creator>Sridhar Bhaskarla</dc:creator>
      <dc:date>2001-12-23T18:41:52Z</dc:date>
    </item>
    <item>
      <title>Re: Text processing - newbie question</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/text-processing-newbie-question/m-p/2635056#M42196</link>
      <description>Hi:&lt;BR /&gt;&lt;BR /&gt;All you need to do is run the cleanup command. Typically cleanup -c 1 is all you need and restores the mosdt space. If your patches have been installed for quite a while (and thus you are confident of their integrity) then cleanup -c 1 is the best bet; otherwise -c 2 will leave you with 2 versions.&lt;BR /&gt;</description>
      <pubDate>Sun, 23 Dec 2001 20:22:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/text-processing-newbie-question/m-p/2635056#M42196</guid>
      <dc:creator>A. Clay Stephenson</dc:creator>
      <dc:date>2001-12-23T20:22:00Z</dc:date>
    </item>
    <item>
      <title>Re: Text processing - newbie question</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/text-processing-newbie-question/m-p/2635057#M42197</link>
      <description>Krystopf&lt;BR /&gt;&lt;BR /&gt;Run the Cleanup -c 1 command.&lt;BR /&gt;&lt;BR /&gt;This will take all patches that have been superseeded at least once on your system and remove them from the /var filesystem. &lt;BR /&gt;&lt;BR /&gt;We ran this on all of our systems after each patch CD we apply and it averages about 200MB of space per system. &lt;BR /&gt;&lt;BR /&gt;If you haven't run this in a while, you will probably gain anywhere from 250-500MB per system.&lt;BR /&gt;&lt;BR /&gt;Before you run this, run the following:&lt;BR /&gt;&lt;BR /&gt;1) make_tape_recovery or make_recovery -A -C -v  (depending on version of ignite you have)&lt;BR /&gt;&lt;BR /&gt;Good luck&lt;BR /&gt;&lt;BR /&gt;Happy Holidays.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 24 Dec 2001 14:14:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/text-processing-newbie-question/m-p/2635057#M42197</guid>
      <dc:creator>fg_1</dc:creator>
      <dc:date>2001-12-24T14:14:52Z</dc:date>
    </item>
  </channel>
</rss>

