Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
D
darshan
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
72
Issues
72
List
Boards
Labels
Milestones
Merge Requests
5
Merge Requests
5
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
darshan
darshan
Commits
e4a20730
Commit
e4a20730
authored
Feb 15, 2016
by
Shane Snyder
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
forgot to add 3 files to darshan-test/2.x
parent
919fe4a9
Changes
3
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3352 additions
and
0 deletions
+3352
-0
darshan-test/2.x/fsstats-merge.pl
darshan-test/2.x/fsstats-merge.pl
+754
-0
darshan-test/2.x/fsstats-runner.bash
darshan-test/2.x/fsstats-runner.bash
+54
-0
darshan-test/2.x/output.txt
darshan-test/2.x/output.txt
+2544
-0
No files found.
darshan-test/2.x/fsstats-merge.pl
0 → 100755
View file @
e4a20730
This diff is collapsed.
Click to expand it.
darshan-test/2.x/fsstats-runner.bash
0 → 100755
View file @
e4a20730
#!/bin/bash
#
# (C) 2010 by Argonne National Laboratory.
# See COPYRIGHT in top-level directory.
#
# usage: fsstats-runner.bash <hostname> <path>
# make this configurable or something...
FSSTATS_PATH
=
/home/harms/darshan/trunk/test
if
[
"
${#}
"
!=
4
]
then
echo
"Error: bad arguments"
exit
1
fi
HOST
=
${
1
}
FS_PATH
=
${
2
}
CHKPNT
=
${
3
}
RESTART
=
${
4
}
# the output file name will be the path that was scanned, but with equals
# signs in place of the slashes
OUT_FILE
=
`
echo
$FS_PATH
|
sed
-e
's/\//=/g'
`
OUT_FILE
=
"
${
OUT_FILE
}
.csv"
# launch remote command
if
[
$RESTART
-eq
1
]
;
then
ssh
-oBatchMode
=
yes
-n
$HOST
"
${
FSSTATS_PATH
}
/fsstats -r
$CHKPNT
-c
$CHKPNT
-o /tmp/pfsstats-
$$
.csv
$FS_PATH
>& /dev/null"
else
ssh
-oBatchMode
=
yes
-n
$HOST
"
${
FSSTATS_PATH
}
/fsstats -c
$CHKPNT
-o /tmp/pfsstats-
$$
.csv
$FS_PATH
>& /dev/null"
fi
if
[
"
${
?
}
"
!=
0
]
then
exit
1
fi
# retrieve output file
scp
-oBatchMode
=
yes
$HOST
:/tmp/pfsstats-
$$
.csv
$OUT_FILE
>
& /dev/null
if
[
"
${
?
}
"
!=
0
]
then
exit
1
fi
# delete file on remote host
ssh
-oBatchMode
=
yes
-n
$HOST
"rm -f /tmp/pfsstats-
$$
.csv >& /dev/null"
if
[
"
${
?
}
"
!=
0
]
then
exit
1
fi
exit
0
darshan-test/2.x/output.txt
0 → 100644
View file @
e4a20730
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
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