$ top | grep myProc
1017 deepaky 26 1 2120m 1.8g 2728 R 100.5 3.9 85:52.66 myProcB
1063 deepaky 26 1 1488m 1.4g 2804 R 101.0 3.0 87:50.42 myProcC
1017 deepaky 26 1 2120m 1.8g 2728 R 99.9 3.9 85:55.67 myProcB
1063 deepaky 26 1 1488m 1.4g 2804 R 101.0 3.0 87:50.42 myProcC
$ ps -f -p 1017
UID PID PPID C STIME TTY TIME CMD
deepaky 1017 16624 96 12:43 pts/75 01:26:04 /grid/test1/product201412/Linux64/bin/mytest_proc -test
$ ps -f -p 1063
UID PID PPID C STIME TTY TIME CMD
deepaky 1063 16624 92 12:43 pts/75 01:28:35 /grid/test1/product201412/Linux64/bin/mytest_proc -test
为什么top显示“myProcB”而ps显示PID 1017的“mytest_proc”? 为什么top显示“myProcC”而ps显示PID 1063的“mytest_proc”? 过程如何设置这些名称“myProcB”和“myProcC”?