tech-kern archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: how to tell if a process is 64-bit



On Fri, Sep 08, 2017 at 01:13:44PM +0000, Christos Zoulas wrote:
> If you can attach to it with ktrace, the first record is an emul record.
> If you have procfs cat /proc/<pid>/emul

Yeah, but it would be interesting to see in something like kprocinfo2
(easily fetchable via sysctl or the kvm wrapper).

Martin


Home | Main Index | Thread Index | Old Index