distro_info(1)

EEPM(1) General Commands Manual EEPM(1)

NAME

distro_info - get various info about a system and used distro

SYNOPSIS

distro_info [options]... [args]...

DESCRIPTION

With distro_info you can get various info about your system, used unix-like distro and arch. distro_info can be used manually, in shell scripts or other programs.

Please use distro_info -h to get detail command explain.

Run without options to print all information.

OPTIONS

-h
Display help
-V
Show version and exit
-a
print hardware architecture (aarch64, x86_64)
-b
print size of normal word size (arch bits) (32/64)
-d
print distro name (Ubuntu, ALTLinux)
-e
print name and version of the distro (Ubuntu/18.04)
-i
print virtualization type (openvz, kvm, (host system))
-m
print system memory size (in MB)
-o
print base OS name (linux, macos)
-p
print type of the packaging system (deb, rpm)
-y
print running service manager (systemd, sysvinit)
--pretty
print name name of the distro
-v
print version of the distro (f.i. 20.04 or p9)

BUGS

Please report any bugs to lav@etersoft.ru

EXIT STATUS

distro_info will return zero on success and non zero on operation failure.

SEE ALSO

eepm(1)

https://github.com/Etersoft/distro_info
distro_info page
November 2019 Version 1.1