[ubuntu-in] How to check if a running process is a 32 or 64 bit image?
Bhavani Shankar R
bhavi at ubuntu.com
Sun Aug 3 14:10:23 BST 2008
How do I check if a running process is a 32 bit or 64 bit image/program? I'm
running Hardy amd64. For example, if I compile a small executable with "gcc
-m32" or something like that?
I would like to check some running processes like Firefox and
OpenOffice.org...
Hello vishal:
It depends on the kernel you are using
If you have 64bit kernel then the processes running will be 64 bit
To know the kernel version type the below command in a terminal
uname -a
If its 32bit then in the output it will be i686 GNU/Linux
If it is 64bit then in the output it will be x86 64 GNU/Linux
Regards
--
Bhavani Shankar.R
https://launchpad.net/~bhavi, a proud ubuntu community member.
What matters in life is application of mind!,
It makes great sense to have some common sense..!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://lists.ubuntu.com/archives/ubuntu-in/attachments/20080803/3c67c7ed/attachment.htm
More information about the ubuntu-in
mailing list