Ismet; From Linux, chmod 777 /home/myvista/testIO.txt
The file is read only right now. It will always look busy until it is open for write. ----- Original Message ----- From: "Ismet Kursunoglu" <[EMAIL PROTECTED]> To: <hardhats-members@lists.sourceforge.net> Sent: Monday, July 10, 2006 1:10 AM Subject: Re: [Hardhats-members] sshd and mumps process hung > > (substitute the actual file name for /tmp/file.txt): > > > > S MYIO="/tmp/file.txt" > > O MYIO W $T > > C MYIO > > GTM>S MYIO="/home/myvista/testIO.txt" > > GTM>O MYIO W $T > 1 > GTM>C MYIO > > GTM>H > [EMAIL PROTECTED]:~/foia06152006$ ls -la ~/testIO.txt > -rw-r--r-- 1 myvista myvista 0 2006-07-09 23:21 /home/myvista/testIO.txt > > No matter how I setup the "HFS device" it continues to show > [DEVICE IS BUSY] > > > ************ > > OUTPUT FROM WHAT FILE: DEVICE// > SORT BY: NAME// > START WITH NAME: FIRST// > FIRST PRINT FIELD: .01 NAME > THEN PRINT FIELD: > Heading (S/C): DEVICE LIST// > DEVICE: HFS Host File Server > HOST FILE NAME: /home/myvista/hfs.dat// INPUT/OUTPUT OPERATION: R//W > > [DEVICE IS BUSY] > ************ > > > So then I wondered if could an IO task be occupying the device? > > > Checking Taskman. Current $H=60455,85003 (Jul 09, [EMAIL PROTECTED]:36:43) > RUN NODE=60455,84990 (Jul 09, [EMAIL PROTECTED]:36:30) > Taskman is current.. > Checking the Status List: > Node weight status time $J > AKC:giant RUN [EMAIL PROTECTED]:36:30 7601 Main Loop > > Checking the Schedule List: > Taskman has no tasks scheduled. > > Checking the IO Lists: > There are no tasks waiting for devices. > > Checking the Job List: > There are no tasks waiting for partitions. > > Checking the Task List: > There are 4 tasks currently running. > On node AKC:giant there is 1 free Sub-Manager(s). Status: Run > ****** > > I can certainly and have been successfully writing, reading and executing > files as the user (myvista) who is running GT.M on the system. > > Is this something to do with how the device is setup with reference to the > device number and somehow when I try it doesn't properly set $IO ? > > Which defaults to the terminal i.e. > > GTM>W $IO > /dev/pts/1 > > And is it this variable that needs to be set to 10 so to gain access to the > HFS device? > > Select DEVICE NAME: HFS Host File Server /home/myvista/hfs.dat > ANOTHER ONE: > STANDARD CAPTIONED OUTPUT? Yes// (Yes) > Include COMPUTED fields: (N/Y/R/B): NO// BOTH Computed Fields and Record Number > (IEN) > > NUMBER: 10 NAME: HFS > $I: /home/myvista/hfs.dat ASK DEVICE: YES > ASK PARAMETERS: NO SIGN-ON/SYSTEM DEVICE: NO > LOCATION OF TERMINAL: Host File Server > ASK HOST FILE: YES ASK HFS I/O OPERATION: YES > OPEN COUNT: 10 SUBTYPE: P-OTHER > TYPE: HOST FILE SERVER > > I have been reading the GT.M documentation which is very interesting, > > http://www.sanchez-gtm.com/user_documentation/GTM-PG-UNIX44/wwhelp/wwhimpl/j ava/html/wwhelp.htm > > but I still don't know why I can't write out a file. I'll read chapter 13 in Walters > and see if I can't find out more. > > -- > Ismet B. Kursunoglu, MD, FCCP > > Medical Director > Alaska Clinic, LLC > 3750 E. Country Field Circle, STE B > Wasilla, Alaska 99654-6659 > [EMAIL PROTECTED] > voice (907)357-7240 > > > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > Hardhats-members mailing list > Hardhats-members@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/hardhats-members > > ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Hardhats-members mailing list Hardhats-members@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/hardhats-members
