diff options
author | We-unite <3205135446@qq.com> | 2024-08-07 19:08:59 +0800 |
---|---|---|
committer | We-unite <3205135446@qq.com> | 2024-08-07 19:08:59 +0800 |
commit | ea32e017e579f168d87732893335c38d539ac2f1 (patch) | |
tree | 96a893ae0ffd4c5186e1c87f2fd7c60a125e970a /.gitmodules | |
parent | 2104c8ac26f320eacc3fa04d608843c3bf0fdc57 (diff) | |
download | godo-collector.tar.gz godo-collector.zip |
Print err in stderr, Find out docker rootfs.collector
When I use godo, error infomation comes along with other output, so
change all err report into stderr. And I listen to `pivot_root` sys-
call to find out the root file system of dockers. However, I'm afraid
of causing too more delay, so don't check rootfs of ppid and record
in the pid. Besides, the method to deal with pivot_root is hardcoded,
which may causes crush.
Shall I listen to the chdir syscall to find out exact cwd? Maybe It's
useful to the pivot_root?
Next step: Find out appropriate data stracture, and add more file
operations to be watched. This task must be completed this week.
Diffstat (limited to '.gitmodules')
0 files changed, 0 insertions, 0 deletions