Hi, How could i know the processor architecture whether this is x86 or x86_64 ? arch returns the architecture of the OS installed on the machine. But what happened when i installed x86 dom0 on x86_64 machine, then arch and #uname -a as well as #xm info all shows. x86, but really the machine is x86_64. Could anybody tell me how i can get the system information that this is x86_64 machine. Is dmidecode helpful? Thanks, Trilok _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
trilok nuwal wrote:> Hi, > > How could i know the processor architecture whether this is x86 or x86_64 ? > arch returns the architecture of the OS installed on the machine. > But what happened when i installed x86 dom0 on x86_64 machine, then arch > and #uname -a as well as #xm info all shows. x86, but really the machine > is x86_64. > > Could anybody tell me how i can get the system information that this is > x86_64 machine.cat /proc/cpuinfo there must be a cpu flag "lm" for "long mode". Regards, Bjoern _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
trilok nuwal wrote:> Hi, > > How could i know the processor architecture whether this is x86 or > x86_64 ? > arch returns the architecture of the OS installed on the machine. > But what happened when i installed x86 dom0 on x86_64 machine, then > arch and #uname -a as well as #xm info all shows. x86, but really the > machine is x86_64. > > Could anybody tell me how i can get the system information that this > is x86_64 machine. > > Is dmidecode helpful?You can try cat /proc/cpuinfo , it will show you the CPU type and then you can look up whether it''s a 32- or 64-bit CPU. Regards, Zoltan HERPAI _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Thanks, So lm flag is for long mode, implies that machine is 64 bit. Am i coorect? Thanks, Trilok On Jan 25, 2008 6:30 PM, Bjoern Metzdorf <bm@turtle-entertainment.de> wrote:> trilok nuwal wrote: > > Hi, > > > > How could i know the processor architecture whether this is x86 or > x86_64 ? > > arch returns the architecture of the OS installed on the machine. > > But what happened when i installed x86 dom0 on x86_64 machine, then arch > > and #uname -a as well as #xm info all shows. x86, but really the machine > > is x86_64. > > > > Could anybody tell me how i can get the system information that this is > > x86_64 machine. > > cat /proc/cpuinfo > > there must be a cpu flag "lm" for "long mode". > > Regards, > Bjoern >_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
trilok nuwal wrote:> Thanks, > So lm flag is for long mode, implies that machine is 64 bit. Am i coorect?It implies that the machine is capable of running Linux X86_64, yes. Regards, Bjoern _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
On Fri, Jan 25, 2008 at 06:27:07PM +0530, trilok nuwal wrote:> Hi, > > How could i know the processor architecture whether this is x86 or x86_64 ?Does for example cat /proc/cpuinfo tell you what you want to know? Tomas _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Is it anything in dmidecode for this flag ? Because i want to get this information from BIOS. I cant rely on dom0 to give this information. Thanks, Trilok On Jan 25, 2008 6:36 PM, trilok nuwal <tc.nuwal@gmail.com> wrote:> Thanks, > So lm flag is for long mode, implies that machine is 64 bit. Am i coorect? > > Thanks, > Trilok > > > On Jan 25, 2008 6:30 PM, Bjoern Metzdorf < bm@turtle-entertainment.de> > wrote: > > > trilok nuwal wrote: > > > Hi, > > > > > > How could i know the processor architecture whether this is x86 or > > x86_64 ? > > > arch returns the architecture of the OS installed on the machine. > > > But what happened when i installed x86 dom0 on x86_64 machine, then > > arch > > > and #uname -a as well as #xm info all shows. x86, but really the > > machine > > > is x86_64. > > > > > > Could anybody tell me how i can get the system information that this > > is > > > x86_64 machine. > > > > cat /proc/cpuinfo > > > > there must be a cpu flag "lm" for "long mode". > > > > Regards, > > Bjoern > > > >_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
cat /proc/cpuinfo directly won''t show anything about the architecture. Flag lm imply that we can run x86_64 machine on the host machine. But still i want to get this information from the BIOS, like utility dmidecode Thanks Trilok On Jan 25, 2008 6:37 PM, Tomas Nykung <tomas2@multi.fi> wrote:> On Fri, Jan 25, 2008 at 06:27:07PM +0530, trilok nuwal wrote: > > Hi, > > > > How could i know the processor architecture whether this is x86 or > x86_64 ? > > > Does for example cat /proc/cpuinfo tell you what you want to know? > > > Tomas > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com > http://lists.xensource.com/xen-users >_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Yes, that''s correct.>>> On Fri, Jan 25, 2008 at 6:06 AM, "trilok nuwal" <tc.nuwal@gmail.com> wrote:Thanks, So lm flag is for long mode, implies that machine is 64 bit. Am i coorect? Thanks, Trilok On Jan 25, 2008 6:30 PM, Bjoern Metzdorf <bm@turtle-entertainment.de> wrote: trilok nuwal wrote:> Hi, > > How could i know the processor architecture whether this is x86 or x86_64 ? > arch returns the architecture of the OS installed on the machine. > But what happened when i installed x86 dom0 on x86_64 machine, then arch > and #uname -a as well as #xm info all shows. x86, but really the machine > is x86_64. > > Could anybody tell me how i can get the system information that this is > x86_64 machine.cat /proc/cpuinfo there must be a cpu flag "lm" for "long mode". Regards, Bjoern _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users