Translations:KDE Connect/Tutorials/Useful commands/20/en: Difference between revisions
(Importing a new version from external source) |
(Importing a new version from external source) |
(One intermediate revision by the same user not shown) | |
(No difference)
|
Latest revision as of 10:23, 6 September 2020
- Check the status of baloo indexing:
kdeconnect-cli -d $(kdeconnect-cli -a --id-only) --ping-msg "$(balooctl status)"
- Check lines 5, 7 and 9 of speedtest-cli:
kdeconnect-cli -d $(kdeconnect-cli -a --id-only) --ping-msg "$(speedtest-cli|awk 'NR==5;NR==7;NR==9 {print;exit}')"
- Check whether service sshd is running:
kdeconnect-cli -d $(kdeconnect-cli -a --id-only) --ping-msg "$(systemctl status sshd|grep Active)"
- Check the top 5 applications using most RAM:
kdeconnect-cli -d $(kdeconnect-cli -a --id-only) --ping-msg "$(ps -eo pid,%mem,cmd --sort=-%mem | head -n 6)"