Puts headerline and pid to console.