Process Monitor matching for Linux?
Exists a Unix/Linux matching of Process Monitor, whether GUI or CUI?
If it makes a distinction, I'm considering Ubuntu, yet if there is an equal for various other systems (Mac, various other Linux versions like Fedora, etc) after that recognizing any one of those would certainly serve also.
Edit :
Process Monitor is for monitoring system telephone calls (such as documents production or creates), while Process Explorer is for monitoring process standing (which resembles System Monitor). I'm requesting for the previous, not the last. : -)
The console standby for this is top
, yet there are choices like my favored htop
that offer you a little bit even more display screen adaptability and also permit you a couple of even more procedures on the procedures.
A much less interactive sight that is much better for usage in manuscripts would certainly be the ps
program and also all it is loved ones.
Edit : Based on your made clear inquiry, you could keep in mind that strace
takes care of seeing system calls made by an offered process consisting of all read - write procedures and also os function telephone calls. You can trigger it on the command line prior to the program you intend to track or affix to a running process by striking s on a process picked in htop
.
The grandaddy of all process displays is top
, and also several system monitoring devices are called top
. As an example, there is iotop
to see disk I/O, atop
for a number of system sources, powertop
for power intake.
If you desire extra thorough details, it is not tracked by default. To see what a certain process is doing, call strace
on it. As an example, if you are just curious about filesystem accesses :
strace -s9999 -efile command_name # trace a program during its whole execution
strace -s9999 -efile -p1234 # trace a running program with the given PID
strace
specifies to Linux, yet various other systems have a comparable device : truss
on Solaris, ktrace
or dtrace
under *BSD, etc
To see what is taking place to a certain documents or in a certain directory site or directory site tree, make use of the inotify facility.
inotifywait -m .
Again, the center specifies to Linux, yet the majority of various other unices have a comparable system, as an example kqueue under *BSD, and also FAM (initially from SGI today readily available as an API on several systems).
To see all the system calls under Linux, you can make use of the audit subsystem. It is reasonably current and also there is very little literary works on the subject ; look for auditctl
or read the auditctl
. There are a number of instances on this website : tracking file accesses, tracking process execution.