Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
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 cooling their heels in the Monastery: (5)
As of 2014-10-02 10:53 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    What is your favourite meta-syntactic variable name?














    Results (53 votes), past polls