PDA

View Full Version : mvchannels.tcl problems


hogwarts
01-06-2002, 06:39 PM
Did the local thing using mvchannels.tcl and channel dat and local dat. When I ran it per the instructions it keeps looping through the program and won't go to the Bash prompt. What should I do to stop the loop without killing everything.... Thanks in advance. I tried looking through past postings but couldn't find anything that seemed right. Thanks again...

hogwarts

T_RJ
01-06-2002, 06:45 PM
Use this link to download the most current version of mvchannel.
I've also included a text file from the mvchannel on how to use it

http://64.21.8.90/forum/attachment.php?s=&postid=19069

hogwarts
01-06-2002, 07:01 PM
I'll try this... I know this is a stupid question but, how do I get the loop to stop. If I unplug the unit from the wall will I ave to run the channels.dat and others again? Hate to sound so stupid but...

Thanks again, hogwarts

T_RJ
01-06-2002, 07:06 PM
If you ran it from bash it will not be running when you reboot. Iwould start over with the new mvch.

BubbleLamp
01-06-2002, 08:13 PM
Originally posted by hogwarts
I'll try this... I know this is a stupid question but, how do I get the loop to stop. If I unplug the unit from the wall will I ave to run the channels.dat and others again? Hate to sound so stupid but...

Thanks again, hogwarts

If you launched it as a background task (used & at the end) then you can get it to stop by renaming the channels.dat file (mv channels.dat temp.dat). The next time it tries to loop it will fail and the process will terminate. Be sure to rename the file back to its original name (mv temp.dat channels.dat).

hogwarts
01-06-2002, 08:33 PM
Sure get quick answers at this forum... Thanks again for the help.

hogwarts

mongo
01-06-2002, 10:32 PM
Here is some basic knowledge anyone should know about process management under *nix:

To see what processes are running, you use the ps command. If you want to see your own processes, you just type 'ps' (leave out the ' '. To see all of your processes and those being run by the machine, you use 'ps x'.

The output of this will show you the process names and numbers.

Like this:


bash-2.02# ps x
PID TTY STAT TIME COMMAND
1 ? SW 0:00 init
2 ? SW 0:00 (kflushd)
3 ? RW 0:00 (kswapd)
59 ? S 0:00 update (bdflush)
67 ? S 0:02 syslogd -p /var/dev/log -m 10000
69 ? SW 0:00 klogd
77 ? SW 0:00 EventSwitcher
78 ? S 0:16 MfsDaemon
79 ? S 0:00 fancontrol
106 ? SW 0:00 Sark (mcp)
107 ? SW 0:00 bash /etc/rc.d/rc.remote-login
111 ? SW 0:00 tnlited 23 /bin/bash -login
112 ? S 0:00 Sark (mcp)
113 ? SW 0:00 PipeListen
114 ? SW 0:00 Mcp event
115 ? SW 0:00 tcphonehome
116 ? SW 0:00 tcphonehome
117 ? SW 0:00 PipeListener
118 ? SW 0:00 FsMpStream

Now, to kill a process, you just need the process number. That's the number in the first column (PID). You kill it by using the kill command. There are a lot of different kinds of kills you can do but this one will kill anything for sure.

Just use 'kill -9' and then the process number you got from ps.

As in:

kill -9 112

Just be careful not to kill processes that the system needs to run properly. Like the 112 process I used in my example is one that you would not want to actually kill in real life.

Hope that helps.

Mongo