Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
U
unstable
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
PROINFODATA
unstable
Commits
61aa7df5
Commit
61aa7df5
authored
11 years ago
by
Edileuton Henrique de Oliveira
Browse files
Options
Downloads
Patches
Plain Diff
collect: Fix collect time on net-usage inventory.
Signed-off-by:
Edileuton Henrique de Oliveira
<
eho09@c3sl.ufpr.br
>
parent
bcde8c06
No related branches found
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
collect/network-scripts/collect/use/bandwidth-usage.tree
+6
-1
6 additions, 1 deletion
collect/network-scripts/collect/use/bandwidth-usage.tree
with
6 additions
and
1 deletion
collect/network-scripts/collect/use/bandwidth-usage.tree
+
6
−
1
View file @
61aa7df5
...
@@ -85,6 +85,11 @@ function xml_data_generator()
...
@@ -85,6 +85,11 @@ function xml_data_generator()
else
else
INTERVALID
=
$(
cut
-d
" "
-f1
<<<
$line
)
INTERVALID
=
$(
cut
-d
" "
-f1
<<<
$line
)
while
test
$COUNT
-lt
$INTERVALID
-a
$COUNT
-lt
288
;
do
COUNT
=
$((${
COUNT
}
+
1
))
increment_time
done
if
test
$COUNT
-lt
288
;
then
if
test
$COUNT
-lt
288
;
then
xml_print
xml_print
COUNT
=
$((${
COUNT
}
+
1
))
COUNT
=
$((${
COUNT
}
+
1
))
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment