Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.sys.mac.system > #68293 > unrolled thread

Hidden applications running?

Started byhenry999@eircom.net (Henry)
First post2015-01-12 08:28 +0200
Last post2015-01-13 11:40 +1300
Articles 20 on this page of 22 — 9 participants

Back to article view | Back to comp.sys.mac.system


Contents

  Hidden applications running? henry999@eircom.net (Henry) - 2015-01-12 08:28 +0200
    Re: Hidden applications running? Alan Baker <alangbaker@telus.net> - 2015-01-11 23:59 -0800
    Re: Hidden applications running? Huge <Huge@nowhere.much.invalid> - 2015-01-12 12:15 +0000
      Re: Hidden applications running? henry999@eircom.net (Henry) - 2015-01-12 18:51 +0200
    Re: Hidden applications running? D Finnigan <dog_cow@macgui.com> - 2015-01-12 13:42 +0000
    Re: Hidden applications running? Jolly Roger <jollyroger@pobox.com> - 2015-01-12 13:46 +0000
      Re: Hidden applications running? Jolly Roger <jollyroger@pobox.com> - 2015-01-12 13:49 +0000
        Re: Hidden applications running? henry999@eircom.net (Henry) - 2015-01-12 18:51 +0200
          Re: Hidden applications running? Jolly Roger <jollyroger@pobox.com> - 2015-01-12 17:14 +0000
            Re: Hidden applications running? Jolly Roger <jollyroger@pobox.com> - 2015-01-12 17:15 +0000
              Re: Hidden applications running? JF Mezei <jfmezei.spamnot@vaxination.ca> - 2015-01-12 13:21 -0500
            Re: Hidden applications running? henry999@eircom.net (Henry) - 2015-01-13 06:34 +0200
              Re: Hidden applications running? Alan Baker <alangbaker@telus.net> - 2015-01-12 20:42 -0800
                Re: Hidden applications running? henry999@eircom.net (Henry) - 2015-01-13 11:16 +0200
              Re: Hidden applications running? Jolly Roger <jollyroger@pobox.com> - 2015-01-13 16:36 +0000
    Re: Hidden applications running? Aldo Raine <apache@scalpem.net> - 2015-01-12 10:01 -0500
    Re: Hidden applications running? Doc O'Leary  <droleary@2usenet2014.subsume.com> - 2015-01-12 15:38 +0000
      Re: Hidden applications running? JF Mezei <jfmezei.spamnot@vaxination.ca> - 2015-01-12 13:18 -0500
        Re: Hidden applications running? Jolly Roger <jollyroger@pobox.com> - 2015-01-12 18:41 +0000
          Re: Hidden applications running? dempson@actrix.gen.nz (David Empson) - 2015-01-13 09:46 +1300
            Re: Hidden applications running? Jolly Roger <jollyroger@pobox.com> - 2015-01-12 21:55 +0000
              Re: Hidden applications running? dempson@actrix.gen.nz (David Empson) - 2015-01-13 11:40 +1300

Page 1 of 2  [1] 2  Next page →


#68293 — Hidden applications running?

Fromhenry999@eircom.net (Henry)
Date2015-01-12 08:28 +0200
SubjectHidden applications running?
Message-ID<1ly4mwh.1w5xtvv1naxe92N%henry999@eircom.net>
My iMac (running Yosemite 10.10.1) has an external USB 3 HD named No. 2
connected to it. When I try to unmount the external drive, I get an
error message saying 'The disk "No. 2" wasn't ejected because one or
more programs may be using it.'

However, as far as I can see, there is nothing open except the Finder.

How can I find out what hidden program is causing this? Using Activity
Monitor or Console, somehow?

Thanks in advance.

Henry 

[toc] | [next] | [standalone]


#68294

FromAlan Baker <alangbaker@telus.net>
Date2015-01-11 23:59 -0800
Message-ID<m8vut1$bso$1@news.datemas.de>
In reply to#68293
On 2015-01-12 06:28:02 +0000, Henry said:

> My iMac (running Yosemite 10.10.1) has an external USB 3 HD named No. 2
> connected to it. When I try to unmount the external drive, I get an
> error message saying 'The disk "No. 2" wasn't ejected because one or
> more programs may be using it.'
> 
> However, as far as I can see, there is nothing open except the Finder.
> 
> How can I find out what hidden program is causing this? Using Activity
> Monitor or Console, somehow?
> 
> Thanks in advance.
> 
> Henry

You should be able to use Terminal and the "fs_usage" command to see 
what files are still open on the disk in question.

[toc] | [prev] | [next] | [standalone]


#68295

FromHuge <Huge@nowhere.much.invalid>
Date2015-01-12 12:15 +0000
Message-ID<chhs7dFq1vjU3@mid.individual.net>
In reply to#68293
On 2015-01-12, Henry <henry999@eircom.net> wrote:
> My iMac (running Yosemite 10.10.1) has an external USB 3 HD named No. 2
> connected to it. When I try to unmount the external drive, I get an
> error message saying 'The disk "No. 2" wasn't ejected because one or
> more programs may be using it.'
>
> However, as far as I can see, there is nothing open except the Finder.

I suspect you just answered your own question.


-- 
Today is Boomtime, the 12th day of Chaos in the YOLD 3181
I don't have an attitude problem.  If you have a problem with my attitude,
                    that's your problem.

[toc] | [prev] | [next] | [standalone]


#68306

Fromhenry999@eircom.net (Henry)
Date2015-01-12 18:51 +0200
Message-ID<1ly5g19.1e29z171jrcou8N%henry999@eircom.net>
In reply to#68295
Huge <Huge@nowhere.much.invalid> wrote:

> On 2015-01-12, Henry <henry999@eircom.net> wrote:
> > My iMac (running Yosemite 10.10.1) has an external USB 3 HD named No. 2
> > connected to it. When I try to unmount the external drive, I get an
> > error message saying 'The disk "No. 2" wasn't ejected because one or
> > more programs may be using it.'
> >
> > However, as far as I can see, there is nothing open except the Finder.
> 
> I suspect you just answered your own question.

Erm ... no, since all system files are on the internal HD.

[toc] | [prev] | [next] | [standalone]


#68296

FromD Finnigan <dog_cow@macgui.com>
Date2015-01-12 13:42 +0000
Message-ID<dog_cow-1421070200@macgui.com>
In reply to#68293
Henry wrote:
> My iMac (running Yosemite 10.10.1) has an external USB 3 HD named No. 2
> connected to it. When I try to unmount the external drive, I get an
> error message saying 'The disk "No. 2" wasn't ejected because one or
> more programs may be using it.'
> 
> However, as far as I can see, there is nothing open except the Finder.

QuickLook can sometimes keep files open for some time. If you want to eject
the volume NOW, try doing Command-Option-Escape and restart the Finder.

-- 
]DF$
Apple II Book: http://macgui.com/newa2guide/
Usenet: http://macgui.com/usenet/  <-- get posts by email!
Apple II Web & Blog hosting: http://a2hq.com/

[toc] | [prev] | [next] | [standalone]


#68297

FromJolly Roger <jollyroger@pobox.com>
Date2015-01-12 13:46 +0000
Message-ID<chi1iaFrhnhU3@mid.individual.net>
In reply to#68293
On 2015-01-12, Henry <henry999@eircom.net> wrote:
> My iMac (running Yosemite 10.10.1) has an external USB 3 HD named No. 2
> connected to it. When I try to unmount the external drive, I get an
> error message saying 'The disk "No. 2" wasn't ejected because one or
> more programs may be using it.'
>
> However, as far as I can see, there is nothing open except the Finder.
>
> How can I find out what hidden program is causing this? Using Activity
> Monitor or Console, somehow?

Enter this command (where namehere is the name of the volume) in a
terminal window:

lsof /Volumes/namehere

(For instance: lsof /Volumes/2)

You should get a listing of all files that are open on the volume in
question, showing which applications have the files open.

-- 
E-mail sent to this address may be devoured by my ravenous SPAM filter.
I often ignore posts from Google. Use a real news client instead.

JR

[toc] | [prev] | [next] | [standalone]


#68298

FromJolly Roger <jollyroger@pobox.com>
Date2015-01-12 13:49 +0000
Message-ID<chi1nhFrhnhU4@mid.individual.net>
In reply to#68297
On 2015-01-12, Jolly Roger <jollyroger@pobox.com> wrote:
> On 2015-01-12, Henry <henry999@eircom.net> wrote:
>> My iMac (running Yosemite 10.10.1) has an external USB 3 HD named No. 2
>> connected to it. When I try to unmount the external drive, I get an
>> error message saying 'The disk "No. 2" wasn't ejected because one or
>> more programs may be using it.'
>>
>> However, as far as I can see, there is nothing open except the Finder.
>>
>> How can I find out what hidden program is causing this? Using Activity
>> Monitor or Console, somehow?
>
> Enter this command (where namehere is the name of the volume) in a
> terminal window:
>
> lsof /Volumes/namehere
>
> (For instance: lsof /Volumes/2)

Oops, I misread. For your example above it would be:

lsof "/Volumes/No. 2"

(You'll need to use quotes as shown above since the volume name contains
spaces.)

-- 
E-mail sent to this address may be devoured by my ravenous SPAM filter.
I often ignore posts from Google. Use a real news client instead.

JR

[toc] | [prev] | [next] | [standalone]


#68307

Fromhenry999@eircom.net (Henry)
Date2015-01-12 18:51 +0200
Message-ID<1ly5gag.vytnhv1igvrueN%henry999@eircom.net>
In reply to#68298
Jolly Roger <jollyroger@pobox.com> wrote:

> On 2015-01-12, Jolly Roger <jollyroger@pobox.com> wrote:
> > On 2015-01-12, Henry <henry999@eircom.net> wrote:
> >> My iMac (running Yosemite 10.10.1) has an external USB 3 HD named No. 2
> >> connected to it. When I try to unmount the external drive, I get an
> >> error message saying 'The disk "No. 2" wasn't ejected because one or
> >> more programs may be using it.'
> >>
> >> However, as far as I can see, there is nothing open except the Finder.
> >>
> >> How can I find out what hidden program is causing this? Using Activity
> >> Monitor or Console, somehow?
> >
> > Enter this command (where namehere is the name of the volume) in a
> > terminal window:
> >
> > lsof /Volumes/namehere
> >
> > (For instance: lsof /Volumes/2)
> 
> Oops, I misread. For your example above it would be:
> 
> lsof "/Volumes/No. 2"
> 
> (You'll need to use quotes as shown above since the volume name contains
> spaces.)

Thanks a lot. That does it. Although (as I figured out) you meant

lsof /Volumes/"No. 2"

cheers,

Henry

[toc] | [prev] | [next] | [standalone]


#68308

FromJolly Roger <jollyroger@pobox.com>
Date2015-01-12 17:14 +0000
Message-ID<chidnnFu1h3U2@mid.individual.net>
In reply to#68307
On 2015-01-12, Henry <henry999@eircom.net> wrote:
> Jolly Roger <jollyroger@pobox.com> wrote:
>
>> > Enter this command (where namehere is the name of the volume) in a
>> > terminal window:
>> >
>> > lsof /Volumes/namehere
>> >
>> > (For instance: lsof /Volumes/2)
>> 
>> Oops, I misread. For your example above it would be:
>> 
>> lsof "/Volumes/No. 2"
>> 
>> (You'll need to use quotes as shown above since the volume name contains
>> spaces.)
>
> Thanks a lot. That does it. Although (as I figured out) you meant
>
> lsof /Volumes/"No. 2"

No, I meant "/Volumes/No. 2". You should enclose the entire pat in
quotes as a best practice.

So what applications showed up in the listing? Don't leave us wondering!
: )

-- 
E-mail sent to this address may be devoured by my ravenous SPAM filter.
I often ignore posts from Google. Use a real news client instead.

JR

[toc] | [prev] | [next] | [standalone]


#68309

FromJolly Roger <jollyroger@pobox.com>
Date2015-01-12 17:15 +0000
Message-ID<chidp3Fu1h3U3@mid.individual.net>
In reply to#68308
On 2015-01-12, Jolly Roger <jollyroger@pobox.com> wrote:
> On 2015-01-12, Henry <henry999@eircom.net> wrote:
>> Jolly Roger <jollyroger@pobox.com> wrote:
>>
>>> > Enter this command (where namehere is the name of the volume) in a
>>> > terminal window:
>>> >
>>> > lsof /Volumes/namehere
>>> >
>>> > (For instance: lsof /Volumes/2)
>>> 
>>> Oops, I misread. For your example above it would be:
>>> 
>>> lsof "/Volumes/No. 2"
>>> 
>>> (You'll need to use quotes as shown above since the volume name contains
>>> spaces.)
>>
>> Thanks a lot. That does it. Although (as I figured out) you meant
>>
>> lsof /Volumes/"No. 2"
>
> No, I meant "/Volumes/No. 2". You should enclose the entire pat in
> quotes as a best practice.

"path"  : )

-- 
E-mail sent to this address may be devoured by my ravenous SPAM filter.
I often ignore posts from Google. Use a real news client instead.

JR

[toc] | [prev] | [next] | [standalone]


#68311

FromJF Mezei <jfmezei.spamnot@vaxination.ca>
Date2015-01-12 13:21 -0500
Message-ID<54b410ae$0$41706$c3e8da3$5d8fb80f@news.astraweb.com>
In reply to#68309
>> No, I meant "/Volumes/No. 2". You should enclose the entire pat in
>> quotes as a best practice.


Another way:

lsof /Volumes/No.\ 2

(backslash is an escape character that lets you enter special characters)


another way:

lsof /Volumes/No.<tab> and let the shell expand the path name for you
with the required escape characters.

[toc] | [prev] | [next] | [standalone]


#68331

Fromhenry999@eircom.net (Henry)
Date2015-01-13 06:34 +0200
Message-ID<1ly6cf0.1b8mwz4il2s85N%henry999@eircom.net>
In reply to#68308
Jolly Roger <jollyroger@pobox.com> wrote:


> No, I meant "/Volumes/No. 2". You should enclose the entire path in
> quotes as a best practice.


Well, that's funny, then, because

lsof"/Volumes/No. 2" returned

-bash: lsof/Volumes/No. 2: No such file or directory

but

lsof /Volumes/"No. 2" worked.


> 
> So what applications showed up in the listing? Don't leave us wondering!
> : )

And it appears the culprit is ...

DGAgent  73873 Henry  txt    REG    1,7   398588 27200 /Volumes/No. 2/
Drive Genius
3.app/Contents/Frameworks/Sparkle.framework/Versions/A/Sparkle


cheers,

Henry

[toc] | [prev] | [next] | [standalone]


#68332

FromAlan Baker <alangbaker@telus.net>
Date2015-01-12 20:42 -0800
Message-ID<m927of$9jb$1@news.datemas.de>
In reply to#68331
On 2015-01-13 04:34:52 +0000, Henry said:

> Jolly Roger <jollyroger@pobox.com> wrote:
> 
> 
>> No, I meant "/Volumes/No. 2". You should enclose the entire path in
>> quotes as a best practice.
> 
> 
> Well, that's funny, then, because
> 
> lsof"/Volumes/No. 2" returned
     ^
     |


No space.


> 
> -bash: lsof/Volumes/No. 2: No such file or directory
> 
> but
> 
> lsof /Volumes/"No. 2" worked.
> 
> 
>> 
>> So what applications showed up in the listing? Don't leave us wondering!
>> : )
> 
> And it appears the culprit is ...
> 
> DGAgent  73873 Henry  txt    REG    1,7   398588 27200 /Volumes/No. 2/
> Drive Genius
> 3.app/Contents/Frameworks/Sparkle.framework/Versions/A/Sparkle
> 
> 
> cheers,
> 
> Henry

[toc] | [prev] | [next] | [standalone]


#68340

Fromhenry999@eircom.net (Henry)
Date2015-01-13 11:16 +0200
Message-ID<1ly6pxt.14rlgv81560pieN%henry999@eircom.net>
In reply to#68332
Alan Baker <alangbaker@telus.net> wrote:

> On 2015-01-13 04:34:52 +0000, Henry said:
> 
> > Jolly Roger <jollyroger@pobox.com> wrote:
> > 
> > 
> >> No, I meant "/Volumes/No. 2". You should enclose the entire path in
> >> quotes as a best practice.
> > 
> > 
> > Well, that's funny, then, because
> > 
> > lsof"/Volumes/No. 2" returned
>      ^
>      |
> 
> 
> No space.



Guilty.     :-)     The dimming of the eyes.

H.

[toc] | [prev] | [next] | [standalone]


#68349

FromJolly Roger <jollyroger@pobox.com>
Date2015-01-13 16:36 +0000
Message-ID<chkvt4FkuqkU2@mid.individual.net>
In reply to#68331
On 2015-01-13, Henry <henry999@eircom.net> wrote:
> Jolly Roger <jollyroger@pobox.com> wrote:
>
>> No, I meant "/Volumes/No. 2". You should enclose the entire path in
>> quotes as a best practice.
>
> Well, that's funny, then, because
>
> lsof"/Volumes/No. 2" returned
>
> -bash: lsof/Volumes/No. 2: No such file or directory

Like Alan said, you missed a space.

>> So what applications showed up in the listing? Don't leave us wondering!
>> : )
>
> And it appears the culprit is ...
>
> DGAgent  73873 Henry  txt    REG    1,7   398588 27200 /Volumes/No. 2/
> Drive Genius
> 3.app/Contents/Frameworks/Sparkle.framework/Versions/A/Sparkle

That appears to be part of DriveGenius, a $99 utility that claims to
speed up your Mac by defragmenting (which is unnecessary since Mac OS X
has built-in on-the-fly fragmentation and optimization), large file
search (which can be had for free with utilities like GrandPerspective),
finding duplicates (which can also be had for free with various
utilities) and so on. If it's causing problems for you, there are
alternative free solutions that do work well.

-- 
E-mail sent to this address may be devoured by my ravenous SPAM filter.
I often ignore posts from Google. Use a real news client instead.

JR

[toc] | [prev] | [next] | [standalone]


#68299

FromAldo Raine <apache@scalpem.net>
Date2015-01-12 10:01 -0500
Message-ID<m90nk7$b29$1@news.albasani.net>
In reply to#68293
On 1/12/15, 1:28 AM, Henry wrote:
> My iMac (running Yosemite 10.10.1) has an external USB 3 HD named No. 2
> connected to it. When I try to unmount the external drive, I get an
> error message saying 'The disk "No. 2" wasn't ejected because one or
> more programs may be using it.'
>
> However, as far as I can see, there is nothing open except the Finder.
>
> How can I find out what hidden program is causing this? Using Activity
> Monitor or Console, somehow?
>
> Thanks in advance.
>
> Henry
>

I often get the same error message trying to unmount the encrypted 
sparsebundle with all my confidential data on my fully updatee iMac. If 
I open then close Pages (Ver. 5.5.2), it takes care of it. I should add 
that I use Pages a lot and open and close many docs during the day.

-- 
"My name is Lieutenant Aldo Raine and I'm putting together a special 
team, and I need me eight soldiers."

[toc] | [prev] | [next] | [standalone]


#68301

FromDoc O'Leary <droleary@2usenet2014.subsume.com>
Date2015-01-12 15:38 +0000
Message-ID<m90ppn$nk5$1@dont-email.me>
In reply to#68293
For your reference, records indicate that 
henry999@eircom.net (Henry) wrote:

> My iMac (running Yosemite 10.10.1) has an external USB 3 HD named No. 2
> connected to it. When I try to unmount the external drive, I get an
> error message saying 'The disk "No. 2" wasn't ejected because one or
> more programs may be using it.'
> 
> However, as far as I can see, there is nothing open except the Finder.
> 
> How can I find out what hidden program is causing this? Using Activity
> Monitor or Console, somehow?

The Terminal command “lsof” is most often used to do this.  To search
for that specific disk try something like:

lsof | grep "No. 2"

-- 
"Also . . . I can kill you with my brain."
River Tam, Trash, Firefly

[toc] | [prev] | [next] | [standalone]


#68310

FromJF Mezei <jfmezei.spamnot@vaxination.ca>
Date2015-01-12 13:18 -0500
Message-ID<54b4100c$0$41706$c3e8da3$5d8fb80f@news.astraweb.com>
In reply to#68301
On 15-01-12 10:38, Doc O'Leary wrote:

> lsof | grep "No. 2"


Shouldn't a normal user have to use sudo for this command to see other
people/processes files which are in use ?  or does lsof elevate its own
privs so that sudo is not necessary ?

[toc] | [prev] | [next] | [standalone]


#68312

FromJolly Roger <jollyroger@pobox.com>
Date2015-01-12 18:41 +0000
Message-ID<chiiqbFu1h3U4@mid.individual.net>
In reply to#68310
On 2015-01-12, JF Mezei <jfmezei.spamnot@vaxination.ca> wrote:
> On 15-01-12 10:38, Doc O'Leary wrote:
>
>> lsof | grep "No. 2"
>
>
> Shouldn't a normal user have to use sudo for this command to see other
> people/processes files which are in use ?  or does lsof elevate its own
> privs so that sudo is not necessary ?

Yes, but it's doubtful that another user account has files open on the
OP's removable drive.

-- 
E-mail sent to this address may be devoured by my ravenous SPAM filter.
I often ignore posts from Google. Use a real news client instead.

JR

[toc] | [prev] | [next] | [standalone]


#68319

Fromdempson@actrix.gen.nz (David Empson)
Date2015-01-13 09:46 +1300
Message-ID<1ly6llt.11298qe1nf36fsN%dempson@actrix.gen.nz>
In reply to#68312
Jolly Roger <jollyroger@pobox.com> wrote:

> On 2015-01-12, JF Mezei <jfmezei.spamnot@vaxination.ca> wrote:
> > On 15-01-12 10:38, Doc O'Leary wrote:
> >
> >> lsof | grep "No. 2"
> >
> >
> > Shouldn't a normal user have to use sudo for this command to see other
> > people/processes files which are in use ?  or does lsof elevate its own
> > privs so that sudo is not necessary ?
> 
> Yes, but it's doubtful that another user account has files open on the
> OP's removable drive.

It is possible that a system process is the culprit, e.g. Spotlight
indexing not releasing the drive quickly enough when the user requests
the eject.

If lsof "/Volumes/No. 2" doesn't reveal anything, try

sudo lsof "/Volumes/No. 2"

(assuming you are running as a user with admin privileges).

-- 
David Empson
dempson@actrix.gen.nz

[toc] | [prev] | [next] | [standalone]


Page 1 of 2  [1] 2  Next page →

Back to top | Article view | comp.sys.mac.system


csiph-web