Figure 8: grep of truss output files for SVR4
$ grep '/dev' truss.dev.output
open("/dev/zero", O_RDONLY, 01001077514) = 3
xstat(2, "/dev/ticlts", 0x08047DB4) = 0
xstat(2, "/dev/ticots", 0x08047DB4) = 0
xstat(2, "/dev/ticotsord", 0x08047DB4) = 0
xstat(2, "/dev/tcp", 0x08047DB4) = 0
open("/dev/null", O_WRONLY|O_CREAT|O_TRUNC, 0666) = 2
open("/dev/zero", O_RDONLY, 020000552040) = 3
open("/dev/zero", O_RDONLY, 020000552040) = 3
$
$ grep '/dev' truss.ls.output
open("/dev/zero", O_RDONLY, 01001077024) = 3
$
|