Skip to content
This repository has been archived by the owner on Sep 22, 2023. It is now read-only.

Commit

Permalink
cli.agents: Include used resource stats in the 'admin agent' command
Browse files Browse the repository at this point in the history
  • Loading branch information
achimnol committed Dec 6, 2018
1 parent e0b82c8 commit f8abda5
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/ai/backend/client/cli/admin/agents.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,12 @@ def agent(args):
('Status', 'status'),
('Region', 'region'),
('First Contact', 'first_contact'),
('Mem.Slots', 'mem_slots'),
('Mem Slots', 'mem_slots'),
('Used Mem Slots', 'used_mem_slots'),
('CPU Slots', 'cpu_slots'),
('Used CPU Slots', 'used_cpu_slots'),
('GPU Slots', 'gpu_slots'),
('Used GPU Slots', 'used_gpu_slots'),
]
with Session() as session:
try:
Expand Down

0 comments on commit f8abda5

Please sign in to comment.