Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
cta
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Harbor Registry
Model registry
Operate
Environments
Terraform modules
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
dCache
cta
Commits
f3e57679
Commit
f3e57679
authored
20 years ago
by
Benjamin Couturier
Browse files
Options
Downloads
Patches
Plain Diff
#3561 Do not show queued requests when doing showqueues -S
parent
0d22849f
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
vdqm/showqueues.c
+2
-4
2 additions, 4 deletions
vdqm/showqueues.c
with
2 additions
and
4 deletions
vdqm/showqueues.c
+
2
−
4
View file @
f3e57679
...
...
@@ -4,7 +4,7 @@
*/
#ifndef lint
static
char
sccsid
[]
=
"@(#)$RCSfile: showqueues.c,v $ $Revision: 1.2
0
$ $Date: 200
3/11/04 13:24:36
$ CERN IT-PDP/DM Olof Barring"
;
static
char
sccsid
[]
=
"@(#)$RCSfile: showqueues.c,v $ $Revision: 1.2
1
$ $Date: 200
4/05/27 10:14:22
$ CERN IT-PDP/DM Olof Barring"
;
#endif
/* not lint */
/*
...
...
@@ -61,6 +61,7 @@ void shq_build_id_str(uid_t uid, gid_t gid, char *buf, int buf_size);
void
shq_parse_dedication
(
char
*
dedication
,
char
*
reduced_dedication
,
int
buf_size
);
char
server
[
CA_MAXHOSTNAMELEN
+
1
];
int
main
(
int
argc
,
char
*
argv
[])
{
int
rc
,
c
,
last_id
;
...
...
@@ -74,7 +75,6 @@ int main(int argc, char *argv[]) {
char
drv_status
[
10
];
vdqmnw_t
*
nw
=
NULL
;
char
dgn
[
CA_MAXDGNLEN
+
1
];
char
server
[
CA_MAXHOSTNAMELEN
+
1
];
extern
char
*
optarg
;
extern
int
optind
;
int
std
=
0
;
...
...
@@ -261,11 +261,9 @@ void shq_display_standard(struct vdqm_reqlist *reqlist, int give_jid) {
struct
tm
*
tp
;
char
timestr
[
64
]
;
/* Time in its ASCII format */
char
drv_status
[
10
];
char
server
[
CA_MAXHOSTNAMELEN
+
1
];
(
void
)
time
(
&
now
);
server
[
0
]
=
'\0'
;
CLIST_ITERATE_BEGIN
(
reqlist
,
tmp1
)
{
if
(
tmp1
->
drvreq
.
VolReqID
>
0
)
{
char
buf
[
BUF_SIZE
];
...
...
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