473,698 Members | 2,888 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

32 OS on 64-bit machine

If anyone has a x86_64 machine and is running a 32bit OS on top of
that.... could you tell me what output would you get for the following
program

#============== ========
import platform
print platform.proces sor()
print platform.archit ecture()
#============== ========

Thanks in advance
: )~

May 3 '07 #1
8 1456
SamG wrote:
If anyone has a x86_64 machine and is running a 32bit OS on top of
that.... could you tell me what output would you get for the following
program

#============== ========
import platform
print platform.proces sor()
print platform.archit ecture()
#============== ========

Thanks in advance
: )~
Microsoft Windows XP [Version 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.

C:\>python
Python 2.5 (r25:51908, Sep 19 2006, 09:52:17) [MSC v.1310 32 bit
(Intel)] on win32
Type "help", "copyright" , "credits" or "license" for more information.
>>import platform
print platform.proces sor ()
>>print platform.archit ecture ()
('32bit', 'WindowsPE')
>>>
May 3 '07 #2
On May 3, 2:58 pm, Harald Karner <harald.kar...@ a1.netwrote:
SamG wrote:
If anyone has a x86_64 machine and is running a 32bit OS on top of
that.... could you tell me what output would you get for the following
program
#============== ========
import platform
print platform.proces sor()
print platform.archit ecture()
#============== ========
Thanks in advance
: )~

Microsoft Windows XP [Version 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.

C:\>python
Python 2.5 (r25:51908, Sep 19 2006, 09:52:17) [MSC v.1310 32 bit
(Intel)] on win32
Type "help", "copyright" , "credits" or "license" for more information.
>>import platform
>>print platform.proces sor ()
>>print platform.archit ecture ()
('32bit', 'WindowsPE')
>>>
Thanks, I would be more interested in the output on Linux's or Unix

Thanks again : )~

May 3 '07 #3
I have at home an AMD Turion 64 and using Ubuntu. You may be
interested on this, i will post here the results when i get back home!

May 3 '07 #4
SamG ha scritto:
If anyone has a x86_64 machine and is running a 32bit OS on top of
that.... could you tell me what output would you get for the following
program
I have a Athlon64 X2 with Debian unstable i386:
[mg@Galvatron pts/0 ~]$ python
Python 2.4.4 (#2, Apr 26 2007, 00:02:45)
[GCC 4.1.2 20061115 (prerelease) (Debian 4.1.1-21)] on linux2
Type "help", "copyright" , "credits" or "license" for more information.
>>import platform
print platform.proces sor()
>>print platform.archit ecture()
('32bit', '')
>>>
I also have a MacBook with a Core 2 Duo and Mac OS X 10.4.9 :

[MG55@dot1x-056 ttyp4 ~/Desktop/ETICS]$ python
Python 2.3.5 (#1, Aug 19 2006, 21:31:42)
[GCC 4.0.1 (Apple Computer, Inc. build 5363)] on darwin
Type "help", "copyright" , "credits" or "license" for more information.
>>import platform
print platform.proces sor()
i386
>>print platform.archit ecture()
('32bit', '')
>>>
--
Mattia Gentilini
Collaborator for ETICS project - http://eu-etics.org/
INFN - CNAF - R&D Division - Bologna, Italy
* Using Mac OS X 10.4.9 powered by Cerebros (Core 2 Duo) *
May 3 '07 #5

$ python
Python 2.5c1 (r25c1:51305, Sep 12 2006, 08:39:50)
[GCC 3.2.3 20030502 (Red Hat Linux 3.2.3-54)] on linux2
Type "help", "copyright" , "credits" or "license" for more information.
>>import platform
print platform.proces sor()
x86_64
>>print platform.archit ecture()
('64bit', 'ELF')
>>>
This is an Opteron box running 64-bit RedHat Enterprise Lunix release
3 update 7, not 32-bit.

$ uname -a
Linux localhost.local domain 2.4.21-40.EL #1 Thu Feb 2 22:20:41 EST
2006 x86_64 x86_64 x86_64 GNU/Linux

/Jean Brouwers

On May 3, 2:10 am, SamG <mad.vi...@gmai l.comwrote:
If anyone has a x86_64 machine and is running a 32bit OS on top of
that.... could you tell me what output would you get for the following
program

#============== ========
import platform
print platform.proces sor()
print platform.archit ecture()
#============== ========

Thanks in advance
: )~
May 3 '07 #6
At Amd Turion 64, it gives:

('32bit', 'ELF')

May 3 '07 #7
On Thursday 03 May 2007 01:10, SamG wrote:
If anyone has a x86_64 machine and is running a 32bit OS on top of
that.... could you tell me what output would you get for the following
program

#============== ========
import platform
print platform.proces sor()
print platform.archit ecture()
#============== ========

Thanks in advance
: )~
>>import platform
print platform.proces sor()
>>print platform.archit ecture()
('32bit', '')
>>>
$ cat /proc/cpuinfo
processor : 0
vendor_id : AuthenticAMD
cpu family : 15
model : 44
model name : AMD Sempron(tm) Processor 3100+
<SNIP>

$ uname -a
Linux djibouti 2.6.15-28-k7 #1 SMP PREEMPT Thu Feb 1 16:36:09 UTC 2007 i686
GNU/Linux

--
Joshua Kugler
Lead System Admin -- Senior Programmer
http://www.eeinternet.com
PGP Key: http://pgp.mit.edu/ Â*ID 0xDB26D7CE

--
Posted via a free Usenet account from http://www.teranews.com

May 4 '07 #8
"SamG" <ma*******@gmai l.comwrote:
If anyone has a x86_64 machine and is running a 32bit OS on top of
that.... could you tell me what output would you get for the following
program

#============== ========
import platform
print platform.proces sor()
print platform.archit ecture()
#============== ========
not copy pasted - the new machine is not on the network yet
the answers look like:
i686
and
('32bit','')

Suse 10 gave me a warning during installation last night...
the machine is an HP Compaq Celeron D

- Hendrik

May 4 '07 #9

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
1535
by: Marc Poinot | last post by:
Did anybody use numarray on a 64 bits platform ? (e.g. SGI/Irix) The package works on our 64 bits platforms... using 32 bits mode, but not using 64 mode. Big crash in _ufunc... Is there a flag to set somewhere, trick, hint, noway ? -MP- ----------------------------------------------------------------------- Marc POINOT Alias: marcvs Email: poinot@onera.fr ONERA -MFE/DSNA/ELSA Tel: 01.46.73.42.84 Info:...
3
2250
by: Odd Bjørn Andersen | last post by:
I was asked to install db2 udb workgroup edition (version 7.2) 64-bits on AIX. But I cannot find that we have a CD with that software. Only Enterprise Edition. Is it correct that you have to install Enterprise (Server) Edition if you want 64-bits DB2 UDB (both version 7 and 8) on AIX ? And that Workgroup (Server) Edition doesn't come in 64-bits, only 32 ? -- Regards
56
4108
by: Dave Vandervies | last post by:
I just fixed a bug that some of the correctness pedants around here may find useful as ammunition. The problem was that some code would, very occasionally, die with a segmentation violation error. (Not as infrequent as some bugs that have been discussed here in the past, but maybe once in an overnight run of the program when it was configured to aggressively exercise the section that the bug was in.) It was easy enough to trap the...
3
15540
by: some one | last post by:
I have kind of wired problem, I using httpwebrequest to post form data to server , in the GetResponse stage a WebException occurred, after tracing the actual error that occurs on the server, I found the follows. Invalid length for a Base-64 char array. Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about
1
2164
by: mel_apiso | last post by:
Hi, we have an AIX 5.3 OS, and we purchased DB2 UDB version 8 Workgroup Edition. We want to install 64 bits version, but the source CD's that we have say: WORKGROUP SERVER EDITION Version 8.1 for AIX 5L
13
4087
by: Mary Lei | last post by:
Does anyone know the link to obtain the tarball for db2 8.1 for solaris running on AMD 64 bit ? This is the entire db2 installation on a new system that does not have db2. Thanks.
10
10692
by: krunalb | last post by:
Hi, I am trying to shift unsigned long long value by 64 bits and this is what i get #include <stdio.h> int main() { unsigned short shiftby= 64;
14
2322
by: mosi | last post by:
Problem: how to get binary from integer and vice versa? The simplest way I know is: a = 0100 a 64 but: a = 100 (I want binary number) does not work that way.
1
2369
by: =?Utf-8?B?UGF1bCBQaGlsbGlwcw==?= | last post by:
I have read many things about this but I haven't got a clear vision on what to do if anything about this. I have a system that tries to find holes in my web site. One of the things it has found and has been sent to me is an Invalid_Viewstate exception. I will provide the stack trace below. If you read down the stack trace it talks about "Invalid chararcter in a base-64
2
1778
by: James | last post by:
What's the difference between DB2V8 32-bits and 64-bits instance on AIX? and I am confused the relationship between DB2 32/64-bits instance and 32/64-bits AIX? Maybe it is a simple question. Please advise. Thanks so much.
0
8683
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8611
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
9170
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
9031
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
8904
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8876
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
7741
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
4372
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
3052
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.