I have tested this on Ubuntu 13.04 and it is working fine:

sworddragon@ubuntu:~/data$ sleep 20 &
[1] 3009
sworddragon@ubuntu:~/data$ ls /proc/3009
attr       cgroup      comm             cwd      fd      latency   map_files  
mountinfo   net        oom_adj        pagemap      sched      smaps  statm    
task
autogroup  clear_refs  coredump_filter  environ  fdinfo  limits    maps       
mounts      ns         oom_score      personality  schedstat  stack  status   
wchan
auxv       cmdline     cpuset           exe      io      loginuid  mem        
mountstats  numa_maps  oom_score_adj  root         sessionid  stat   syscall
sworddragon@ubuntu:~/data$ ./a.out 3009
watching /proc/3009
read done, bytes: 128

Using inotifywait on /proc works fine too.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/454722

Title:
  inotify does not watch /proc

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/454722/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to