Skip to content
Snippets Groups Projects
Commit 03a1f61c authored by Hahn Axel (hahn)'s avatar Hahn Axel (hahn)
Browse files

update readme

parent 415108ec
No related branches found
No related tags found
No related merge requests found
......@@ -43,12 +43,35 @@ In the config.sh you can make your changes
## Get the DEB package
Put the amd64 DEB package into ~/Downloads/.
In config.sh set
In config.sh set ists filename:
```shell
DEBFILE=~/Downloads/04788015-Lin_C_V2-snowagent-7.0.1-x64.deb
DEBFILE=~/Downloads/...-snowagent-<version>-x64.deb
```
## Install
Start `./installer_samagent.sh`
## Trace
With the trace script the command call of the cronjob will be executed. With `strace` the process actions will be shown and written to a logfile.
```shell
> ./trace.sh
TRACE RUN
Starting '/opt/snow/snowagent -w /opt/snow/' in backgrund and start strace on its PID.
A log will be generated: /tmp/snowagent-trace-20250522-163707.log¨
Press RETURN to continue or Ctrl+C to
```
To see all scanned files search for "openat(" und "stat(" on line start. By cutting with delimiter `"` we extract the full path:
```shell
zcat <filename>.log.gz | grep -E "^(openat|stat)\(" | cut -f 2 -d '"' | sort -u
```
File added
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment