[yz@test-4 yz]$ ps -o pid,psr,comm -p 980978 PID PSR COMMAND 980978 27 postgresql [yz@test-4 yz]$ ps -o pid,psr,comm -p 981996 PID PSR COMMAND 981996 1 postgresql