6
3

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 1 year has passed since last update.

Linuxで動作しているアーキテクチャの確認を行う方法

Last updated at Posted at 2023-06-01

はじめに

あれ?これ、なんのマシンで動かしてたっけ? m1 macだったっけ? あれ?

そうだ、アーキテクチャ調べたらわかる

環境

  • Ubuntu 22.04

確認方法

$ uname -m
aarch64
$ uname -m
x86_64

おまけ

  • m1 mac + ubuntu 22.04 arm
$ uname -a
Linux host1 5.4.0-150-generic #167-Ubuntu SMP Mon May 15 17:36:35 UTC 2023 aarch64 aarch64 aarch64 GNU/Linux
  • ubuntu 22.04 x86_64
$ uname -a
Linux host2 5.15.0-73-generic #80-Ubuntu SMP Mon May 15 15:18:26 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux

さいごに

かんたんでしたね

6
3
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
6
3

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?