Skip to content

Instantly share code, notes, and snippets.

@dreamcat4
Created June 5, 2019 19:38
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dreamcat4/21b67ffe135546697b5411ceb26246f1 to your computer and use it in GitHub Desktop.
Save dreamcat4/21b67ffe135546697b5411ceb26246f1 to your computer and use it in GitHub Desktop.
Example output for tsysinfo ('Terse System Information')
# the program can be found here:
# https://gist.github.com/dreamcat4/1010d224fee2402fb0d934bb0e281f0e
# tsysinfo platform
x86_64
# tsysinfo kernel
Linux 5.1.6-050106-lowlatency
# tsysinfo uptime
2 days, 8 hours, 17 minutes
# tsysinfo os
Ubuntu 18.10
# tsysinfo cpu-cores
6(12)
# tsysinfo cpu-usage
14.18% cur / 17.20% avg
# tsysinfo fan-spin 2,4,5
ok (461rpm, 641rpm, 971rpm)
# tsysinfo memory-usage
13G/31G
# tsysinfo dmesg-health
ok
# tsysinfo disks
3
# tsysinfo disk-usage /
149G/228G (31% free)
# tsysinfo disks-worst-temp
ok (sdc: 29c/60c)
# tsysinfo zfs-health
n/a
# tsysinfo systemd-health
13 failed services
# tsysinfo systemctl-status docker.service
ok
# tsysinfo docker-status
ok (v18.06.3), 13/18 running
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment