diff --git a/src/app/components/home/workspace/infos/infos.component.html b/src/app/components/home/workspace/infos/infos.component.html index a1b9624..0871941 100644 --- a/src/app/components/home/workspace/infos/infos.component.html +++ b/src/app/components/home/workspace/infos/infos.component.html @@ -6,32 +6,6 @@
- - - - Module GSM - - - - -
- Fabricant: - {{infos.manufacturer.identification}} -
-
- Modèle: - {{infos.manufacturer.model}} -
-
- Révision matérielle: - {{infos.manufacturer.hardware_rev}} -
-
- Numéro de série: - {{infos.manufacturer.serial_number}} -
-
-
@@ -41,17 +15,71 @@
- Architecture: + Architecture: {{infos.system.arch}}
- Machine: + Machine: {{infos.system.machine}}
- OS: + OS: {{infos.system.os}} {{infos.system.version}}
+
+ Usage CPU: + {{infos.system.cpu_usage}}% +
+
+ Mémoire totale: + {{infos.system.total_mem}} Mo +
+
+ Mémoire disponible: + {{infos.system.avail_mem}} Mo +
+
+ Mémoire utilisée: + {{infos.system.used_mem}} Mo - {{infos.system.percent_used_mem}}% +
+
+ Disque total: + {{infos.system.total_disk}} Mo +
+
+ Disque libre: + {{infos.system.free_disk}} Mo +
+
+ Disque utilisé: + {{infos.system.used_disk}} Mo - {{infos.system.percent_used_disk}}% +
+
+
+ + + + Module GSM + + + + +
+ Fabricant: + {{infos.manufacturer.identification}} +
+
+ Modèle: + {{infos.manufacturer.model}} +
+
+ Révision matérielle: + {{infos.manufacturer.hardware_rev}} +
+
+ Numéro de série: + {{infos.manufacturer.serial_number}} +

Contrôle

diff --git a/src/app/models/info.model.ts b/src/app/models/info.model.ts index fe949d0..c2fa5ab 100644 --- a/src/app/models/info.model.ts +++ b/src/app/models/info.model.ts @@ -3,6 +3,16 @@ export interface System { machine:string; os:string; version:string; + total_cpu:string; + cpu_usage:string; + total_mem:string; + avail_mem:string; + used_mem:string; + percent_used_mem:string; + total_disk:string; + free_disk:string; + used_disk:string; + percent_used_disk:string; } export interface Manufacturer {