• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Getting swapfile size
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Getting swapfile size


  • Subject: Getting swapfile size
  • From: George Anten <email@hidden>
  • Date: Wed, 18 Jun 2003 01:20:56 -0400

I'm trying to get a list and cumulative data size of current swapfiles on my
machine, as in:

tell application "Finder"
set x to count of "MyDisk:private:var:vm"
set x to x & (data size of "MyDisk:private:var:vm")
end tell

x --> {20,0}

In Path Finder (with invisibles on), I can see that there's one 76.3 MB
swapfile0 (-rw--), one directory 'app_profile' (drwx-) and nothing else.

Logged in as admin, how does one get swapfile info?

g/a
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.

  • Follow-Ups:
    • Re: Getting swapfile size
      • From: Andrew Oliver <email@hidden>
  • Prev by Date: Programatically determining default browser?
  • Next by Date: file operation
  • Previous by thread: Re: Programatically determining default browser?
  • Next by thread: Re: Getting swapfile size
  • Index(es):
    • Date
    • Thread