vuname(1)

vuname1

Print system/view information - set view name.

Usage

vuname [options ...]

or

vuname newname

Overview

Print certain system/view information. With no options, and no arguments, same as -s. With no options and exactly one argument: set the VUOS view name.

This tool extends uname(1). It should provide the same output of uname except when it runs as a VUOS process (or if --x/--nouname disables this feature). In VUOS the system information is extended with view information.

Options

-a, --all

print all information, in the following order, except omit -p and -i if unknown.

-s, --kernel-name

print the kernel name

-n, --nodename

print the network node hostname

-r, --kernel-release

print the kernel release

-v, --kernel-version

print the kernel version

-m, --machine

print the machine hardware name

-p, --processor

print the processor type or “unknown”

-i, --hardware-platform

print the hardware platform or “unknown”

-o, --operating-system

print the operating system

-U, --serverid

print the VUOS server id (it is the process id of the hypervisor)

-V, --viewname

print the view name

-P, --prompt

return a suitable (shell) command prompt: the nodename (-n) if vuname runs outside VUOS else the view name (-V) if it has been defined otherwise the nodename followedby the server id enclosed in square brackets (something like host[42]).

-x, --nouname

do not use uname (without this flag the command behaves like uname when it runs on a non VUOS enabled environment).

-q, --quiet

quiet mode: error messages suppressed

--help

display a help message and exit

--version

output version information and exit

Releases

9 releases since Debian 5.0 (Lenny); the text changed 1 time.

  1. 5.0–12
  2. 13

--prompt since Debian 13 (Trixie); -P since Debian 13 (Trixie).

--viewid until Debian 12 (Bookworm); -N until Debian 12 (Bookworm).

From vuos-cmds 0.9.2-1 in Debian 13 (Trixie). Parsed by carta from the page's man source.