Lab & Quiz
# Lab 2.1
cd lab2/
echo "client = $(ls client* | wc -l)" >> lab2.txt
echo "manager = $(ls manager* | wc -l)" >> lab2.txt
echo "ops = $(ls ops* | wc -l)" >> lab2.txt# Quiz 1
sudo vim /etc/security/limits.conf
@student hard nproc 100
student hard nofile 3000
student soft nofile 2000# Lab 4.1
cd lab4/
vim killing
#!/bin/bash
while true; do
echo -n "$@ " >> ~/lab4/killing_outfile
sleep 5
done
chmod +x killing
./killing network &
./killing interface &
./killing connection &
jobs -l
kill -SIGSTOP 2720
kill -SIGTERM 2723Last updated