Here you go... r...@menk:~# ps -A|grep sleep 3644 pts/0 00:00:00 sleep
r...@menk:~# strace kill -TERM 3644 execve("/bin/kill", ["kill", "-TERM", "3644"], [/* 18 vars */]) = 0 brk(0) = 0x8ee000 mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7ff12fa8d000 access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory) mmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7ff12fa8b000 access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or directory) open("/etc/ld.so.cache", O_RDONLY) = 3 fstat(3, {st_mode=S_IFREG|0644, st_size=124031, ...}) = 0 mmap(NULL, 124031, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7ff12fa6c000 close(3) = 0 access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory) open("/lib/libproc-3.2.8.so", O_RDONLY) = 3 read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\240A\0\0\0\0\0\0"..., 832) = 832 fstat(3, {st_mode=S_IFREG|0644, st_size=76696, ...}) = 0 mmap(NULL, 2249496, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7ff12f64a000 mprotect(0x7ff12f65b000, 2097152, PROT_NONE) = 0 mmap(0x7ff12f85b000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x11000) = 0x7ff12f85b000 mmap(0x7ff12f85d000, 74520, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7ff12f85d000 close(3) = 0 access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory) open("/lib/libc.so.6", O_RDONLY) = 3 read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\340\353\1\0\0\0\0\0"..., 832) = 832 fstat(3, {st_mode=S_IFREG|0755, st_size=1490312, ...}) = 0 mmap(NULL, 3598344, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7ff12f2db000 mprotect(0x7ff12f441000, 2093056, PROT_NONE) = 0 mmap(0x7ff12f640000, 20480, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x165000) = 0x7ff12f640000 mmap(0x7ff12f645000, 18440, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7ff12f645000 close(3) = 0 mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7ff12fa6b000 mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7ff12fa6a000 arch_prctl(ARCH_SET_FS, 0x7ff12fa6a6f0) = 0 mprotect(0x7ff12f640000, 16384, PROT_READ) = 0 mprotect(0x7ff12f85b000, 4096, PROT_READ) = 0 mprotect(0x603000, 4096, PROT_READ) = 0 mprotect(0x7ff12fa8e000, 4096, PROT_READ) = 0 munmap(0x7ff12fa6c000, 124031) = 0 brk(0) = 0x8ee000 brk(0x90f000) = 0x90f000 open("/proc/version", O_RDONLY) = 3 fstat(3, {st_mode=S_IFREG|0444, st_size=0, ...}) = 0 mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7ff12fa8a000 read(3, "Linux version 2.6.31-6-generic ("..., 1024) = 136 close(3) = 0 munmap(0x7ff12fa8a000, 4096) = 0 open("/proc/stat", O_RDONLY|O_CLOEXEC) = 3 read(3, "cpu 444 0 603 18519 4676 9 15 0"..., 8192) = 1096 close(3) = 0 getpid() = 3648 kill(3644, SIGTERM) = 0 exit_group(0) = ? r...@menk:~# strace kill -9 3644 execve("/bin/kill", ["kill", "-9", "3644"], [/* 18 vars */]) = 0 brk(0) = 0x1488000 mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f6616ec7000 access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory) mmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f6616ec5000 access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or directory) open("/etc/ld.so.cache", O_RDONLY) = 3 fstat(3, {st_mode=S_IFREG|0644, st_size=124031, ...}) = 0 mmap(NULL, 124031, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7f6616ea6000 close(3) = 0 access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory) open("/lib/libproc-3.2.8.so", O_RDONLY) = 3 read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\240A\0\0\0\0\0\0"..., 832) = 832 fstat(3, {st_mode=S_IFREG|0644, st_size=76696, ...}) = 0 mmap(NULL, 2249496, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f6616a84000 mprotect(0x7f6616a95000, 2097152, PROT_NONE) = 0 mmap(0x7f6616c95000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x11000) = 0x7f6616c95000 mmap(0x7f6616c97000, 74520, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7f6616c97000 close(3) = 0 access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory) open("/lib/libc.so.6", O_RDONLY) = 3 read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\340\353\1\0\0\0\0\0"..., 832) = 832 fstat(3, {st_mode=S_IFREG|0755, st_size=1490312, ...}) = 0 mmap(NULL, 3598344, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f6616715000 mprotect(0x7f661687b000, 2093056, PROT_NONE) = 0 mmap(0x7f6616a7a000, 20480, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x165000) = 0x7f6616a7a000 mmap(0x7f6616a7f000, 18440, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7f6616a7f000 close(3) = 0 mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f6616ea5000 mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f6616ea4000 arch_prctl(ARCH_SET_FS, 0x7f6616ea46f0) = 0 mprotect(0x7f6616a7a000, 16384, PROT_READ) = 0 mprotect(0x7f6616c95000, 4096, PROT_READ) = 0 mprotect(0x603000, 4096, PROT_READ) = 0 mprotect(0x7f6616ec8000, 4096, PROT_READ) = 0 munmap(0x7f6616ea6000, 124031) = 0 brk(0) = 0x1488000 brk(0x14a9000) = 0x14a9000 open("/proc/version", O_RDONLY) = 3 fstat(3, {st_mode=S_IFREG|0444, st_size=0, ...}) = 0 mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f6616ec4000 read(3, "Linux version 2.6.31-6-generic ("..., 1024) = 136 close(3) = 0 munmap(0x7f6616ec4000, 4096) = 0 open("/proc/stat", O_RDONLY|O_CLOEXEC) = 3 read(3, "cpu 446 0 604 22290 4676 10 15 "..., 8192) = 1098 close(3) = 0 getpid() = 3650 kill(3644, SIGKILL) = 0 exit_group(0) = ? -- can only kill processes with -9 in karmic from SSH sessions, -TERM does not work https://bugs.launchpad.net/bugs/412972 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs