[Gllug] start sleeping processes from another VT?
Steve Nicholson
steve.nicholson at yoursolutions.com
Tue Oct 9 13:22:22 UTC 2001
> kill -CONT pid
>
Thanks Tet, not working for me though. I must have something else
wrong, this didn't bring any life in to anything. I tried it for the
each process pid and all together, am I doing something wrong or am I
screwed and have to do a reboot?
Below is output from PS and strace of "kill -CONT", I am logged in as
root, any ideas as what I can try? I haven't tried killing off
processes yet, only want to do that as last resort worried about having
to start all over again.
thanks
Steve.
----from-"ps fx"-----------------------
PID TTY STAT TIME COMMAND
1 ? S 0:09 init [2]
2 ? SW 0:01 [kflushd]
3 ? SW 0:01 [kupdate]
4 ? SW 0:00 [kpiod]
5 ? SW 0:03 [kswapd]
6 ? SW 0:00 [scsi_eh_0]
73 ? S 0:00 pump -i eth0
157 tty1 S 0:02 [dpkg-reconfigur]
271 tty1 S 0:00 \_ [base-config.pos]
340 tty1 S 1:07 \_ dselect
341 tty1 S 0:00 \_ [install]
344 tty1 S 0:03 \_ /usr/bin/apt-get -f
dselect-upgrade
7097 tty1 S 0:02 \_ /usr/bin/dpkg --configure
locales <edited out very long list of packages>
7098 tty1 S 0:00 \_ sh
/var/lib/dpkg/info/locales.postinst configure 2.1.3-10
158 tty2 S 0:00 -bash
7136 tty2 R 0:00 \_ ps xf
159 tty3 SW 0:00 [getty]
296 tty4 SW 0:00 [getty]
297 tty5 SW 0:00 [getty]
----end-----------------------------------
----from--"kill -CONT 157 271 340 341 344 7097 7098"-----------------
execve("/bin/kill", ["kill", "-CONT", "157", "271", "340", "341", "344",
"7097", "7098"], [/* 18 vars */]) = 0
uname({sys="Linux", node="wks01", ...}) = 0
brk(0) = 0x804bf54
old_mmap(NULL, 4096, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40015000
open("/etc/ld.so.preload", O_RDONLY) = -1 ENOENT (No such file or
directory)
open("/etc/ld.so.cache", O_RDONLY) = 3
fstat64(0x3, 0xbffff0e4) = -1 ENOSYS (Function not
implemented)
fstat(3, {st_mode=S_IFREG|0644, st_size=17370, ...}) = 0
old_mmap(NULL, 17370, PROT_READ, MAP_PRIVATE, 3, 0) = 0x40016000
close(3) = 0
open("/lib/libproc.so.2.0.7", O_RDONLY) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0`%\0\000"...,
1024) = 1024
fstat(3, {st_mode=S_IFREG|0644, st_size=46144, ...}) = 0
old_mmap(NULL, 60292, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) =
0x4001b000
mprotect(0x40025000, 19332, PROT_NONE) = 0
old_mmap(0x40025000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED,
3, 0x9000) = 0x40025000
old_mmap(0x40027000, 11140, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x40027000
close(3) = 0
open("/lib/libc.so.6", O_RDONLY) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\30\327"...,
1024) = 1024
fstat(3, {st_mode=S_IFREG|0755, st_size=1163240, ...}) = 0
old_mmap(NULL, 1179680, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) =
0x4002a000
mprotect(0x40140000, 40992, PROT_NONE) = 0
old_mmap(0x40140000, 24576, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED,
3, 0x115000) = 0x40140000
old_mmap(0x40146000, 16416, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x40146000
close(3) = 0
munmap(0x40016000, 17370) = 0
uname({sys="Linux", node="wks01", ...}) = 0
brk(0) = 0x804bf54
brk(0x804c0d4) = 0x804c0d4
brk(0x804d000) = 0x804d000
open("/etc/mtab", O_RDONLY) = 3
fstat64(0x3, 0xbfffd584) = -1 ENOSYS (Function not
implemented)
fstat(3, {st_mode=S_IFREG|0644, st_size=128, ...}) = 0
old_mmap(NULL, 4096, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40016000
read(3, "/dev/sda1 / ext2 rw,errors=remou"..., 4096) = 128
close(3) = 0
munmap(0x40016000, 4096) = 0
open("/proc/cpuinfo", O_RDONLY) = 3
fstat(3, {st_mode=S_IFREG|0444, st_size=0, ...}) = 0
old_mmap(NULL, 4096, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40016000
read(3, "processor\t: 0\nvendor_id\t: Authen"..., 1024) = 363
read(3, "", 1024) = 0
close(3) = 0
munmap(0x40016000, 4096) = 0
open("/proc/uptime", O_RDONLY) = 3
lseek(3, 0, SEEK_SET) = 0
read(3, "43204.04 42236.21\n", 1023) = 18
open("/proc/stat", O_RDONLY) = 4
lseek(4, 0, SEEK_SET) = 0
read(4, "cpu 73358 0 23425 4223621\ndisk "..., 1023) = 689
lseek(3, 0, SEEK_SET) = 0
read(3, "43204.04 42236.21\n", 1023) = 18
getpid() = 7141
kill(7098, SIGCONT) = 0
kill(7097, SIGCONT) = 0
kill(344, SIGCONT) = 0
kill(341, SIGCONT) = 0
kill(340, SIGCONT) = 0
kill(271, SIGCONT) = 0
kill(157, SIGCONT) = 0
_exit(0)
------end----------------------------
--
Gllug mailing list - Gllug at linux.co.uk
http://list.ftech.net/mailman/listinfo/gllug
More information about the GLLUG
mailing list