oneliner test

This commit is contained in:
mooleshacat 2024-10-21 23:56:29 -04:00
parent 6b426c2886
commit 5632e31335
No known key found for this signature in database
GPG Key ID: 89DDFF5BD326A1B9

View File

@ -12,7 +12,7 @@ class Invidious::Loadavg
#process = Process.new(loadavg_cmd, [loadavg_args], output: Process::Redirect::Pipe)
#str_loadavg = process.output.gets_to_end
str_loadavg = "test"
str_loadavg = `/usr/bin/cat /proc/loadavg | awk -F'[ ]' '{print $1" "$2" "$3}'`
else
str_loadavg = ""