8b03
![]() |
|
|
|
|
|||||||
| Userland Programming & Scripting C, Shell, Perl, Sed & Awk |
![]() |
|
|
Thread Tools | Display Modes |
|
#1
|
|||
|
|||
|
Hi,
I need to be able to get the number of free swap bytes from a java program. I can execute sysctl but can't find the correct variable with free or used swap space. I see only total swap space. Does anybody know which sysctl it is? Last edited by hsn; April 12th, 2012 at 20:16. |
|
#2
|
|||
|
|||
|
Hi hsn,
Try this Code:
]# swapinfo Device 1K-blocks Used Avail Capacity /dev/ad1s1b 2061280 0 2061280 0% Last edited by DutchDaemon; April 11th, 2012 at 00:46. |
![]() |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| [Solved] /etc/rc.d/sysctl: WARNING: sysctl current does not exist. | ccc | General | 7 | March 8th, 2012 06:10 |
| checkinstall equivalent | tantra35 | Installation and Maintenance of FreeBSD Ports or Packages | 7 | November 26th, 2010 08:58 |
| how much equivalent | Myron | Web & Network Services | 3 | October 9th, 2010 02:53 |
| Equivalent command for freeBSD.. | gadz30795 | General | 4 | May 13th, 2010 06:05 |
| Equivalent to Linux's apm=force? | GullibleJones | System Hardware | 1 | April 10th, 2009 09:38 |