improve error message when procpid not passed in