Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #244859

Re: i386 or AMD64 - Which is currently running?

From Greg Wooledge <greg@wooledge.org>
Newsgroups linux.debian.user
Subject Re: i386 or AMD64 - Which is currently running?
Date 2022-01-31 14:40 +0100
Message-ID <DLF4u-4rX-17@gated-at.bofh.it> (permalink)
References <DLE8p-3SP-1@gated-at.bofh.it> <DLF4u-4rX-19@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Mon, Jan 31, 2022 at 08:23:45AM -0500, Stefan Monnier wrote:
> > 1. From current console, how can I determine which is running?
> >    [ equivalent of /etc/debian_version would be ideal ]
> 
> Depends what you mean.  The answer may also be "both" depending on what
> you care about.  E.g. many of my machines run an amd64 kernel with an
> i386 set of Debian binaries running on top of it, and some of them also
> include a few Debian amd64 binaries.
> 
> `uname -a` tells you what kernel you're running.
> `file /bin/sh` should tell you what that executable uses.

/bin/sh is a symlink, so that's not a useful command to determine
your arch.  I typically use "file /bin/ls" instead.

Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

i386 or AMD64 - Which is currently running? Richard Owlett <rowlett@cloud85.net> - 2022-01-31 13:40 +0100
  Re: i386 or AMD64 - Which is currently running? Curt <curty@free.fr> - 2022-01-31 13:40 +0100
    Re: i386 or AMD64 - Which is currently running? Richard Owlett <rowlett@cloud85.net> - 2022-01-31 17:00 +0100
      Re: i386 or AMD64 - Which is currently running? Curt <curty@free.fr> - 2022-01-31 17:40 +0100
        Re: i386 or AMD64 - Which is currently running? Greg Wooledge <greg@wooledge.org> - 2022-01-31 17:40 +0100
          Re: i386 or AMD64 - Which is currently running? Brian <ad44@cityscape.co.uk> - 2022-01-31 21:10 +0100
            Re: i386 or AMD64 - Which is currently running? Stefan Monnier <monnier@iro.umontreal.ca> - 2022-01-31 22:40 +0100
              Re: i386 or AMD64 - Which is currently running? Greg Wooledge <greg@wooledge.org> - 2022-01-31 22:50 +0100
                Re: i386 or AMD64 - Which is currently running? Stefan Monnier <monnier@iro.umontreal.ca> - 2022-02-01 03:10 +0100
                Re: i386 or AMD64 - Which is currently running? David Wright <deblis@lionunicorn.co.uk> - 2022-02-01 04:00 +0100
                Re: i386 or AMD64 - Which is currently running? Stefan Monnier <monnier@iro.umontreal.ca> - 2022-02-01 06:30 +0100
                Re: i386 or AMD64 - Which is currently running? Michael Stone <mstone@debian.org> - 2022-02-01 04:20 +0100
                Re: i386 or AMD64 - Which is currently running? Stefan Monnier <monnier@iro.umontreal.ca> - 2022-02-01 06:40 +0100
                Re: i386 or AMD64 - Which is currently running? Michael Stone <mstone@debian.org> - 2022-02-01 14:40 +0100
              Re: i386 or AMD64 - Which is currently running? Richard Owlett <rowlett@cloud85.net> - 2022-02-01 01:40 +0100
              Re: i386 or AMD64 - Which is currently running? <tomas@tuxteam.de> - 2022-02-01 06:50 +0100
              Re: i386 or AMD64 - Which is currently running? Curt <curty@free.fr> - 2022-02-01 13:30 +0100
                Re: i386 or AMD64 - Which is currently running? Stanislav Vlasov <stanislav.v.v@gmail.com> - 2022-02-01 17:20 +0100
                Re: i386 or AMD64 - Which is currently running? Curt <curty@free.fr> - 2022-02-01 18:50 +0100
            CLARIFICATION --- Re: i386 or AMD64 - Which is currently running? Richard Owlett <rowlett@cloud85.net> - 2022-02-01 01:40 +0100
              Re: CLARIFICATION --- Re: i386 or AMD64 - Which is currently running? songbird <songbird@anthive.com> - 2022-02-01 07:20 +0100
                Re: CLARIFICATION --- Re: i386 or AMD64 - Which is currently running? Richard Owlett <rowlett@cloud85.net> - 2022-02-01 13:10 +0100
      Re: i386 or AMD64 - Which is currently running? Stefan Krusche <linux@stefan-krusche.de> - 2022-02-01 11:50 +0100
  Re: i386 or AMD64 - Which is currently running? Greg Wooledge <greg@wooledge.org> - 2022-01-31 14:40 +0100
    Re: i386 or AMD64 - Which is currently running? David Wright <deblis@lionunicorn.co.uk> - 2022-01-31 17:50 +0100
  Re: i386 or AMD64 - Which is currently running? Teemu Likonen <tlikonen@iki.fi> - 2022-01-31 14:40 +0100
    Re: i386 or AMD64 - Which is currently running? Greg Wooledge <greg@wooledge.org> - 2022-01-31 14:40 +0100
  Re: i386 or AMD64 - Which is currently running? Stefan Monnier <monnier@iro.umontreal.ca> - 2022-01-31 14:40 +0100
  Re: i386 or AMD64 - Which is currently running? David Wright <deblis@lionunicorn.co.uk> - 2022-01-31 20:20 +0100

csiph-web