--- On Thu, 9/18/08, Tom London <selinux(a)gmail.com> wrote:
"yum install lsof"
Also, you don't want to run grep with more than one
argument. "grep
/dev/snd/*" is wrong; you want "grep
/dev/snd/". No '*' is
needed.....
tom
--
Tom London
[root@localhost ~]# yum install lsof
Loaded plugins: refresh-packagekit, refresh-updatesd
adobe-linux-i386 | 951 B 00:00
rawhide | 2.4 kB 00:00
primary.sqlite.bz2 | 7.0 MB 00:40
Setting up Install Process
Parsing package install arguments
Resolving Dependencies
--> Running transaction check
---> Package lsof.i386 0:4.80-2.fc10 set to be updated
--> Finished Dependency Resolution
Dependencies Resolved
================================================================================
Package Arch Version Repository Size
================================================================================
Installing:
lsof i386 4.80-2.fc10 rawhide 332 k
Transaction Summary
================================================================================
Install 1 Package(s)
Update 0 Package(s)
Remove 0 Package(s)
Total download size: 332 k
Is this ok [y/N]: y
Downloading Packages:
lsof-4.80-2.fc10.i386.rpm | 332 kB 00:01
Running rpm_check_debug
Running Transaction Test
Finished Transaction Test
Transaction Test Succeeded
Running Transaction
Installing : lsof [1/1]
Installed: lsof.i386 0:4.80-2.fc10
Complete!
[root@localhost ~]# lsof | grep /dev/snd/
lsof: WARNING: can't stat() fuse.gvfs-fuse-daemon file system /home/olivares/.gvfs
Output information may be incomplete.
[root@localhost ~]# lsof | grep /dev/snd
lsof: WARNING: can't stat() fuse.gvfs-fuse-daemon file system /home/olivares/.gvfs
Output information may be incomplete.
[root@localhost ~]# lsof | "grep /dev/snd"
-bash: grep /dev/snd: No such file or directory
lsof: WARNING: can't stat() fuse.gvfs-fuse-daemon file system /home/olivares/.gvfs
Output information may be incomplete.
[root@localhost ~]# lsof | grep "/dev/snd"
lsof: WARNING: can't stat() fuse.gvfs-fuse-daemon file system /home/olivares/.gvfs
Output information may be incomplete.
[root@localhost ~]#
Thanks,
Antonio