Miscellaneous Tips
Moniter processes owned by a specified user
top -b -u [username]
I/O throughput
sudo iotop
sudo fuser -vm /dev/md0
linux - how to find the process that is doing io frequently? - Stack Overflow
Batch-install packages on all nodes from server node
Note: add -y
(--assumeyes) for yum, otherwise the process will get stuck.
#!/bin/sh
yum -y install numpy python-devel python-matplotlib python-yaml
for node in 1 2 3 4 5 6; do
ssh node0$node "yum install numpy python-devel python-matplotlib python-yaml"
done