<?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: system check in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/system-check/m-p/2478717#M776701</link>
    <description>Hi:&lt;BR /&gt;&lt;BR /&gt;You could do something like this:&lt;BR /&gt;&lt;BR /&gt;#!/usr/bin/sh&lt;BR /&gt;F=/tmp/syscheck.dat&lt;BR /&gt;date &amp;gt; $F&lt;BR /&gt;dmesg &amp;gt;&amp;gt; $F&lt;BR /&gt;ioscan -fn &amp;gt;&amp;gt; $F&lt;BR /&gt;bdf &amp;gt;&amp;gt; $F&lt;BR /&gt;&lt;BR /&gt;Note that the '&amp;gt;&amp;gt;' causes output to be appended whereas '&amp;gt;' results in output overwriting a file (or creating a new one if none exists).&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
    <pubDate>Thu, 04 Jan 2001 01:18:47 GMT</pubDate>
    <dc:creator>James R. Ferguson</dc:creator>
    <dc:date>2001-01-04T01:18:47Z</dc:date>
    <item>
      <title>system check</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/system-check/m-p/2478716#M776700</link>
      <description>How could I check my server with all the output save into a file and i only need to check the file instead of checking command by command in Unix. Foe instances, I want to use dmesg,ioscan -fn, bdf commands and all output should save into a file called "syscheck.dat" file.</description>
      <pubDate>Thu, 04 Jan 2001 01:00:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/system-check/m-p/2478716#M776700</guid>
      <dc:creator>Kenn Chen</dc:creator>
      <dc:date>2001-01-04T01:00:26Z</dc:date>
    </item>
    <item>
      <title>Re: system check</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/system-check/m-p/2478717#M776701</link>
      <description>Hi:&lt;BR /&gt;&lt;BR /&gt;You could do something like this:&lt;BR /&gt;&lt;BR /&gt;#!/usr/bin/sh&lt;BR /&gt;F=/tmp/syscheck.dat&lt;BR /&gt;date &amp;gt; $F&lt;BR /&gt;dmesg &amp;gt;&amp;gt; $F&lt;BR /&gt;ioscan -fn &amp;gt;&amp;gt; $F&lt;BR /&gt;bdf &amp;gt;&amp;gt; $F&lt;BR /&gt;&lt;BR /&gt;Note that the '&amp;gt;&amp;gt;' causes output to be appended whereas '&amp;gt;' results in output overwriting a file (or creating a new one if none exists).&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Thu, 04 Jan 2001 01:18:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/system-check/m-p/2478717#M776701</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2001-01-04T01:18:47Z</dc:date>
    </item>
    <item>
      <title>Re: system check</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/system-check/m-p/2478718#M776702</link>
      <description>Hi Chen,&lt;BR /&gt;&lt;BR /&gt;As another option, you could create a script with the following:&lt;BR /&gt;&lt;BR /&gt;#!/usr/bin/sh &lt;BR /&gt;exec &amp;gt; /tmp/syscheck.dat 2&amp;gt;&amp;amp;1&lt;BR /&gt;date&lt;BR /&gt;dmesg&lt;BR /&gt;ioscan -fn&lt;BR /&gt;bdf&lt;BR /&gt;....all other commands you may need&lt;BR /&gt;&lt;BR /&gt;The line 'exec &amp;gt; /tmp/syscheck.dat 2&amp;gt;&amp;amp;1' redirects all output and errors to file syscheck.dat, so you don't need to redirect every command in the script.&lt;BR /&gt;&lt;BR /&gt;Best regards,&lt;BR /&gt;&lt;BR /&gt;Dan&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 04 Jan 2001 06:51:45 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/system-check/m-p/2478718#M776702</guid>
      <dc:creator>Dan Hetzel</dc:creator>
      <dc:date>2001-01-04T06:51:45Z</dc:date>
    </item>
    <item>
      <title>Re: system check</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/system-check/m-p/2478719#M776703</link>
      <description>Hi Chen and all others,&lt;BR /&gt;&lt;BR /&gt;i think it's a good idea to check/integrate the syslog files too.&lt;BR /&gt;I would use the cron to start the script at several times.&lt;BR /&gt;Have fun !!&lt;BR /&gt;Walter&lt;BR /&gt;</description>
      <pubDate>Mon, 08 Jan 2001 10:22:31 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/system-check/m-p/2478719#M776703</guid>
      <dc:creator>Klaus Knoch-Bader</dc:creator>
      <dc:date>2001-01-08T10:22:31Z</dc:date>
    </item>
  </channel>
</rss>

