Create cmd_pid.c

Get current process pid.