[root@extract ~]# ps -ef | grep temp
root 263731 257736 4 09:16 pts/0 00:01:39 ./templatexample
root 269087 268937 0 09:49 pts/3 00:00:00 grep --color=auto temp
[root@extract 263731]# cd /proc/263731/
[root@extract 263731]# ll
total 0
dr-xr-xr-x 2 root root 0 May 17 09:50 attr
-rw-r--r-- 1 root root 0 May 17 09:50 autogroup
-r-------- 1 root root 0 May 17 09:50 auxv
-r--r--r-- 1 root root 0 May 17 09:16 cgroup
--w------- 1 root root 0 May 17 09:50 clear_refs
-r--r--r-- 1 root root 0 May 17 09:16 cmdline
-rw-r--r-- 1 root root 0 May 17 09:50 comm
-rw-r--r-- 1 root root 0 May 17 09:50 coredump_filter
-r--r--r-- 1 root root 0 May 17 09:50 cpuset
lrwxrwxrwx 1 root root 0 May 17 09:16 cwd -> /opt/pdftest
-r-------- 1 root root 0 May 17 09:50 environ
lrwxrwxrwx 1 root root 0 May 17 09:16 exe -> /opt/pdftest/templatexample
dr-x------ 2 root root 0 May 17 09:17 fd
dr-x------ 2 root root 0 May 17 09:50 fdinfo
-rw-r--r-- 1 root root 0 May 17 09:50 gid_map
-r-------- 1 root root 0 May 17 09:50 io
-r--r--r-- 1 root root 0 May 17 09:50 limits
-rw-r--r-- 1 root root 0 May 17 09:50 loginuid
dr-x------ 2 root root 0 May 17 09:50 map_files
-r--r--r-- 1 root root 0 May 17 09:50 maps
-rw------- 1 root root 0 May 17 09:50 mem
-r--r--r-- 1 root root 0 May 17 09:50 mountinfo
-r--r--r-- 1 root root 0 May 17 09:50 mounts
-r-------- 1 root root 0 May 17 09:50 mountstats
dr-xr-xr-x 5 root root 0 May 17 09:50 net
dr-x--x--x 2 root root 0 May 17 09:50 ns
-r--r--r-- 1 root root 0 May 17 09:50 numa_maps
-rw-r--r-- 1 root root 0 May 17 09:50 oom_adj
-r--r--r-- 1 root root 0 May 17 09:50 oom_score
-rw-r--r-- 1 root root 0 May 17 09:50 oom_score_adj
-r--r--r-- 1 root root 0 May 17 09:50 pagemap
-r-------- 1 root root 0 May 17 09:50 patch_state
-r--r--r-- 1 root root 0 May 17 09:50 personality
-rw-r--r-- 1 root root 0 May 17 09:50 projid_map
lrwxrwxrwx 1 root root 0 May 17 09:50 root -> /
-rw-r--r-- 1 root root 0 May 17 09:50 sched
-r--r--r-- 1 root root 0 May 17 09:50 schedstat
-r--r--r-- 1 root root 0 May 17 09:50 sessionid
-rw-r--r-- 1 root root 0 May 17 09:50 setgroups
-r--r--r-- 1 root root 0 May 17 09:50 smaps
-r--r--r-- 1 root root 0 May 17 09:50 stack
-r--r--r-- 1 root root 0 May 17 09:16 stat
-r--r--r-- 1 root root 0 May 17 09:30 statm
-r--r--r-- 1 root root 0 May 17 09:16 status
-r--r--r-- 1 root root 0 May 17 09:50 syscall
dr-xr-xr-x 20 root root 0 May 17 09:30 task
-r--r--r-- 1 root root 0 May 17 09:50 timers
-rw-r--r-- 1 root root 0 May 17 09:50 uid_map
-r--r--r-- 1 root root 0 May 17 09:50 wchan
[root@extract 263731]# cd /opt/pdftest/
[root@extract pdftest]# ll
total 7416
-rw-r--r-- 1 root root 233 May 6 13:56 config.json
-rwxrwxrwx 1 root root 7589292 May 17 09:16 templatexample
网友评论