Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
mkexp
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Package Registry
Operate
Terraform modules
Analyze
Contributor analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
esmenv
mkexp
Commits
e0a24bdd
Commit
e0a24bdd
authored
6 years ago
by
Karl-Hermann Wieners
Browse files
Options
Downloads
Patches
Plain Diff
mkexp: added tool 'duexp' to show disk usage by the given experiment
parent
80fa7b2b
No related branches found
No related tags found
No related merge requests found
Changes
4
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
CHANGES.txt
+1
-0
1 addition, 0 deletions
CHANGES.txt
doc/mkexp.fodt
+42
-31
42 additions, 31 deletions
doc/mkexp.fodt
doc/mkexp.pdf
+0
-0
0 additions, 0 deletions
doc/mkexp.pdf
duexp
+41
-0
41 additions, 0 deletions
duexp
with
84 additions
and
31 deletions
CHANGES.txt
+
1
−
0
View file @
e0a24bdd
...
...
@@ -15,6 +15,7 @@ Global
* Added creation of config dump to mkexp (including backup)
* Changed mkexp namelist formatting to add multi-group identifiers as comment
* Changed merge of process environment ('DEFAULT' section) to be sorted
* Added tool 'duexp' to show disk usage by the given experiment
Release 1.0.0
=============
...
...
This diff is collapsed.
Click to expand it.
doc/mkexp.fodt
+
42
−
31
View file @
e0a24bdd
This diff is collapsed.
Click to expand it.
doc/mkexp.pdf
+
0
−
0
View file @
e0a24bdd
No preview for this file type
This diff is collapsed.
Click to expand it.
duexp
0 → 100755
+
41
−
0
View file @
e0a24bdd
#! /bin/sh
#
# Show disk usage for experiment using config information.
#
# $Id$
#
PROGRAM
=
`
basename
$0
`
BINDIR
=
`
dirname
$0
`
PATH
=
"
$BINDIR
:
$PATH
"
die
()
{
echo
"
$@
"
>
&2
exit
1
}
[
"x
$1
"
=
x
]
&&
die
"Oops: invalid number of parameters
Usage:
$PROGRAM
config_file [key=value...]"
CONFIG
=
$1
shift
eval
`
getexp
-v
"
$CONFIG
"
"
$@
"
||
echo
'
'
exit
$?
`
du
-ch
--time
\
$WORK_DIR
\
$RESTART_DIR
\
$SCRIPT_DIR
\
$LOG_DIR
\
$DATA_DIR
\
$MON_DIR
/
$EXP_ID
\
2> /dev/null |
sed
"
s,
$WORK_DIR
,
\$
WORK_DIR,
s,
$RESTART_DIR
,
\$
RESTART_DIR,
s,
$SCRIPT_DIR
,
\$
SCRIPT_DIR,
s,
$LOG_DIR
,
\$
LOG_DIR,
s,
$DATA_DIR
,
\$
DATA_DIR,
s,
$MON_DIR
/
$EXP_ID
,
\$
MON_DIR/
\$
EXP_ID,
"
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