mirror of
https://github.com/wassname/ray.git
synced 2026-08-05 13:21:03 +08:00
[Dashboard] Add remaining features from old dashboard (#6489)
* [Dashboard] Add remaining features from old dashboard * Fix linting errors * Set cluster uptime statistic to N/A * Use proper singular or plural words for workers column * Ignore .js, .jsx, .ts, .tsx files in check-git-clang-format-output.sh * Fix bash quote issue
This commit is contained in:
@@ -112,8 +112,8 @@ class Reporter(object):
|
||||
def get_workers():
|
||||
return [
|
||||
x.as_dict(attrs=[
|
||||
"pid", "create_time", "cpu_percent", "cpu_times", "name",
|
||||
"cmdline", "memory_info", "memory_full_info"
|
||||
"pid", "create_time", "cpu_percent", "cpu_times", "cmdline",
|
||||
"memory_info", "memory_full_info"
|
||||
]) for x in psutil.process_iter(attrs=["cmdline"])
|
||||
if is_worker(x.info["cmdline"])
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user