I use the ps -ef
to check the process, but every time the pid will change, you see the below, 1726
-> 1728
->...
aircraftdeMacBook-Pro:etc ldl$ ps -ef | grep safira
501 1726 527 0 10:14上午 ttys000 0:00.00 grep safira
aircraftdeMacBook-Pro:etc ldl$ ps -ef | grep safira
501 1728 527 0 10:14上午 ttys000 0:00.00 grep safira
aircraftdeMacBook-Pro:etc ldl$ ps -ef | grep safira
501 2298 527 0 11:18上午 ttys000 0:00.00 grep safira
aircraftdeMacBook-Pro:etc ldl$ ps -ef | grep safira
501 2301 527 0 11:18上午 ttys000 0:00.00 grep safira