[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Dateien in Bearbeitung



On Mo, Jun 30, 2008 at 06:48:06 +0200, Gerhard Wendebourg wrote:
> gibt es einen Weg, festzustellen, welche Dateien aktuell in Bearbeitung  
> sind / geschrieben werden und durch welche Prozesse?
> 
> Gemeint also nicht die Liste der geoeffneten Dateien, die lsof liefert,  
> sondern hieraus diejenigen, die tatsaechlich aktuell geschrieben werden.
> Es geht darum, den Urhebern mysterioeser Vorgaenge (insbesondere  
> Schreiboperationen) auf die Spur zu kommen, ohne die komplette  
> lsof-Liste durchfloehen zu muessen.

Im Paket laptop-mode-tools befindet sich das Programm lm-profiler:

,----
| lm-profiler is a tool for profiling disk operations. It is  a  part  of
| laptop mode tools and is useful only in relation to rest of laptop mode
| tools. It helps you to detect programs and services that use up  system
| resources  and  that  cause disk activity, and it allows you to disable
| them when laptop mode is active.
`----

Die Ausgabe sieht dann ähnlich der hier aus:

,----
| # lm-profiler 
| Profiling run started.
| Write accesses at 19/600 in lm-profiler run: firefox-bin                    
| Write accesses at 23/600 in lm-profiler run: firefox-bin                    
| Write accesses at 24/600 in lm-profiler run: firefox-bin                    
| Write accesses at 25/600 in lm-profiler run: firefox-bin                    
| 34 seconds elapsed, 566 remaining.
`----

MfG

Dirk


Reply to: