/usr/bin/mpjdaemon is in libmpj-java 0.44+dfsg-3.
This file is owned by root:root, with mode 0o755.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 | #!/bin/sh
export MPJ_HOME=/usr/share/mpj
if [ $# -eq 0 ];
then
echo "Usage: mpjdaemon <query> <hostnames>";
echo "query=<-boot>: Start MPJ Express daemons";
echo "query=<-halt>: Stop MPJ Express daemons";
echo "query=<-status>: Display status of MPJ Express daemons";
echo "query=<-info>: Display all Java process";
echo "query=<-clean>: Clean all Java process";
echo "hostname: Default Localhost";
echo "";
echo "example: mpjdaemon -boot host1 host2";
echo "";
exit 127
else
if [ $1 != "-boot" ] && [ $1 != "-halt" ] && [ $1 != "-status" ] && [ $1 != "-clean" ] && [ $1 != "-info" ] ;
then
echo "Usage: mpjdaemon <query> <hostnames>";
echo "query=<-boot>: Start MPJ Express daemons";
echo "query=<-halt>: Stop MPJ Express daemons";
echo "query=<-status>: Display status of MPJ Express daemons";
echo "query=<-info>: Display all Java process";
echo "query=<-clean>: Clean all Java process";
echo "hostname: Default Localhost";
echo "";
echo "example: mpjdaemon -boot host1 host2";
echo "";
exit 127
else
query="$1"
shift;
fi
fi
if [ $# -eq 0 ];
then
hostnames='localhost'
else
hostnames="$@"
fi
java -jar $MPJ_HOME/lib/daemonmanager.jar $query -hosts $hostnames
|