Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OpenBSD 7.2 issue #512

Open
g2px1 opened this issue Mar 23, 2023 · 1 comment
Open

OpenBSD 7.2 issue #512

g2px1 opened this issue Mar 23, 2023 · 1 comment

Comments

@g2px1
Copy link

g2px1 commented Mar 23, 2023

doas go run index.go  
Starting http server at: 0.0.0.0:80
Error executing 'current_ram': fork/exec ./linux_json_api.sh: no such file or directory
	Script output: 
Error executing 'ram_intensive_processes': fork/exec ./linux_json_api.sh: no such file or directory
	Script output: 
Error executing 'cpu_intensive_processes': fork/exec ./linux_json_api.sh: no such file or directory
	Script output: 
Error executing 'disk_partitions': fork/exec ./linux_json_api.sh: no such file or directory
	Script output: 
Error executing 'docker_processes': fork/exec ./linux_json_api.sh: no such file or directory
	Script output: 
Error executing 'swap': fork/exec ./linux_json_api.sh: no such file or directory
	Script output: 
Error executing 'load_avg': fork/exec ./linux_json_api.sh: no such file or directory
	Script output: 
Error executing 'cpu_temp': fork/exec ./linux_json_api.sh: no such file or directory
	Script output: 
Error executing 'cpu_utilization': fork/exec ./linux_json_api.sh: no such file or directory
	Script output:
@g2px1
Copy link
Author

g2px1 commented Mar 23, 2023

Can be fixed with adding at the begging of linux*.sh file this string:

#!/usr/bin/env bash

However, there still be errors

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant