开发者

process id ist different between getpid und Top command linux

progra开发者_C百科mm write current process id in file with function getpid() exemple 1100, but wenn command top run, i becomme process id 1101!!!!! why


There are other, similar IDs that top can display, e.g., the thread ID or the process group ID.


It is not at all possible. Both the getpid function output and the id displayed by top will be same. I hope you are confusing something.

Can you please briefly expain, how you are doing all these ?

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜