nowsecure / fsmon

monitor filesystem on iOS / OS X / Android / FirefoxOS / Linux

Home Page:https://www.nowsecure.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

fsmon vs fs_usage

alvarofe opened this issue · comments

It's true that the output from fsmon is nicer than fs_usage but it doesn't lose any event.


$ sudo fs_usage 43
18:28:12.852614  write             F=14   B=0x4f                                                                                        0.000005   syslogd.2809400
18:28:12.852748  write             F=14   B=0x78                                                                                        0.000009   syslogd.2808983
18:28:12.852838  write             F=14   B=0x59                                                                                        0.000009   syslogd.2808983
18:28:12.854518  write             F=14   B=0x63                                                                                        0.000011   syslogd.2809400
18:28:22.015680  lseek             F=7    O=0x00000000         <UNKNOWN>                                                                0.000002   syslogd.2809428
18:28:22.017050  write             F=7    B=0x8                                                                                         0.001370   syslogd.2809428
18:28:22.017079  lseek             F=12   O=0x000aecfc         <UNKNOWN>                                                                0.000003   syslogd.2809428
18:28:22.018387  write             F=12   B=0x9a                                                                                        0.001307   syslogd.2809428
18:28:22.018390  lseek             F=12   O=0x000aec68         <UNKNOWN>                                                                0.000001   syslogd.2809428
18:28:22.018393  write             F=12   B=0x8                                                                                         0.000003   syslogd.2809428
18:28:22.018394  lseek             F=12   O=0x00000025         <UNKNOWN>                                                                0.000001   syslogd.2809428
18:28:22.019752  write             F=12   B=0x8                                                                                         0.001359   syslogd.2809428
18:28:22.019756  lseek             F=12   O=0x000aed96         <UNKNOWN>                                                                0.000002   syslogd.2809428
18:28:22.021179  write             F=8    B=0x84

From fsmon I had to change different backends any of them were working except fsevapi but is giving the following output, quite hard to make head or tails from it.

captura de pantalla 2016-09-15 a las 18 29 17

The process that I am monitoring with the purpose to explore the tool is syslogd. I wouldn't mind to look at this issue and working on the output, but busy these days. Will try in the following weeks

fsusage uses the fsevapi afaik, thats because output is the same in both ;)

each filesystem backend supports different events.

the output i get from fsmon -b fsevapi is exactly like the one in others, so i cant reproduce this issue

On 15 Sep 2016, at 18:34, Álvaro Felipe Melchor notifications@github.com wrote:

It's true that the output from fsmon is nicer than fs_usage but it doesn't lose any event.

$ sudo fs_usage 43
18:28:12.852614 write F=14 B=0x4f 0.000005 syslogd.2809400
18:28:12.852748 write F=14 B=0x78 0.000009 syslogd.2808983
18:28:12.852838 write F=14 B=0x59 0.000009 syslogd.2808983
18:28:12.854518 write F=14 B=0x63 0.000011 syslogd.2809400
18:28:22.015680 lseek F=7 O=0x00000000 0.000002 syslogd.2809428
18:28:22.017050 write F=7 B=0x8 0.001370 syslogd.2809428
18:28:22.017079 lseek F=12 O=0x000aecfc 0.000003 syslogd.2809428
18:28:22.018387 write F=12 B=0x9a 0.001307 syslogd.2809428
18:28:22.018390 lseek F=12 O=0x000aec68 0.000001 syslogd.2809428
18:28:22.018393 write F=12 B=0x8 0.000003 syslogd.2809428
18:28:22.018394 lseek F=12 O=0x00000025 0.000001 syslogd.2809428
18:28:22.019752 write F=12 B=0x8 0.001359 syslogd.2809428
18:28:22.019756 lseek F=12 O=0x000aed96 0.000002 syslogd.2809428
18:28:22.021179 write F=8 B=0x84
From fsmon I had to change different backends any of them were working except fsevapi but is giving the following output, quite hard to make head or tails from it.

https://cloud.githubusercontent.com/assets/3474042/18558172/629aca12-7b72-11e6-8da1-bd1250d141a3.png
The process that I am monitoring with the purpose to explore the tool is syslogd. I wouldn't mind to look at this issue and working on the output, but busy these days. Will try in the following weeks


You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub #28, or mute the thread https://github.com/notifications/unsubscribe-auth/AGIjG-8HqnifQsRO8GGD2Wt4WhrcAH8sks5qqXOLgaJpZM4J-E7x.

ping?