[an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] (none) [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] (none) [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive]
 
[an error occurred while processing this directive] [an error occurred while processing this directive]
Skåne Sjælland Linux User Group - http://www.sslug.dk Home   Subscribe   Mail Archive   Forum   Calendar   Search
MhonArc Date: [Date Prev] [Date Index] [Date Next]   Thread: [Date Prev] [Thread Index] [Date Next]   MhonArc
 

Re: [MISC] Tip: find processen, der bruger et givent dir



On Tue, Apr 30, 2002 at 09:43:58AM +0200, Peter Makholm wrote:
> > Altså også lige tilføje /proc/*/fd til din ls?
> # lsof | awk '{ print $9, $2 }' | grep "^/usr/local" | cut -d\  -f2 | xargs kill -9
> (lsof er da portabelt ikke?)

<SNIP man lsof>
       Lsof revision 4.57 lists information about files opened by processes for  the
       following UNIX dialects:

            AIX 4.3.[23], 5L, and 5.1
            Apple Darwin 1.[23] for Power Macintosh systems
            BSDI BSD/OS 4.1 for Intel-based systems
            DEC OSF/1, Digital UNIX, Tru64 UNIX 4.0, and 5.[01]
            FreeBSD 4.[23] and 5.0 for Intel-based systems
            HP-UX 11.00 and 11.11
            Linux 2.1.72 and above for Intel-based systems
            NetBSD 1.5 for Alpha, Intel, and SPARC-based systems
            NEXTSTEP 3.[13] for NEXTSTEP architectures
            OpenBSD 2.[89] for Intel-based systems
            OpenStep 4.x
            SCO OpenServer Release 5.0.[45] for Intel-based systems
            SCO UnixWare 7.1.1 for Intel-based systems
            Sequent PTX 4.4[.46], 4.5[.1], and 4.6[.1] for Sequent systems
            Solaris 2.6, 7, 8, and 9 BETA
</SNIP>
Rimeligt portabelt.

-- 
Best Regards
Emil S. Hansen - sslug@sslug - ESH14-DK
UNIX Administrator, Berlingske IT - www.bit.dk
PGP: 109375FA/ABEB 1EFA A764 529E 82B5  0943 AD3B 1FC2 1093 75FA

"Let's just be honest, and admit that it wasn't designed." -
Linus Torvalds on Linux.



 
Home   Subscribe   Mail Archive   Index   Calendar   Search

 
 
Questions about the web-pages to <www_admin>. Last modified 2005-08-10, 19:28 CEST [an error occurred while processing this directive]
This page is maintained by [an error occurred while processing this directive]MHonArc [an error occurred while processing this directive] # [an error occurred while processing this directive] *