An old todo list
o print ps manual
o set a pid file so that big ania cannot be started twice. what about ania? also set pid?
o evaluate: remove pipe between task monitor and tasker. tasker shall write straight to ania pipe. also removes the need
to create the pipe and removing it.
o evaluate: task monitor no longer needing to read the pipe o have two pipes for ania. one big ania writing to ania and one taskers write to ania ?
o add semaphore to each open transaction. get sempahore before storing new state then releasing semaphore
# number of processes with taskers in their command.
ps --sid $(cat ania.session) o command | grep taskers | wc -l
# write virtual memory to memory
echo $(ps -p $$ ho vsz) >> memory
# write number of recordings
cat memory | wc -l
# write all different results (only unique numbers)
cat memory | sort -n | uniq
