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
d4b622f3
Commit
d4b622f3
authored
Apr 15, 2002
by
Kirk Webb
Browse files
Table additions to support slothd/idle collection: node_idlestats, iface_counters.
parent
88f2afaa
Changes
1
Hide whitespace changes
Inline
Side-by-side
sql/database-create.sql
View file @
d4b622f3
...
...
@@ -236,6 +236,20 @@ CREATE TABLE groups (
KEY
unix_gid
(
unix_gid
)
)
TYPE
=
MyISAM
;
#
#
Table
structure
for
table
'iface_counters'
#
CREATE
TABLE
iface_counters
(
node_id
varchar
(
10
)
NOT
NULL
default
''
,
tstamp
datetime
NOT
NULL
default
'0000-00-00 00:00:00'
,
mac
varchar
(
12
)
NOT
NULL
default
'000000000000'
,
ipkts
int
NOT
NULL
default
'0'
,
opkts
int
NOT
NULL
default
'0'
,
PRIMARY
KEY
(
node_id
,
tstamp
,
mac
)
)
TYPE
=
MyISAM
;
#
#
Table
structure
for
table
'images'
#
...
...
@@ -372,6 +386,21 @@ CREATE TABLE next_reserve (
PRIMARY
KEY
(
node_id
)
)
TYPE
=
MyISAM
;
#
#
Table
structure
for
table
'node_idlestats'
#
CREATE
TABLE
node_idlestats
(
node_id
varchar
(
10
)
NOT
NULL
default
''
,
tstamp
datetime
NOT
NULL
default
'0000-00-00 00:00:00'
,
last_tty
datetime
NOT
NULL
default
'0000-00-00 00:00:00'
,
load_1min
float
NOT
NULL
default
'0'
,
load_5min
float
NOT
NULL
default
'0'
,
load_15min
float
NOT
NULL
default
'0'
,
PRIMARY
KEY
(
node_id
,
tstamp
)
)
TYPE
=
MyISAM
;
#
#
Table
structure
for
table
'node_types'
#
...
...
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