>
>
> Oops..your Requirements was different..
>
> To achieve, @stats = [ user, cpu, mem, tot_cpu, tot_mem, load1, load2]
>
> you need to do
>
> push (@$stats, @$totals, $loads);
>
> I am assuming User, cpu, mem, tot_cpu, tot_mem are again
> reference to an array
thanks. the @stats array can be an array of records like
@stats = [ user, cpu, mem, tot_cpu, tot_mem, load1, load2]
[ another....]
etc...
or can be a flat list of strings, it does not matter
@array = ( "user cpu mem tot_cpu tot_mem load1 load2", "user cpu mem tot_cpu
tot_mem load1 load2", ....)
I will give the above a try. Thanks again
>
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]