Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Re: A small queestion to match processes

by jwkrahn (Abbot)
on Oct 05, 2012 at 18:41 UTC ( [id://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
Domain Nodelet?
Node Status?
node history
Node Type: note [id://997531]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others about the Monastery: (5)
As of 2024-04-23 19:50 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found