Fuser command
[root@c83-250-88-242 ka]# fuser -a /home
/home: What is the fuser comand? I looked at the man pages. It should see the user id, display unused files, kill processes accessing that file and search IPV4 sockets etc. Could you tell me how to use it find some of the above? |
It's more to do with the apps you are using. "lsof" will give a list of all files used by all applications, in the form:
[filename] [pid] [other.......stuff........] From this you can infer pid's from files in use, fuser does a similar thing but you can find a process by socket too.... read the man page of both. twice. |
Tutti
The 'ls of' command gave me a big list of files. I will write some of them here. profile.d/ protocols rc0.d@ pango/ paper.config secure-mcservusers rpm/ securetty rc1.d@ menu/ lynx-site.cfg enscript.cfg sysconfig/ services rc2.d@ fam.conf oaf/ lftp.conf raidtab shells rc3.d@ gtk-2.0/ sane.d/ ltrace.conf fstab passwd- rc4.d@ menu-methods/ postfix/ mailcap.base hosts group- rc5.d@ bootsplash/ ssh/ mailcap.vga skel/ iproute2/ rc6.d@ bonobo-activation/ gimp/ mime.types rpc rmt@ sysctl.conf gconf/ aliases@ mailcap pwdb.conf shadow termcap gnome-vfs-2.0/ gnome/ issue nsswitch.conf security/ modprobe.preload gnome-vfs-mime-magic gnucash/ updatedb.conf |
What program are you looking for exactly? A handy addon is "grep" eg.
Code:
lsof | grep gnome Code:
tuttle@shangrila:~$ fuser -a /home/tuttle More verbose and with "-m" option: Code:
tuttle@shangrila:~$ fuser -mu /home Code:
tuttle@shangrila:~$ fuser -mv /home |
All times are GMT -5. The time now is 09:41 PM. |