Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
O
OpenXG-RAN
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
zzha zzha
OpenXG-RAN
Commits
c2d8dd96
Commit
c2d8dd96
authored
Jan 14, 2016
by
Rohit Gupta
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update for killing zombie processes
parent
a2b83444
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
1 deletion
+7
-1
cmake_targets/autotests/run_exec_lte-softmodem_tests.py
cmake_targets/autotests/run_exec_lte-softmodem_tests.py
+7
-1
No files found.
cmake_targets/autotests/run_exec_lte-softmodem_tests.py
View file @
c2d8dd96
...
...
@@ -1099,7 +1099,7 @@ except KeyError:
sys
.
exit
(
1
)
print
"Killing zombie ssh sessions from earlier sessions..."
cmd
=
'ps aux |grep
\"
/usr/bin/ssh -q -l guptar
\"
|tr -s
\"
\"
:|cut -f 2 -d :|xargs kill -9
\'
'
cmd
=
'ps aux |grep
\"
/usr/bin/ssh -q -l guptar
\"
|tr -s
\"
\"
:|cut -f 2 -d :|xargs kill -9 '
os
.
system
(
cmd
)
...
...
@@ -1114,6 +1114,12 @@ if user=='':
user
=
getpass
.
getuser
()
if
pw
==
''
:
pw
=
getpass
.
getpass
()
print
"Killing zombie ssh sessions from earlier sessions..."
cmd
=
'ps aux |grep
\"
/usr/bin/ssh -q -l guptar
\"
|tr -s
\"
\"
:|cut -f 2 -d :|xargs kill -9 '
cmd
=
cmd
+
'; ps aux |grep
\"
/usr/bin/ssh -q -l '
+
user
+
'
\"
|tr -s
\"
\"
:|cut -f 2 -d :|xargs kill -9 '
os
.
system
(
cmd
)
print
"host = "
+
host
print
"user = "
+
user
xmlInputFile
=
os
.
environ
.
get
(
'OPENAIR_DIR'
)
+
"/cmake_targets/autotests/test_case_list.xml"
...
...
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