File: parscscp.g

package info (click to toggle)
gap-scscp 2.2.3%2Bds-2
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 1,696 kB
  • sloc: xml: 1,226; sh: 388; makefile: 19
file content (21 lines) | stat: -rw-r--r-- 631 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
###########################################################################
##
#W parscscp.g             The SCSCP package             Alexander Konovalov
#W                                                             Steve Linton
##
###########################################################################

for i in [26133..26134] do
  Print("Trying port ", i, " ...\n");
  t:=PingSCSCPservice( "localhost", i );
  if t=fail then
    Exec( Concatenation( "./gapd.sh -p ", String(i) ) );
  else
    Print(" - already running!\n");
  fi;
od;  

###########################################################################
##
#E
##