mirror of
https://github.com/varun-r-mallya/sysprof.git
synced 2025-12-31 20:36:25 +00:00
netdev: add source for network device information
This source parses the /proc/net/dev file to get basic statistics about network throughput on the system. We still need a specialized Aid and Visualizer so that we can render the counter data in a more useful format.
This commit is contained in:
@ -4,6 +4,13 @@
|
||||
<object class="SysprofCpuAid" id="cpu_aid"/>
|
||||
<object class="SysprofMemoryAid" id="memory_aid"/>
|
||||
<object class="SysprofCallgraphAid" id="callgraph_aid"/>
|
||||
<object class="SysprofAid" id="network_aid">
|
||||
<property name="display-name" translatable="yes">Network</property>
|
||||
<property name="icon-name">preferences-system-network-symbolic</property>
|
||||
<child>
|
||||
<object class="SysprofNetdevSource"/>
|
||||
</child>
|
||||
</object>
|
||||
<object class="SysprofProxyAid" id="mutter_aid">
|
||||
<property name="object-path">/org/gnome/Sysprof3/Profiler</property>
|
||||
<property name="bus-type">session</property>
|
||||
@ -148,6 +155,13 @@
|
||||
<property name="visible">true</property>
|
||||
</object>
|
||||
</child>
|
||||
<child>
|
||||
<object class="SysprofAidIcon">
|
||||
<property name="aid">network_aid</property>
|
||||
<property name="selected">false</property>
|
||||
<property name="visible">true</property>
|
||||
</object>
|
||||
</child>
|
||||
</object>
|
||||
</child>
|
||||
</object>
|
||||
|
||||
Reference in New Issue
Block a user