<?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: The system process in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/the-system-process/m-p/3571881#M228307</link>
    <description>thx your suggestion,&lt;BR /&gt;&lt;BR /&gt;I have a problem , when run the remsh , it pop the "Permission denied." , I know if I update /etc/hosts.equiv , it can remsh to hosts B , but except this method , is there other method that can also run remsh ? thx</description>
    <pubDate>Thu, 30 Jun 2005 03:46:47 GMT</pubDate>
    <dc:creator>hangyu</dc:creator>
    <dc:date>2005-06-30T03:46:47Z</dc:date>
    <item>
      <title>The system process</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/the-system-process/m-p/3571874#M228300</link>
      <description>I have two hosts ( host A and host B ) , some files are rcp files to each other hosts and then removed after rcp ( both hosts will send files to each others ) , it is run by a crontab job , but I have two concerns &lt;BR /&gt;1. how to make sure the file has been rcp to another hosts  eg. if the network has problem , then the file will not be rcp to host B to avoid to be removed ;&lt;BR /&gt;&lt;BR /&gt;2. if the other side have the same file name , how to make sure the file will not be overwrite eg. add prefix to the file .&lt;BR /&gt;&lt;BR /&gt; could suggest what is the best method ? thx&lt;BR /&gt;2. if the other side have the same file name , how to make sure the file will not be overwrite eg. add prefix to the file .&lt;BR /&gt;&lt;BR /&gt; could suggest what is the best method ? thx</description>
      <pubDate>Mon, 27 Jun 2005 23:53:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/the-system-process/m-p/3571874#M228300</guid>
      <dc:creator>hangyu</dc:creator>
      <dc:date>2005-06-27T23:53:16Z</dc:date>
    </item>
    <item>
      <title>Re: The system process</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/the-system-process/m-p/3571875#M228301</link>
      <description>You could possibly do the following things in the script you write to rcp the files accross the other host.&lt;BR /&gt;1. look for the return code of rcp, if rcp fails you would have return code set to 1 otherwise 0.&lt;BR /&gt;2. Before you do a rcp, do a remsh to list the files on the remote server say file1 is the file you want to copy to hostB then make sure that the file doesnt exist by doing&lt;BR /&gt;remsh hostB ls file1&lt;BR /&gt;if you see something like file not found then go a head with normal rcp otherwise replace the destination file with someother filename while doing rcp&lt;BR /&gt;&lt;BR /&gt;Cheers&lt;BR /&gt;Rajeev</description>
      <pubDate>Tue, 28 Jun 2005 00:00:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/the-system-process/m-p/3571875#M228301</guid>
      <dc:creator>Rajeev  Shukla</dc:creator>
      <dc:date>2005-06-28T00:00:22Z</dc:date>
    </item>
    <item>
      <title>Re: The system process</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/the-system-process/m-p/3571876#M228302</link>
      <description>Hi&lt;BR /&gt;&lt;BR /&gt;Pls check for cron log and syslog files for outcome of cron job and errors if any.&lt;BR /&gt;&lt;BR /&gt;good luck&lt;BR /&gt;Mahesh</description>
      <pubDate>Tue, 28 Jun 2005 04:18:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/the-system-process/m-p/3571876#M228302</guid>
      <dc:creator>Mahesh Kumar Malik</dc:creator>
      <dc:date>2005-06-28T04:18:36Z</dc:date>
    </item>
    <item>
      <title>Re: The system process</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/the-system-process/m-p/3571877#M228303</link>
      <description>I think Rajeev's suggestion is the better one.&lt;BR /&gt;&lt;BR /&gt;Just use a couple of If - then - else in your script to check the things like return codes and presence/absence of files before doing anything else.</description>
      <pubDate>Tue, 28 Jun 2005 04:35:13 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/the-system-process/m-p/3571877#M228303</guid>
      <dc:creator>Vibhor Kumar Agarwal</dc:creator>
      <dc:date>2005-06-28T04:35:13Z</dc:date>
    </item>
    <item>
      <title>Re: The system process</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/the-system-process/m-p/3571878#M228304</link>
      <description>all suggestions are useful , if I want to have a script to run it , could provide a help .&lt;BR /&gt;&lt;BR /&gt;the requirement as below,&lt;BR /&gt;Host A rcp all the files ( /tmp ) to host B , if the file is successfully rcp to host B , it will move to /tmp/edp , if it is fail to copy ( may be due to the failure of network or the file name is exist at host B ) , then don't move the file ( keep the file to make sure it will be rcp to host B ) , all file rcp to host B add a ".txt" extension ( eg. the original file name is oracl the new file name should be oracl.txt ) , could someone can help ? thx in advance.</description>
      <pubDate>Wed, 29 Jun 2005 01:16:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/the-system-process/m-p/3571878#M228304</guid>
      <dc:creator>hangyu</dc:creator>
      <dc:date>2005-06-29T01:16:09Z</dc:date>
    </item>
    <item>
      <title>Re: The system process</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/the-system-process/m-p/3571879#M228305</link>
      <description>is it possible to do that , could someone advise ? thx</description>
      <pubDate>Wed, 29 Jun 2005 07:54:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/the-system-process/m-p/3571879#M228305</guid>
      <dc:creator>hangyu</dc:creator>
      <dc:date>2005-06-29T07:54:02Z</dc:date>
    </item>
    <item>
      <title>Re: The system process</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/the-system-process/m-p/3571880#M228306</link>
      <description>Jun 29, 2005 06:16:09 GMT   N/A: Question Author   &lt;BR /&gt;&lt;BR /&gt;Hi ,&lt;BR /&gt;&lt;BR /&gt;Pls use the below script as model , and you can customise to include all your options.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;#!/bin/sh&lt;BR /&gt;&lt;BR /&gt;remsh Host-A -n "ls -ld /tmp" &amp;gt;/dev/null 2&amp;gt;&amp;amp;1&lt;BR /&gt;&lt;BR /&gt;if [ $? -ne 0 ]&lt;BR /&gt;then&lt;BR /&gt;echo "Connection problem to Host- B.Exiting !!"&lt;BR /&gt;exit 1&lt;BR /&gt;fi&lt;BR /&gt;&lt;BR /&gt;chk=no&lt;BR /&gt;chk=`remsh Host-B -n "if [ -f /tmp/file]; then echo "yes";fi`&lt;BR /&gt;if [ "$chk" = "no" ]&lt;BR /&gt;then&lt;BR /&gt;echo "File=file Is not copied to /tmp"&lt;BR /&gt;else&lt;BR /&gt;remsh Host-B -n "mv /tmp/file /tmp/ebp/file.txt"&lt;BR /&gt;echo "File is Moved to /tmp/edp"&lt;BR /&gt;fi&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 29 Jun 2005 08:25:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/the-system-process/m-p/3571880#M228306</guid>
      <dc:creator>baiju_3</dc:creator>
      <dc:date>2005-06-29T08:25:46Z</dc:date>
    </item>
    <item>
      <title>Re: The system process</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/the-system-process/m-p/3571881#M228307</link>
      <description>thx your suggestion,&lt;BR /&gt;&lt;BR /&gt;I have a problem , when run the remsh , it pop the "Permission denied." , I know if I update /etc/hosts.equiv , it can remsh to hosts B , but except this method , is there other method that can also run remsh ? thx</description>
      <pubDate>Thu, 30 Jun 2005 03:46:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/the-system-process/m-p/3571881#M228307</guid>
      <dc:creator>hangyu</dc:creator>
      <dc:date>2005-06-30T03:46:47Z</dc:date>
    </item>
  </channel>
</rss>

