Skip to content

Commit a2b1be5

Browse files
committed
rename to
1 parent b7ac0c2 commit a2b1be5

File tree

3 files changed

+6
-7
lines changed

3 files changed

+6
-7
lines changed

code/Server/Server/RMI/RMIMiddlewareResourceManager.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44
import Server.Common.*;
55

66
import java.rmi.NotBoundException;
7-
import java.util.*;
87

98
import java.rmi.registry.Registry;
109
import java.rmi.registry.LocateRegistry;
@@ -14,7 +13,7 @@
1413

1514
public 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[]) {

code/Server/kill_rmi_servers.sh

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
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

code/Server/kill_servers.sh

Lines changed: 0 additions & 5 deletions
This file was deleted.

0 commit comments

Comments
 (0)