Sometimes, I can't unmount my USB drive (ignoring the fact it's not a plug&play device, but that's another topic). In Windows, sometimes it's because Adobe Reader is running the background, but in Linux, I can't find what process is running. I copied "ps ux", and this is what was running when I couldn't unmount:
Code:
USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND
Me 2300 0.0 0.7 4452 992 tty6 Ss 16:31 0:00 -bash
Me 2330 0.0 0.7 4444 904 tty5 Ss+ 16:32 0:00 -bash
Me 2583 0.0 0.6 4444 788 tty4 Ss+ 16:35 0:00 -bash
Me 4792 0.0 0.2 4400 340 ? Ss 16:39 0:00 /bin/sh /usr/bin/startkde
Me 4845 0.0 0.1 4088 248 ? Ss 16:39 0:00 /usr/bin/ssh-agent /usr/bin/dbus-launch --exit-with-session /etc/X11/xinit/Xclients
Me 4850 0.0 0.2 2888 288 ? S 16:39 0:00 /usr/bin/dbus-launch --exit-with-session /etc/X11/xinit/Xclients
Me 4853 0.0 0.1 13256 248 ? Ssl 16:39 0:00 dbus-daemon --fork --print-pid 8 --print-address 6 --session
Me 5031 0.0 1.2 28792 1636 ? Ss 16:39 0:00 kdeinit Running...
Me 5037 0.0 1.0 27940 1316 ? S 16:39 0:00 dcopserver [kdeinit] --nosid
Me 5044 0.0 2.0 29748 2608 ? S 16:39 0:00 klauncher [kdeinit]
Me 5058 0.1 3.3 35704 4220 ? S 16:39 0:22 kded [kdeinit]
Me 5079 0.0 0.7 2572 988 ? S 16:39 0:01 /usr/libexec/gam_server
Me 5369 0.0 2.6 10324 3360 ? S 16:40 0:01 /usr/bin/artsd -F 10 -S 4096 -s 60 -m artsmessage -c drkonqi -l 3 -f
Me 5375 0.0 1.6 29884 2100 ? S 16:40 0:01 kaccess [kdeinit]
Me 5382 0.0 0.1 1584 196 ? S 16:40 0:00 kwrapper ksmserver
Me 5385 0.0 1.8 30060 2360 ? S 16:40 0:00 ksmserver [kdeinit]
Me 5393 0.0 4.2 32028 5408 ? S 16:40 0:12 kwin [kdeinit] -session 1028c1d320b210000116633402200000023990000_1173935950_298307
Me 5431 0.0 12.3 39840 15576 ? S 16:40 0:09 kdesktop [kdeinit]
Me 5501 0.2 5.9 38968 7504 ? S 16:40 0:44 kicker [kdeinit]
Me 5509 0.0 1.9 34468 2492 ? S 16:40 0:01 kgpg
Me 5513 0.0 1.8 29040 2344 ? S 16:40 0:00 kio_file [kdeinit] file /tmp/ksocket-Me/klauncherJGxclc.slave-socket /tmp/ksocket-Me/kdesktopHMYwfa.slave-socket
Me 5519 0.2 2.9 30744 3716 ? S 16:41 0:47 kget -session 1028c1d320b210000116633597200000023990014_1173935944_33661
Me 5521 0.1 4.0 25520 5060 ? S 16:41 0:33 kpager -session 1028c1d320b210000117322874600000025570010_1173935943_913382
Me 5527 0.0 2.1 32028 2656 ? S 16:41 0:02 kscd -session 1028c1d320b210000116650041200000024020017_1173935944_993623
Me 5528 0.0 1.6 59484 2036 ? Sl 16:41 0:01 /usr/libexec/evolution/2.6/evolution-alarm-notify --sm-config-prefix /evolution-alarm-notify-8ElzcR/ --sm-client-id 1028c1d320b210000116936071100000104080015 --screen 0
Me 5542 0.0 2.3 38064 3004 ? S 16:41 0:00 knotes -session 1028c1d320b210000117271770300000024180105_1173935944_328439
Me 5555 0.0 3.0 37008 3856 ? S 16:41 0:02 knotify [kdeinit]
Me 5574 0.0 1.1 6272 1400 ? S 16:41 0:00 /usr/libexec/gconfd-2 12
Me 5577 0.0 0.5 7180 640 ? Ss 16:41 0:00 /usr/libexec/bonobo-activation-server --ac-activate --ior-output-fd=20
Me 5579 0.0 0.5 72848 704 ? Sl 16:41 0:00 /usr/libexec/evolution-data-server-1.6 --oaf-activate-iid=OAFIID:GNOME_Evolution_DataServer_CalFactory:1.2 --oaf-ior-fd=27
Me 5706 0.0 0.3 4836 448 ? Ss 16:50 0:00 SCREEN
Me 5707 0.0 0.6 4580 800 pts/3 Ss+ 16:50 0:00 /bin/bash
Me 7086 0.0 0.4 4832 552 ? Ss 19:38 0:00 SCREEN
Me 7087 0.0 0.7 4580 968 pts/5 Ss+ 19:38 0:00 /bin/bash
Me 7649 0.0 0.5 4832 648 ? Ss 20:38 0:00 SCREEN
Me 7650 0.0 0.9 4580 1200 pts/7 Ss+ 20:38 0:00 /bin/bash
Me 7882 0.0 0.7 4832 916 ? Ss 21:01 0:00 SCREEN
Me 7883 0.0 1.1 4584 1424 pts/9 Ss+ 21:01 0:00 /bin/bash
Me 8013 0.0 9.2 31872 11724 ? S 21:11 0:01 kio_uiserver [kdeinit]
Me 8027 0.0 0.7 4832 924 ? Ss 21:12 0:00 SCREEN
Me 8028 0.0 1.1 4584 1452 pts/8 Ss+ 21:12 0:00 /bin/bash
Me 8583 0.0 0.7 4180 960 tty6 R+ 22:09 0:00 ps ux
One time I found that "less" was running and deleted it, but that didn't seem to help. Any suggestions? I'm sorry I have a lot of processes.