[Orca-users] pattern match/substitution question

Jon A. Tankersley jon.tankersley at eds.com
Fri Mar 14 11:18:29 PST 2003


Given a column headings of
Pkts_Xmit_#/min_NIC1_0020304051
Pkts_Xmit_KB/min_NIC1_0020304051
Pkts_Xmit_#/min_NIC2_0b0c04051a

or

Print_Queue_337_HP5SIMXPS_rm201
Print_Queue_3_Tek370
Print_Queue_151_HPIV_PS

Should I be able to specify in a plot setup
Pkts_Xmit_#/min_(.*)_(.*)
or
Pkts_Xmit_KB/min_(.*)_(.*) * 1024
or
Print_Queue_(.*)_(.*)

and use $1 and $2 appropriately?  minimal regex instead of maximal.

Actually in this case, I don't want $2, but I don't want to use
Pkts_Xmit_#/min_(.*)
and
Print_Queue_(.*)
because it keeps too much information for the plots.





More information about the Orca-users mailing list