Ubuntu – Getting system information with uname

Per http://ss64.com/bash/uname.html the following command can be used to obtain system information from the Ubuntu server:

uname [options]...

Specifically, the command will “Print system information, print information about the machine and operating system it is run on. If no options are given, `uname’ acts as if the `-s’ option were given.

The following command line switches can be used:

 -a
 --all
     Print all of the below information.

 -m
 --machine
     Print the machine (hardware) type.

 -n
 --nodename
     Print the machine's network node hostname.

 -p
 --processor
     Print the machine's processor type

 -r
 --release
     Print the operating system release.

 -s
 --sysname
     Print the operating system name.

 -v
     Print the operating system version.

If multiple switches are used or if -a is used then the information is provided in the following order:

[SYSNAME] [NODENAME] [RELEASE] [OSVERSION] [MACHINE]

Advertisements
  1. No trackbacks yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: