开发者

How to get jobid from procfs in Linux

I would like to get the jobid from procfs in Linux. I see only Pid , Ppid in the /proc//status files. But I needed j开发者_开发知识库obid too. Please let me know if there is a way to get the info.

Thanks !


If you're referring to the job IDs in the shell, this information is known only to the shell that created the job. The kernel has no concept of 'job IDs' and therefore does not track them, or expose them via procfs (or any other method).

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜