mirror of
https://github.com/iv-org/invidious.git
synced 2025-07-17 10:58:31 +00:00
removed commented code
This commit is contained in:
parent
5632e31335
commit
0a033b3dea
@ -6,12 +6,6 @@ class Invidious::Loadavg
|
||||
|
||||
if CONFIG.loadavg_enabled
|
||||
|
||||
# get the uptime
|
||||
#loadavg_cmd = "/usr/bin/cat /proc/loadavg | awk -F'[ ]' '{print $1\" \"$2\" \"$3}'"
|
||||
#loadavg_args = ""
|
||||
#process = Process.new(loadavg_cmd, [loadavg_args], output: Process::Redirect::Pipe)
|
||||
#str_loadavg = process.output.gets_to_end
|
||||
|
||||
str_loadavg = `/usr/bin/cat /proc/loadavg | awk -F'[ ]' '{print $1" "$2" "$3}'`
|
||||
|
||||
else
|
||||
|
Loading…
Reference in New Issue
Block a user