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
f6574db8
Commit
f6574db8
authored
Feb 17, 2011
by
Leigh B Stoller
Browse files
Merge branch 'master' of git-public.flux.utah.edu:/flux/git/emulab-devel
parents
ab3f977b
3b926d6e
Changes
1
Hide whitespace changes
Inline
Side-by-side
db/inuse.in
View file @
f6574db8
...
...
@@ -38,7 +38,7 @@ sub usage() {
}
my
$optlist
=
"
t:p:e:srafFhR
";
my
@columns
=
("
n.node_id
","
pid
","
e
id
","
rsrv_time
","
reserved_pid
");
my
@columns
=
("
n.node_id
","
n.type
","
p
id
","
eid
","
reserved_pid
");
my
%opt
=
();
if
(
!
getopts
(
$optlist
,
\
%opt
))
{
...
...
@@ -101,6 +101,7 @@ my $sortclause = "order by priority";
if
(
$opt
{
s}) {
$sortclause = "order by pid,eid,priority";
} elsif ($opt{r}
)
{
push
@columns
,
"
rsrv_time
";
$sortclause
=
"
order by rsrv_time,priority
";
}
...
...
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