作者realmax (mip)
看板Linux
标题[问题] Linux的/proc底下出现一堆档名为数字的不明目录?是否中毒?
时间Sun Aug 17 10:15:53 2008
今天用linux时,发现/proc底下出现将近100个目录,
而且这些目录档名几乎全部都是一堆数字构成,不知是否中毒了?
每个数字目录底下都是相同的档案,列举其中一个如下:
wumins@ubuntu:~$ ls /proc/6
attr clear_refs cpuset exe io maps mountstats root
stat task
auxv cmdline cwd fd limits mem oom_adj sched
statm wchan
cgroup coredump_filter environ fdinfo loginuid mounts oom_score smaps
status
这些怪目录如下:
wumins@ubuntu:~$ ls /proc
1 2683 4876 5272 5565 5757 5809 6216 diskstats locks
sysrq-trigger
138 3 4878 5273 5567 5763 5818 6233 dma meminfo
sysvipc
1511 3173 4900 5280 5568 5764 5821 6235 driver misc
timer_list
1514 4 4916 5302 5617 5766 5838 6236 execdomains modules
timer_stats
1521 41 4930 5322 5625 5768 5841 6258 fb mounts
tty
1529 4356 4943 5328 5629 5770 5845 6261 filesystems mtrr
uptime
1535 44 4963 5329 5630 5774 5853 7 fs net
version
1538 45 4964 5338 5641 5776 5882 acpi interrupts
pagetypeinfo version_signature
177 4511 5 5339 5722 5779 5883 asound iomem partitions
vmcore
178 4512 5002 5347 5731 5781 5899 buddyinfo ioports sched_debug
vmstat
179 4516 5122 5384 5737 5787 5902 bus irq scsi
zoneinfo
2 4517 5156 5385 5739 5788 5979 cgroups kallsyms self
220 4519 5170 5391 5740 5789 5999 cmdline kcore slabinfo
2288 4687 5189 5432 5741 5791 6 cpuinfo key-users stat
2290 4732 5192 5446 5749 5798 6015 crypto kmsg swaps
2479 4820 5254 5550 5751 5806 6215 devices loadavg sys
--
※ 发信站: 批踢踢实业坊(ptt.cc)
◆ From: 218.164.195.52
1F:推 TroyLee:正常的 08/17 10:21
2F:→ realmax:之前没有,重开机也没有消失,而且每个目录内的档案都一样, 08/17 11:11
3F:→ realmax:这样真的正常吗?请问是什麽原因呢? 08/17 11:12
4F:推 Bencrie:正常的,没那些目录才奇怪吧。 08/17 12:59
6F:→ Bencrie:PID都是数字组成的,有数字也不奇怪吧。 08/17 13:00
7F:→ realmax:喔,原来是这样,照这样子资料夹似乎会不断产生,如果我把 08/17 14:15
8F:→ realmax:些看起来较旧的砍掉,会发生什麽後果吗? 08/17 14:16
9F:推 antontw:man 5 proc 有说明 08/17 14:26
10F:→ realmax:感谢楼上的大大们,我会再仔细研读清楚 08/17 16:39