Skip to content

Commit

Permalink
Add system info in log
Browse files Browse the repository at this point in the history
  • Loading branch information
origamiofficial committed Aug 13, 2024
1 parent 5e6b922 commit 9c0c963
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions data/unbound.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
#!/bin/bash

echo "ARCHITECTURE=$(uname -m)"
cat /etc/os-release
echo "UNBOUND=$(/opt/unbound/sbin/unbound -V)"

reserved=12582912
availableMemory=$((1024 * $( (grep MemAvailable /proc/meminfo || grep MemTotal /proc/meminfo) | sed 's/[^0-9]//g' ) ))
memoryLimit=$availableMemory
Expand Down

0 comments on commit 9c0c963

Please sign in to comment.