Project

General

Profile

« Previous | Next » 

Revision 5ff1de98

Added by David Sorber over 7 years ago

Updating display script with parameters from new server configuration.

View differences:

software/misc/display.py
hostname = subprocess.check_output('hostname', shell=True).strip()
ip_addr = get_ipv4_addr('enp3s0')
root_stats = get_fs_usage('/dev/sda2')
ip_addr = get_ipv4_addr('enp4s0')
root_stats = get_fs_usage('/dev/sdf2')
storage_stats = get_fs_usage('/dev/md0')
print YELLOW + BOLD + ' _ _ '

Also available in: Unified diff