Tip: You should be able to run both Qt (KDE) and GtK (Gnome) based apps.
Great! Let’s set up the monitoring and logging step by step. I’ll guide you through the process.
We need to install mpstat
(from the sysstat
package) for monitoring CPU steal time and vnstat
for bandwidth monitoring.
-
Install
sysstat
formpstat
: Run the following command based on your Linux distribution:For Ubuntu/Debian:
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Create a folder | |
$ mkdir actions-runner && cd actions-runner# Download the latest runner package | |
$ curl -o actions-runner-linux-x64-2.314.1.tar.gz -L https://github.com/actions/runner/releases/download/v2.314.1/actions-runner-linux-x64-2.314.1.tar.gz# Optional: Validate the hash | |
$ echo "6c726a118bbe02cd32e222f890e1e476567bf299353a96886ba75b423c1137b5 actions-runner-linux-x64-2.314.1.tar.gz" | shasum -a 256 -c# Extract the installer | |
$ tar xzf ./actions-runner-linux-x64-2.314.1.tar.gz | |
# Create the runner and start the configuration experience | |
$ ./config.sh --url https://github.com/splunk/splunk-3D-graph-network-topology-viz --token AGGDLRGPIDMG32CDWTUHTNDF6GWFG# Last step, run it! | |
$ ./run.sh |
- Open dev tools
- Search for the
<video…
tag. - Copy the source URL
- Right click on the
body
tag and clickEdit as HTML
- Add an a link with the src right inside the body tag like:
<body>
<a href="url-you-copied">download</a>
...
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
zxc |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<form version="1.1"> | |
<label>XKCD API Explorer</label> | |
<description>XKCD Dashboard to explore Comic data</description> | |
<fieldset submitButton="false"> | |
<input type="dropdown" token="img"> | |
<label>XKCD Comic</label> | |
<fieldForLabel>safe_title</fieldForLabel> | |
<fieldForValue>img</fieldForValue> | |
<search> | |
<query>index=main img=* | dedup img | table safe_title img month num alt year | sort - safe_title</query> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import logging | |
import logging.handlers | |
import datetime | |
from os.path import expanduser | |
from splunk_hec_handler import SplunkHecHandler | |
def setup_logger(name, host=None, port=8088, token=None, verify=False): |
NewerOlder