User Tools

Site Tools



commands:nems-info

NEMS Linux Commands: nems-info

nems-info parses and outputs a great deal of useful information about your NEMS Linux deployment. This data is used by various NEMS Linux features, but can also be called manually if desired.

nems-info does not require root privileges, and can be called from any folder on your NEMS Linux server.

Available Command Options
  • nems-info ip - Output the IP address of your NEMS Linux server. Automatically detects which interface is in use.
  • nems-info nemsver - Output the currently running full version of NEMS Linux, including rolling update subversion.
  • nems-info nemsbranch - Output the currently running branch version of NEMS Linux, excluding rolling update subversion.
  • nems-info nemsveravail - Output the latest available version of NEMS Linux.
  • nems-info users - Output the number of users connected to your NEMS Linux server (ie., through SSH or direct console).
  • nems-info diskusage - Output how much disk usage you are currently using on your NEMS Linux server, in percentage.
  • nems-info memusage - Output a memory usage breakdown of your NEMS Linux server.
  • nems-info country - Output the country code of your NEMS Linux server, based on the timezone settings you configured during nems-init.
  • nems-info hwver - Output the revision of your NEMS Linux server hardware.
  • nems-info hwid - Output your NEMS Linux server's unique NEMS Hardware ID.
  • nems-info platform - Output which platform your NEMS Linux server is running on.
  • nems-info drives - Output a JSON list of all your NEMS Linux server's available storage media.
  • nems-info loadaverage - Output your NEMS Linux server's weekly load average.
  • nems-info temperature - Output the current average CPU temperature.
  • nems-info sslcert - Display your NEMS SSL certificate information.
  • nems-info nic - Display the network interface (eg., eth0, wlan0, enp2s0) currently being used.
  • nems-info checkport #### - See if a port is running on the NEMS server. Used to determine if services are up or down. For example, to see if apache2 is resonding: nems-info checkport 80
  • nems-info cpupercent - Output the current CPU usage as a number representing percent.
commands/nems-info.txt · Last modified: 2018/02/18 16:59 by Robbie Ferguson