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).
精彩评论