| Computer/IT Support | VUIIS Forms | IT How-to and other tips |
| Matlab Background Process | SFTP for MacOS | SFTP for Windows | Anonymous FTP |
 

IT How-to and other tips

Contact: Bruce Martin (615-322-6691)
 

How-to Subjects:

Matlab Background Process

SFTP for MacOS

SFTP for Windows

Anonymous FTP

 

| Computer/IT Support | VUIIS Forms | IT How-to and other tips |

| Matlab Background Process | SFTP for MacOS | SFTP for Windows | Anonymous FTP |

 

How-to set up a back ground process: Matlab example

There are three steps to running a program in the background. To be concrete, this gives an example of how to run a matlab program so it will not affect other workstation users significantly:

Create a script file. Between the lines is an example, named myScript.csh:
__________________________________
#!/bin/csh –f
# This script runs my really long matlab program using a ‘here document’.

# Run matlab:
nice /usr/local/bin/matlab > /home/anders/outputMessageFile.txt << xxx
% Here are some matlab commands to initialize variables:
file_s = ‘/home/anders/myFile’;
flag = 1;

% Run the matlab command “reallyLongAnalysis.m”:
reallyLongAnalysis(file_s, flag)
save(‘matFile.mat’)

% Quit matlab:
quit

xxx
______________________________

Make your script executable. On the command line, type
chmod 755 myScript.csh

Run your script using the linux “at” command:
at –f myScript.csh now

At this point you can log out and walk away. The script will run your program in the background, giving terminal users priority (so they won’t notice much difference in terminal response) but giving your program all the CPU when no one else is using it. Output messages from matlab will be sent to the file outputMessageFile.txt, which may help with debugging.

 

 
 

| Computer/IT Support | VUIIS Forms | IT How-to and other tips |

| Matlab Background Process | SFTP for MacOS | SFTP for Windows | Anonymous FTP |

 

SFTP using MacOS

This page is under construction. I have the basic text for how to do this listed here. I hope to soon have screen shots of the different windows you should encounter while using this method.

We have found that Cyberduck is an excellent and easy to use client that can do FTP and SFTP as well as other protocols.

Cyberduck is available from <http://cyberduck.ch/>.

This will download the application for you - hopefully it will open up a new window, and you can just drag the cyberduck application over to your applications folder.

Then from your applications folder, double-click the duck, it will open up a window, you may also have to click on "New Connection".

Choose SFTP from the drop-down menu
Server: vuiis.vanderbilt.edu
Path: (put in the path you want to open to first, if left blank it will open to your home directory)
Username: (your VUIIS username)
Password: (your VUIIS password)
Click on the "Connect" button. Hit "ALLOW" if necessary.
This should bring up a window listing of the directory you specified in Path.
Then you can drag files to your desktop or from your desktop to this window.

You can also use Cyberduck to go to other folders on the server by using the Menu Item: Go > Go to Folder... and put in something like /home/source and click "Go".


 

| Computer/IT Support | VUIIS Forms | IT How-to and other tips |

| Matlab Background Process | SFTP for MacOS | SFTP for Windows | Anonymous FTP |

 

SFTP using Windows

This page is under construction. I hope to soon have basic text for how to do this listed here as well as screen shots of the different windows you should encounter while using this method.

Vanderbilt has site licensed software for ssh which includes SFTP available from: https://swdist.vanderbilt.edu/SSH/Programs/Windows/SSHWinClient.exe

 

 
 

| Computer/IT Support | VUIIS Forms | IT How-to and other tips |

| Matlab Background Process | SFTP for MacOS | SFTP for Windows | Anonymous FTP |

 

Anonymous FTP

If you are anticipating someone sending several files to you using the Anonymous FTP server you may want to map/mount \\vuiis.vanderbilt.edu\AFTP or go into /home/aftp on the VUIIS server and create a directory for yourself that people can drop files into. There are several examples already in the directory. Please use underscore instead of spaces. When the files are uploaded you can view, move, copy or delete the files from /home/aftp or the AFTP mapped drive.

How to use anonymous ftp at VUIIS:

Log into: aftp.vuiis.vanderbilt.edu
username: anonymous
Password: <use your email address>

Open the uploads folder.

If there is a specific person/project you are sending files to open the appropriate folder.

Upload the files.

Users will not be able view, open or delete any files that are uploaded.

 
 
Last Modified: May 21, 2014 . Webmaster