landscape-sysinfo
Display a summary of the current system status
- Provided by: landscape-common (Version: 16.03-0ubuntu2.16.04.8)
- Source: landscape-client
- Report a bug
Display a summary of the current system status
landscape-sysinfo [options]
landscape-sysinfo is a utility that displays information about the computer it is run on. This information is displayed upon login for console users (ssh and terminal login supported) and can also be seen at anytime by just calling landscape-sysinfo from the command line.
The output of landscape-sysinfo can be controlled by enabling or disabling its plugins. See below how to do that.
If the system load is higher than the number of cores, as determined by the count of processor lines in /proc/cpuinfo, then landscape-sysinfo will not run at login time. This is to prevent it from potentially making a bad situation worse by interfering with what could be an administrator logging in to try to fix the problem causing the high load.
Default plugins: Load, Disk, Memory, Temperature, Processes, LoggedInUsers, LandscapeLink, Network
Any of the long command-line options can be used as a configuration directive in that configuration file, under the section [sysinfo], by replacing the hyphen (-) with an underscore (_).
For example, to disable the LandscapeLink and Temperature plugins without having to use the command line option, the following can be added to /etc/landscape/client.conf:
[sysinfo]
exclude_sysinfo_plugins = Temperature, LandscapeLink
This is the default configuration with all plugins enabled:
$ landscape-sysinfo
System load: 0.66 Processes: 242
Usage of /home: 72.0% of 27.50GB Users logged in: 1
Memory usage: 31% IP address for wlan0: 10.0.1.6
Swap usage: 0% IP address for virbr0: 192.168.122.1
Temperature: 47 C
=> There is 1 zombie process.
Graph this data and manage this system at https://landscape.canonical.com/
If you want to disable the temperature and Landscape plugins, you could run it
like this:
$ landscape-sysinfo --exclude-sysinfo-plugins=Temperature,LandscapeLink
System load: 1.08 Processes: 242
Usage of /home: 72.0% of 27.50GB Users logged in: 1
Memory usage: 31% IP address for wlan0: 10.0.1.6
Swap usage: 0% IP address for virbr0: 192.168.122.1
=> There is 1 zombie process.