[][src]Crate nixinfo

Functions

cpu

Obtain CPU model, outputs to a string

device

Obtain name of device, outputs to a string

distro

Obtain the distro name, outputs to a string

env

Obtain the contents of an env variable, outputs to a string

environment

Obtains the name of the user's DE or WM, outputs to a string

hostname

Obtain the hostname, outputs to a string

kernel

Obtain the kernel version, outputs to a string

memory

Obtain total memory in MBs, outputs to a string

packages

Obtain list of packages based on what manager is given as an arg, outputs to a string

temp

Obtain the temp of the CPU, only tested on rpi, outputs to a string

terminal

Obtain the name of the terminal being used, outputs to a string

uptime

Obtains the current uptime of the system, outputs to a string