Rename pname to name inside struct proc
Allow to specify sleep time in ms