Download
Getting Started
Members
Projects
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
More
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
Toggle navigation
Bugzilla – Attachment 170750 Details for
Bug 314632
[terminal][local][performance] Workbench shutdown is slow when multiple local terminals are open
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
Terms of Use
|
Copyright Agent
Bash script to determine approximate workbench shutdown time
time-eclipse-shutdown (text/plain), 576 bytes, created by
Mirko Raner
on 2010-06-02 04:10:46 EDT
(
hide
)
Description:
Bash script to determine approximate workbench shutdown time
Filename:
MIME Type:
Creator:
Mirko Raner
Created:
2010-06-02 04:10:46 EDT
Size:
576 bytes
patch
obsolete
>#!/bin/sh ># Bash script to determine approximate Eclipse shutdown time ># (C) 2010 Mirko Raner - Licensed under Eclipse Public License 1.0 ># >if [ `ps|awk '\$1=="'"$PPID"'" {print \$4}'` != "/usr/bin/time" ]; then > /usr/bin/time $0 $* > exit >fi >PID=`lsof -i :$1 | grep eclipse | awk '{print \$2}'` >echo Terminating Eclipse process $PID... >expect -c "spawn telnet localhost $1;\ >expect \"osgi>\"; send \"shutdown\n\"; interact" >/bin/echo -n Shutdown in progress... >while [ `ps|awk '\$1=="'"$PID"'" {print \$4}'|wc -l` -gt 0 ] >do > /bin/echo -n . >done >echo done. >echo Time elapsed:
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 314632
: 170750