This file is indexed.

/usr/lib/python3/dist-packages/glances/outputs/static/js/components/plugin-gpu/view.html is in glances 2.11.1-3.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
<section id="gpu" class="plugin">
    <div class="gpu-name title">
        {{ vm.name }}
    </div>
    <div class="table">
        <div class="table-row" ng-if="arguments.meangpu || vm.gpus.length === 1">
            <div class="table-cell text-left">proc:</div>
            <div class="table-cell" ng-class="vm.getMeanDecoration('proc')" ng-if="vm.mean.proc">{{ vm.mean.proc |
                number : 0 }}%
            </div>
            <div class="table-cell" ng-if="!vm.mean.proc">N/A</div>
        </div>
        <div class="table-row" ng-if="arguments.meangpu || vm.gpus.length === 1">
            <div class="table-cell text-left">mem:</div>
            <div class="table-cell" ng-class="vm.getMeanDecoration('mem')" ng-if="vm.mean.mem">{{ vm.mean.mem | number :
                0 }}%
            </div>
            <div class="table-cell" ng-if="!vm.mean.mem">N/A</div>
        </div>
        <div class="table-row" ng-if="!arguments.meangpu && vm.gpus.length > 1" ng-repeat="gpu in vm.gpus">
            <div class="table-cell text-left">
                {{ gpu.gpu_id }}:
                <span ng-class="vm.getDecoration(gpu.gpu_id, 'proc')"
                      ng-if="gpu.proc">{{ gpu.proc | number : 0 }}%</span>
                <span ng-if="!gpu.proc">N/A</span>
                mem:
                <span ng-class="vm.getDecoration(gpu.gpu_id, 'mem')" ng-if="gpu.mem">{{ gpu.mem | number : 0 }}%</span>
                <span ng-if="!gpu.mem">N/A</span>
            </div>
        </div>
    </div>
</section>