Документ взят из кэша поисковой машины. Адрес оригинального документа : http://www.stsci.edu/ops/computing/remote-display.html
Дата изменения: Tue Jul 22 17:40:57 2003
Дата индексирования: Sat Mar 1 07:42:47 2014
Кодировка:

Поисковые слова: guide 8.0
Remote display

Help, My workstation is too slow!!

It is sometimes the case the that computing power in your workstation is not sufficient for the work you have to do. This is especially true for people who might have older workstations. This article gives pointers to how to tap into the processing power available on our cluster.

Non-interactive jobs

For non-interactive work, you can use "rlogin" or "rsh" to run jobs on another computer. Since your local disk is visible to *all* workstations, you can save data there, or anywhere you want, painlessly.

Check the "man" pages for rlogin and rsh, or look in one of the unix books or ask someone for help.

Interactive Applications

Interactive applications are only slightly more complex. In essence you run on someone else's machine but tell it to display on yours. The X-window system was designed to make this easy. If you want to run on "fred" and display on your own workstation "barney", you would do these steps:
   xhost +fred (to allow barney to accept a window from fred)
   rlogin fred
   setenv DISPLAY "barney:0"
   ... start your application
Some programs such as emacs, many X-programs and Spike allow you to specify the display on the command line, usually via the "-d" option.

You can also encapsulate the above commands in shell scripts so it is totally painless.

Whose workstation do I use?

The only question is - which other workstation? That will depend on what you do and when you do it. Browse our workstation list and identify some candidate machines. Do NOT use the file servers nor machines which support other routine jobs such as the plib, QM (see the workstation list). Ask the current users of these machines if you can share cycles.

The "rup" command is useful for this - it tells you the CPU load over the past 1, 5 and 15 minutes. (Technically it tells you the average number of jobs in the run queue. Numbers close to 0 mean the workstation is largely idle. Numbers ~1 mean the machine is at capacity and you should look elsewhere, while numbers >1 mean that the machine is very busy.)

For example, if you wanted to use fred and saw

 rup fred
         fred    up 25 days, 13:16,    load average: 0.11, 0.01, 0.00
You can conclude that fred is idle.

If you saw

         fred    up 25 days, 13:16,    load average: 1.11, 0.97, 0.95
you'd know that someone is using fred and another machine would be better.


Last Update: July 22, 2003 by Tony Roman