Tsp
30 Mar 2023
Installing Messenger For Multi-node Task-Spooler
Messenger Server #
On a base apt-based distro install the Task-Spooler Messenger Server:
sudo apt install -y libboost-dev libboost-system-dev libboost-thread-dev libboost-filesystem-dev
pushd messenger/messenger-server
sudo ./install
popd
Configure the messenger-server ms_server by creating ~/.hosts_ports with a port for listening to client messages.
echo "xxx $THISHOSTPORT" >> ~/.hosts_ports
Start the server with the command ms_server.
Messenger Client #
On a base apt-based distro install the Messenger Client:
pushd messenger/messenger-client
sudo ./install
popd
Create a file called ~/.servers_ports to configure task-spooler hosts to use with the messenger-client.
17 Nov 2020
Overlooked Tools: task-spooler
Sometimes sophisticated job queue and cluster systems are overkill on office or individual PCs, especially for long lists of batch processing jobs that use comparatively few resources.
Use task-spooler to queue commands on Linux and control the number of simultaneous jobs for an easy way to parallelize a list of batch jobs! This tool is a great complement to some other command line workhorses like at and batch.
Task-spooler is not usually installed by default on Linux systems. It can be built by scratch after getting the source from https://vicerveza.homeunix.net/~viric/soft/ts/ or on Ubuntu (maybe other Debian based OS’s) you can use apt: