Skip to main content
edited tags
Link
Rui F Ribeiro
  • 58k
  • 29
  • 156
  • 240
edited tags
Link
Rui F Ribeiro
  • 58k
  • 29
  • 156
  • 240
Title, formatting, tags
Source Link
jasonwryan
  • 74.9k
  • 35
  • 204
  • 232

Get Linux archarchitecture from /proc filesystem

I'm writing a program in Java and iI need to determine the architecture for which Linux was compiled.

I need something like uname -muname -m, but without running any program, but instead from the /proc/proc pseduo-fs.

What is a reliable source to read from?

Get Linux arch from /proc filesystem

I'm writing a program in Java and i need to determine the architecture for which Linux was compiled.

I need something like uname -m, but without running any program, but instead from the /proc pseduo-fs.

What is a reliable source to read from?

Get Linux architecture from /proc filesystem

I'm writing a program in Java and I need to determine the architecture for which Linux was compiled.

I need something like uname -m, but without running any program, but instead from the /proc pseduo-fs.

What is a reliable source to read from?

Source Link
Loading