Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
emulab
emulab-devel
Commits
dde47fa2
Commit
dde47fa2
authored
Mar 25, 2009
by
Kevin Atkinson
Browse files
Minor fixes.
parent
0d085f17
Changes
3
Hide whitespace changes
Inline
Side-by-side
node_usage/gather
View file @
dde47fa2
...
...
@@ -31,6 +31,8 @@ use libtestbed;
chdir
"
/usr/testbed/data/node_usage/data
";
$fresh
=
1
unless
-
e
"
gather.state.1
"
&&
"
gather.state.2
";
my
%node_type
;
my
%node_class
;
...
...
@@ -68,7 +70,7 @@ if ($prep) {
local
%last_trans
;
local
%node_state
;
if
(
!
$fresh
&&
-
e
"
gather.state.1
"
)
{
if
(
!
$fresh
)
{
do
"
gather.state.1
";
}
...
...
@@ -111,7 +113,7 @@ if ($results) {
local
$prev
=
0
;
local
$prev_line
=
'';
if
(
$fresh
||
!-
e
"
gather.state.2
"
)
{
if
(
$fresh
)
{
unlink
"
node_usage.raw
";
}
else
{
do
"
gather.state.2
";
...
...
node_usage/publish
View file @
dde47fa2
#!/bin/sh
cp
/usr/testbed/data/node_usage/data/
*
.png
\
/usr/testbed/
devel/kevina/
www/node_usage/
/usr/testbed/www/node_usage/
node_usage/refresh
View file @
dde47fa2
#!/bin/sh
set
-e
cd
/usr/testbed/data/node_usage/scripts
./gather
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment