LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   how to identify whether the process is 32 bit or 64 bit? (https://www.linuxquestions.org/questions/linux-newbie-8/how-to-identify-whether-the-process-is-32-bit-or-64-bit-852812/)

kbanwari 12-28-2010 09:02 AM

how to identify whether the process is 32 bit or 64 bit?
 
Hello,

On my 64 bit Linux box, i have many processes which are 32 bit and some are 64 bit, how to identify which process is 32 bit and which is 64 bit?

Regards
K

johnsfine 12-28-2010 09:20 AM

Quote:

Originally Posted by kbanwari (Post 4205454)
how to identify which process is 32 bit and which is 64 bit?

Here is the thread from the last time I answered that question at LQ.
http://www.linuxquestions.org/questi...rocess-808220/

I'm still not sure whether the method I gave there is best (it isn't a perfect method). But I haven't noticed anyone post a better method.

tronayne 12-28-2010 09:23 AM

file file_name will tell you; e.g.,
Code:

prompt: file rndpat
rndpat: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), dynamically linked (uses shared libs), stripped



All times are GMT -5. The time now is 03:36 PM.