Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Re: comparing size

by gmpassos (Priest)
on Aug 19, 2002 at 14:08 UTC ( [id://191177]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
      my $file_size = (stat($file_path))[7] ;
    
  2. or download this
      @FL_stats = stat ("") ; # Geting stats of file.
      $FL_Dev = $FL_stats[0]  ;     # Device that the file resides on.
    ...
      $FL_ChTime = $FL_stats[10] ;  # When the file status was last change
    +d.
      $FL_BlkSize = $FL_stats[11] ; # The optimal block size for i/o opera
    +tions on the file system containing the file.
      $FL_Blocks = $FL_stats[12] ;  # The number of clocks allocated to th
    +e file.
    

Log In?
Username:
Password:

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

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

    No recent polls found