1 These are examples of the results after running the sh_who.d script.
3 This script shows which UIDs and PIDs are running shell scripts, and how
4 active they are. It measures the number of lines executed according to
5 the line probe - which is a useful, but rough measure of shell activity.
7 Here it runs as a script executes three times.
10 Tracing... Hit Ctrl-C to end.
13 13663 0 9 ./func_abc.sh
14 13667 0 9 ./func_abc.sh
15 13671 0 9 ./func_abc.sh
17 We see func_abc.sh ran three seperate times, each with nine lines of shell
21 Here we trace an instance of starting Mozilla Firefox.
24 Tracing... Hit Ctrl-C to end.
36 13693 100 1 /usr/lib/firefox/run-mozilla.sh
37 13694 100 1 /usr/lib/firefox/run-mozilla.sh
38 13695 100 1 /usr/lib/firefox/run-mozilla.sh
39 13692 100 55 /usr/lib/firefox/run-mozilla.sh
42 Firefox itself (PID 13677) ran 75 lines of code. There are also instances of
43 firefox running a single line of code with a different PID each time. These
44 are probably calls to subshells. Use the sh provider to confirm.