Add the the information of created fd when memory leak 43/173343/4
authorYoungHun Kim <yh8004.kim@samsung.com>
Tue, 20 Mar 2018 08:39:38 +0000 (17:39 +0900)
committerYoungHun Kim <yh8004.kim@samsung.com>
Fri, 23 Mar 2018 07:03:38 +0000 (07:03 +0000)
Change-Id: Ifebc5fb2d09a4701fed9d41692bf9c1e2ec42e56

server/src/muse_server_private.c

index 9695731..48c8d9d 100644 (file)
@@ -783,6 +783,9 @@ void ms_log_process_info(int pid)
        snprintf(cmd, sizeof(cmd), "/bin/cat /proc/%d/status | grep Threads", pid);
        ms_log_get_cmd_info(cmd);
 
+       snprintf(cmd, sizeof(cmd), "/bin/ls -alt /proc/%d/fd", pid);
+       ms_log_get_cmd_info(cmd);
+
        snprintf(cmd, sizeof(cmd), "/bin/ps -Lo pcpu,pmem,tid,comm -p %d", pid);
        ms_log_get_cmd_info(cmd);
 }