summaryrefslogtreecommitdiff
path: root/app/client/system/system.component.js
diff options
context:
space:
mode:
authorJules Laplace <julescarbon@gmail.com>2018-05-26 18:25:21 +0200
committerJules Laplace <julescarbon@gmail.com>2018-05-26 18:25:21 +0200
commit3d836c372d7eff1e2b507888f1ff652a30187c54 (patch)
tree7712d75d400a48124192e2967fab4d8fcc72063c /app/client/system/system.component.js
parent0157537cc049d4b13384b7042129a61f297f9132 (diff)
checking on RPC status and sending it thru
Diffstat (limited to 'app/client/system/system.component.js')
-rw-r--r--app/client/system/system.component.js10
1 files changed, 7 insertions, 3 deletions
diff --git a/app/client/system/system.component.js b/app/client/system/system.component.js
index e097b61..7428c22 100644
--- a/app/client/system/system.component.js
+++ b/app/client/system/system.component.js
@@ -27,14 +27,18 @@ class System extends Component {
}
<Param title='Relay'>{relay.status}</Param>
<Param title='RPC'>{rpc.status}</Param>
- <Param title='CPU'>pix2pix dataset.py</Param>
- <Param title='GPU'>pix2pix train.py</Param>
+ <Param title='CPU'>{rpc.cpu_cmd}</Param>
+ <Param title='GPU'>{rpc.gpu_cmd}</Param>
<Param title='Current Task'>train samplernn</Param>
</Group>
<Group title="Diagnostics">
- <Param title='Commands'>
+ <Param title='Check GPU'>
<button onClick={() => actions.run('nvidia-smi')}>nvidia-smi</button>
+ </Param>
+ <Param title='List processes'>
<button onClick={() => actions.run('ps')}>ps</button>
+ </Param>
+ <Param title='List users'>
<button onClick={() => actions.run('w')}>w</button>
</Param>
</Group>