Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
I
IdaProServer
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
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
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
Open Source Software
IdaProServer
Commits
9a68e750
Commit
9a68e750
authored
7 years ago
by
jdh8d
Browse files
Options
Downloads
Patches
Plain Diff
deal with cleaning up properly multiple runs from same host
parent
9c65ef05
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
SMP-analyze-remote.sh
+3
-3
3 additions, 3 deletions
SMP-analyze-remote.sh
with
3 additions
and
3 deletions
SMP-analyze-remote.sh
+
3
−
3
View file @
9a68e750
...
...
@@ -8,10 +8,10 @@ if [ -z "$IDA_PRO_SERVER_PORT" ]; then
IDA_PRO_SERVER_PORT
=
22
fi
directory
=
/tmp/
`
hostname
`
directory
=
/tmp/
`
hostname
`
_
$$
# Create unique directory on server
ssh
-p
$IDA_PRO_SERVER_PORT
$IDA_PRO_SERVER_USER
@
$IDA_PRO_SERVER_HOST
mkdir
$directory
ssh
-p
$IDA_PRO_SERVER_PORT
$IDA_PRO_SERVER_USER
@
$IDA_PRO_SERVER_HOST
mkdir
-p
$directory
echo
"--DEBUG---------"
pwd
...
...
@@ -73,4 +73,4 @@ copyAnswerStopTime=`date +%s`
#echo "`hostname`,$copyTime,$waitTime,$executeTime,$copyAnswerTime" >> /tmp/`hostname`-results.txt
# Cleanup
#
ssh -p $IDA_PRO_SERVER_PORT $IDA_PRO_SERVER_USER@$IDA_PRO_SERVER_HOST rm -rf $directory
ssh
-p
$IDA_PRO_SERVER_PORT
$IDA_PRO_SERVER_USER
@
$IDA_PRO_SERVER_HOST
rm
-rf
$directory
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