I want script which executes on EVERY machine and restarts io-net
AFAIK, /sbin/enum-devices always starts some device drivers
(such as io-audio,io-graphics etc) although its were loaded.
I want script which executes on EVERY machine and restarts io-net
AFAIK, /sbin/enum-devices always starts some device drivers
(such as io-audio,io-graphics etc) although its were loaded.
which is the best solution to restart io-net?
Create a file called /etc/rc.d/rc.local . In it, slay io-net and then
restart io-net as you need.
With a PC, I always felt limited by the software available.
On Unix, I am limited only by my knowledge.
–Peter J. Schoenster <pschon@baste.magibox.net>
I want script which executes on EVERY machine and restarts io-net
AFAIK, /sbin/enum-devices always starts some device drivers
(such as io-audio,io-graphics etc) although its were loaded.
which is the best solution to restart io-net?
Create a file called /etc/rc.d/rc.local . In it, slay io-net and then
restart io-net as you need.
AFAIU You offer to write SPECIAL scripts for EVERY machine?
sorry, i told about i need UNIVERSAL script !
i.e. it should be correctly worked on EVERY machine!
moreover, i need (re)start io-net very offen because i need to debug
some code. and this script also could be executed by crond
to load io-net if it is not in memory or in some another difined cases
AFAIU You offer to write SPECIAL scripts for EVERY machine?
No, only a place where to execute it.
sorry, i told about i need UNIVERSAL script !
i.e. it should be correctly worked on EVERY machine!
Thats a design issue you need to resolve. There are lots of ways to do
this. You could do a :
pidin mem | grep “devn” | cut -c13-31
to figure out what driver to “reload”. Mind you this isn’t the best way,
but illustrative none the less.
moreover, i need (re)start io-net very offen because i need to debug
some code. and this script also could be executed by crond
to load io-net if it is not in memory or in some another difined cases
A good shell scripting book (general sh scripting or ksh) will help you
greatly in this endevour.
With a PC, I always felt limited by the software available.
On Unix, I am limited only by my knowledge.
–Peter J. Schoenster <pschon@baste.magibox.net>
Actually I am curious which script default installation runs after a reboot. I suspect
it has something to do with rc.devices and /etc/system/enum, but it gets fairly
cryptic pretty quickly.
What is the default script that starts io-net?
Can I safely “slay io-net” and then run this script?
I want script which executes on EVERY machine and restarts io-net
AFAIK, /sbin/enum-devices always starts some device drivers
(such as io-audio,io-graphics etc) although its were loaded.
which is the best solution to restart io-net?
Create a file called /etc/rc.d/rc.local . In it, slay io-net and then
restart io-net as you need.
With a PC, I always felt limited by the software available.
On Unix, I am limited only by my knowledge.
–Peter J. Schoenster <> pschon@baste.magibox.net
It isn’t started from a script, it is started by the enumerators. They are
a set of processes that scan busses and watch for changes to start and stop
drivers in the system. The files in /etc/system/enum are the “database”
of information for the enumerators to use for identifying devices.
Actually I am curious which script default installation runs after a reboot. I s
uspect
it has something to do with rc.devices and /etc/system/enum, but it gets fairly
cryptic pretty quickly.
What is the default script that starts io-net?
Can I safely “slay io-net” and then run this script?
I want script which executes on EVERY machine and restarts io-net
AFAIK, /sbin/enum-devices always starts some device drivers
(such as io-audio,io-graphics etc) although its were loaded.
which is the best solution to restart io-net?
Create a file called /etc/rc.d/rc.local . In it, slay io-net and then
restart io-net as you need.
With a PC, I always felt limited by the software available.
On Unix, I am limited only by my knowledge.
–Peter J. Schoenster <> pschon@baste.magibox.net
–
Chris McKillop <cdm@qnx.com> “The faster I go, the behinder I get.”
Software Engineer, QSSL – Lewis Carroll – http://qnx.wox.org/
Actually I am curious which script default installation runs after a reboot. I suspect
it has something to do with rc.devices and /etc/system/enum, but it gets fairly
cryptic pretty quickly.
What is the default script that starts io-net?
Can I safely “slay io-net” and then run this script?
yes, i need slay then run.
but this script MUST BE UNIVERSAL!!
and see – 1st letter enumerator works incorrectly
if it runs twice…
I want script which executes on EVERY machine and restarts io-net
AFAIK, /sbin/enum-devices always starts some device drivers
(such as io-audio,io-graphics etc) although its were loaded.
which is the best solution to restart io-net?
Create a file called /etc/rc.d/rc.local . In it, slay io-net and then
restart io-net as you need.
With a PC, I always felt limited by the software available.
On Unix, I am limited only by my knowledge.
–Peter J. Schoenster <> pschon@baste.magibox.net
It isn’t started from a script, it is started by the enumerators. They are
a set of processes that scan busses and watch for changes to start and stop
drivers in the system. The files in /etc/system/enum are the “database”
of information for the enumerators to use for identifying devices.
chris
see 1st letter – enumerator works incorrectly
if it runs second time…
and see news: qdn.public.sysadmin – topic io-net restart
(in my (vasa) letter)
there is “universal” script – but it works incorrectly too
Actually I am curious which script default installation runs after a reboot. I s
uspect
it has something to do with rc.devices and /etc/system/enum, but it gets fairly
cryptic pretty quickly.
What is the default script that starts io-net?
Can I safely “slay io-net” and then run this script?
I want script which executes on EVERY machine and restarts io-net
AFAIK, /sbin/enum-devices always starts some device drivers
(such as io-audio,io-graphics etc) although its were loaded.
which is the best solution to restart io-net?
Create a file called /etc/rc.d/rc.local . In it, slay io-net and then
restart io-net as you need.
With a PC, I always felt limited by the software available.
On Unix, I am limited only by my knowledge.
–Peter J. Schoenster <> pschon@baste.magibox.net
\
Chris McKillop <> cdm@qnx.com> > “The faster I go, the behinder I get.”
Software Engineer, QSSL – Lewis Carroll – http://qnx.wox.org/
Chris Goebel <> cgoebel@tridium.com> > ïèøåò â ñîîáùåíèè:> 3C6D5E67.6ADCF8AC@tridium.com> …
Actually I am curious which script default installation runs after a reboot. I suspect
it has something to do with rc.devices and /etc/system/enum, but it gets fairly
cryptic pretty quickly.
What is the default script that starts io-net?
Can I safely “slay io-net” and then run this script?
yes, i need slay then run.
but this script MUST BE UNIVERSAL!!
I am not a Shell Script Expert, but this does not sounds that complicate.
How about:
#!/bin/sh
drivers=pidin mem | grep devn | awk '{print $1}'
slay -f io-net
io-net -p tcpip -p qnet
for d in $drivers; do
mount -Tio-net $d
done
-xtang
and see – 1st letter enumerator works incorrectly
if it runs twice…
I want script which executes on EVERY machine and restarts io-net
AFAIK, /sbin/enum-devices always starts some device drivers
(such as io-audio,io-graphics etc) although its were loaded.
which is the best solution to restart io-net?
Create a file called /etc/rc.d/rc.local . In it, slay io-net and then
restart io-net as you need.
With a PC, I always felt limited by the software available.
On Unix, I am limited only by my knowledge.
–Peter J. Schoenster <> pschon@baste.magibox.net