Update the `system-info` directory with the addition of a `systemd` service file and an new Linux script to display current CPU temperature and core/thread utilization. Update `.conduit.yaml` with addition `apt` dependencies `sysstat` and `jq`. Update the install and remove scripts to setup and tear down the `systemd` user unit. Lastly, decrease the `tmux` status line update interval from 5 to 2 seconds.
10 lines
240 B
Bash
Executable File
10 lines
240 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
if [ `uname` = Darwin ]; then
|
|
launchctl unload ~/Library/LaunchAgents/system-info.plist
|
|
rm ~/Library/LaunchAgents/system-info.plist
|
|
else
|
|
systemctl --user stop system-info
|
|
systemctl --user disable system-info
|
|
fi
|