Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Re: A small queestion to match processes

by jwkrahn (Monsignor)
on Oct 05, 2012 at 18:41 UTC ( #997531=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
        #obtain the length to match according to ps aux
       {
    ...
            $strindex = index($_, "STAT"); 
            #obtain how characters the RegEx should not match
       } #no more of this besides the first line
    
  2. or download this
        $strindex = $-[0] if ?STAT?;
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://997531]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others pondering the Monastery: (4)
As of 2015-07-03 23:24 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (57 votes), past polls