File tree Expand file tree Collapse file tree 3 files changed +6
-7
lines changed
Expand file tree Collapse file tree 3 files changed +6
-7
lines changed Original file line number Diff line number Diff line change 44import Server .Common .*;
55
66import java .rmi .NotBoundException ;
7- import java .util .*;
87
98import java .rmi .registry .Registry ;
109import java .rmi .registry .LocateRegistry ;
1413
1514public class RMIMiddlewareResourceManager extends MiddlewareResourceManager {
1615 private static String s_serverName = "MiddlewareServer" ;
17- //TODO: REPLACE 'ALEX' WITH YOUR GROUP NUMBER TO COMPILE
16+
1817 private static String s_rmiPrefix = "group25_" ;
1918
2019 public static void main (String args []) {
Original file line number Diff line number Diff line change 1+ # kill all RMIXXXResourceManagers
2+ ps aux | egrep ' java .*RMI.*Manager' | grep $( whoami) | grep -v ' grep' | awk ' {print $2}' | xargs kill
3+
4+ # kill all rmiregistries
5+ ps aux | egrep ' rmiregistry' | egrep $( whoami) | grep -v ' grep' | awk ' {print $2}' | xargs kill
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments