Skip to Content
0
Former Member
May 10, 2017 at 11:19 AM

hybristomcat.java.pid

41 Views

Hello All,

I have tried to execute a Unix script . lines of Unix Script are below:

apparray =( ) HYBRIS_DATA_DIR=/files0/nlhyq_app/hybris/data for i in "${apparray[@]}" do echo "Starting for server : $i"; pid=`ssh $remoteuser@$i "cat $HYBRIS_DATA_DIR/hybristomcat.java.pid"` echo $pid; ssh $remoteuser@$i "rm /files0/home/$remoteuser/$i.heapdump.log; /usr/java/jdk1.8.0_111/bin/jmap -J-d64 - dump:live,format=b,file=/files0/home/$remoteuser/$i.heapdump.log $pid" scp $remoteuser@$i:/files0/home/$remoteuser/$i.heapdump.log $i.heapdump.log done ---**-- And when I execute it it will throu error below: cat: /files0/nlhyq_app/hybris/data/hybristomcat.java.pid: No such file or directory

Can any one please help ...

Thanks