# Nvflare 指令 python 檔 ## 指令集 * admin_check_status.py -- 查看server跟client的狀態 ```shell= python admin_check_status.py admin資料夾名稱 ``` 執行結果: ![](https://i.imgur.com/PcdN3nd.png) ![](https://i.imgur.com/IXZsEXg.png) * admin_delete_job.py' -- 刪除提交的job ```shell= python admin_delete_job.py admin資料夾名稱 job_id ``` 執行結果: ![](https://i.imgur.com/8IChF1K.png) * admin_delete_user.py -- 關閉user ```shell= python admin_delete_user.py admin資料夾名稱 user_id ``` 執行結果: * admin_download_check.py -- 確認可下載的模型 ```shell= python admin_download_check.py admin資料夾名稱 ``` 執行結果: ![](https://i.imgur.com/tICxRg5.png) * admin_download.py -- 下載模型 ```shell= python admin_download.py admin資料夾名稱 job_id ``` 執行結果: * admin_remove_user.py -- 刪除user ```shell= python admin_remove_user.py admin資料夾名稱 user_id ``` 執行結果: * admin_restart_user.py -- 重啟user ```shell= python admin_restart_user.py admin資料夾名稱 user_id ``` 執行結果: ![](https://i.imgur.com/G9zFlfe.png) * admin_shutdown.py -- 關閉server跟client ```shell= python admin_shutdown.py admin資料夾名稱 ``` 執行結果: ![](https://i.imgur.com/2BfurMZ.png) * admin_submit_job.py -- 提交工作 ```shell= python admin_submit_job.py admin資料夾名稱 app_name ``` 執行結果: ![](https://i.imgur.com/kKNn6lB.png) ![](https://i.imgur.com/Jd8X4zH.png) * admin_sys_info.py -- 查看系統狀態 ```shell= python admin_sys_info.py admin資料夾名稱 ``` ![](https://i.imgur.com/4KvlHLj.png) ## 註記 執行完都有個 ``` AttributeError: 'FLAdminAPI' object has no attribute 'overseer_agent' ``` 可能需要再修改 python檔