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

(tye)Re: one-liner hogs

by tye (Sage)
on Feb 01, 2001 at 04:16 UTC ( [id://55609]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    Memory: perl -e 'push @_,"x"x1024 while 1'
    CPU:    perl -e '$_++ while 1'
    ...
    Reads:  perl -MFile::Find -e'find(sub{@ARGV=$_;1while<>},"/")while 1'
    MemUse: perl -e '$_="ab"x(8*1024*1024);tr/ab/ba/ while 1'
    Swap:   perl -e 'while(1){push @_,"x";for(@_){$_="x$_"}}'
    
  2. or download this
    perl -MFile::Find -e 'fork;fork;find(sub{@ARGV=$_;1while<>},"/")while 
    +1'
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others perusing the Monastery: (4)
As of 2024-03-28 17:23 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found