mirror of
https://github.com/iv-org/invidious.git
synced 2025-04-18 06:35:49 -04:00
oneliner test
This commit is contained in:
parent
6b426c2886
commit
5632e31335
@ -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 = ""
|
||||
|
Loading…
x
Reference in New Issue
Block a user