OXIESEC PANEL
- Current Dir:
/
/
usr
/
share
/
landscape
Server IP: 10.0.0.4
Upload:
Create Dir:
Name
Size
Modified
Perms
📁
..
-
11/20/2022 06:47:16 AM
rwxr-xr-x
📄
landscape-sysinfo.wrapper
397 bytes
02/20/2020 05:35:22 PM
rwxr-xr-x
Editing: landscape-sysinfo.wrapper
Close
#!/bin/sh cores=$(grep -c ^processor /proc/cpuinfo 2>/dev/null) [ "$cores" -eq "0" ] && cores=1 threshold="${cores:-1}.0" if [ $(echo "`cut -f1 -d ' ' /proc/loadavg` < $threshold" | bc) -eq 1 ]; then echo echo -n " System information as of " /bin/date echo /usr/bin/landscape-sysinfo else echo echo " System information disabled due to load higher than $threshold" fi