[ubuntu-in] How to check if a running process is a 32 or 64 bit image?
Gourav Shah
freedomyug at gmail.com
Sun Aug 3 14:17:38 BST 2008
>
> I would like to check some running processes like Firefox and
> OpenOffice.org...
>
use "file" command
e.g.
$ ps aux | grep -i firefox
6363 9.8 7.0 577012 141764 ? Sl 18:37 0:45
/usr/lib/firefox-3.0/firefox
6700 0.0 0.0 5164 888 pts/1 R+ 18:45 0:00 grep -i firefox
$ file /usr/lib/firefox-3.0/firefox
/usr/lib/firefox-3.0/firefox: ELF 64-bit LSB executable, x86-64, version 1
(SYSV), for GNU/Linux 2.6.8, dynamically linked (uses shared libs), stripped
thanks
gourav
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://lists.ubuntu.com/archives/ubuntu-in/attachments/20080803/60ffb703/attachment.htm
More information about the ubuntu-in
mailing list