Question

I would like to get the jobid from procfs in Linux. I see only Pid , Ppid in the /proc//status files. But I needed jobid too. Please let me know if there is a way to get the info.

Thanks !

Was it helpful?

Solution

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).

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top