I'm trying to restart a process using Perl without actually stopping it.
On a solaris command line I would normally grep for the process ID and then
-HUP the process eg.
bash-2.03# ps -ef | grep icmp
root 11083 292 12 Nov 08 ? 1302:03
/opt/Omnibus/monitors/solaris2/nco_m_icmp -server NCOMSP1 -datalog
root 27783 26291 0 15:10:09 pts/32 0:00 grep icmp
bash-2.03# kill -HUP 11083
does anyone know how to do this in a perl one line or script?
thanks in-advance
-Has
"This communication is intended solely for the addressee and is confidential and not
for third party unauthorised distribution."