|
|
#1 |
|
Path to virtual memory folder?
Is there any way in AppleScript/Unix to get path to virtual memory folder (/private/var/vm), similar way than (path to desktop)?
We have many Macs and some Macs keep virtual memory in non standard place. |
|
|
|
0
|
|
|
#2 |
|
Code:
ps -axo command | awk '$1 == "/sbin/dynamic_pager" { print $3 }'
Code:
xpath "/plist/dict/key[text()='ProgramArguments']/following::array/string[3]/text()" < /System/Library/LaunchDaemons/com.apple.dynamic_pager.plist |
|
|
|
0
|
![]() |
|
«
Previous Thread
|
Next Thread
»
| Thread Tools | Search this Thread |
| Display Modes | |
|
|
All times are GMT -5. The time now is 10:30 PM.






Linear Mode
