11-30-2005
You WILL want more than 16MB if you want to use gcc, trust me. You migth be able to get it working on 16 by using tons of swap space, but it'll be swapping like a wounded moth. 32 would be minimal, 64 would be better, 128 would be great.
8 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Has anyone had any experience with this new processor and its compatability with Linux/Unix? How did it preform comared to regular Athlons and P4's?
I also have one other question. I plan on buying a new dell and fiddling left and right with it. Which type of RAM is better, RDRAM or... (3 Replies)
Discussion started by: KyPeN
3 Replies
2. UNIX for Dummies Questions & Answers
I wish to install Red Hat linux 7.1 on a machine with 16mb of EDO Ram. When I enter the instalation process I am told 'You do not have enough memory'. Is there a way to install RHL with only the 16? Or will I have to upgrade and buy some very expensive EDO.
~ Paul (3 Replies)
Discussion started by: KrazyGuyPaul
3 Replies
3. UNIX for Dummies Questions & Answers
I don't know a lot of the world of Linux, but i want to start with an old machine; did someone knows if i can install Linux in a computer with a processor Pentium (not celeron) @ 133 Mhz, 98Mb in RAM (PC100) and 3Gb Hard Drive?
a friend tell me about Ubuntu and openSUSE, but I don't know if... (5 Replies)
Discussion started by: Omega
5 Replies
4. Shell Programming and Scripting
Hi Gurus,
Can someone let me know how to find the RAM size,ROM size and Number of processors for a linux server.
Version :Linux 2.4.9-e.57smp
Also what does "e.57smp" stands for?
Thanks in advance gurus.....
cheers. (3 Replies)
Discussion started by: navojit dutta
3 Replies
5. Linux
Hi
I am very new to Linux, but very keen to learn it.
I am having a desktop of 300 MHz with 128 MB RAM and 30 GB hard drive with Windows XP.
My first question is - Is there any version/flavour of Linux available that can be installed on above system especially Fedora with less compromise... (6 Replies)
Discussion started by: sanjay1979
6 Replies
6. Red Hat
Hi,
On server 64bit Hw Arch , Linux 5.0(32bit) is installed it is showing only 3gb of ram though physical is 16gb
can u give me idea why? (4 Replies)
Discussion started by: manoj.solaris
4 Replies
7. Linux
How to enable more than 4GB RAM support on Linux 32bit OS?
OS: CentOS release 5.4 (Final)
Kernel version: 2.6.18-53.el5
Arch: 32Bit
I got solution at Innovationframes.com • View topic - How to enable more than 4GB RAM support on Linux 32bit OS? but my question is the steps given... (5 Replies)
Discussion started by: chandranjoy
5 Replies
8. Cybersecurity
void main() {
long ((long)(&array));
int x;
for (;;)
{
(array) =+ 1023;
printf("%c", array);
}
}
What is wrong with this code to print Linux RAM? (13 Replies)
Discussion started by: Alux
13 Replies
LEARN ABOUT DEBIAN
swapoff
SWAPON(2) BSD System Calls Manual SWAPON(2)
NAME
swapon, swapoff -- control devices for interleaved paging/swapping
LIBRARY
Standard C Library (libc, -lc)
SYNOPSIS
#include <unistd.h>
int
swapon(const char *special);
int
swapoff(const char *special);
DESCRIPTION
The swapon() system call makes the block device special available to the system for allocation for paging and swapping. The names of poten-
tially available devices are known to the system and defined at system configuration time. The size of the swap area on special is calcu-
lated at the time the device is first made available for swapping.
The swapoff() system call disables paging and swapping on the given device. All associated swap metadata are deallocated, and the device is
made available for other purposes.
RETURN VALUES
If an error has occurred, a value of -1 is returned and errno is set to indicate the error.
ERRORS
Both swapon() and swapoff() can fail if:
[ENOTDIR] A component of the path prefix is not a directory.
[ENAMETOOLONG] A component of a pathname exceeded 255 characters, or an entire path name exceeded 1023 characters.
[ENOENT] The named device does not exist.
[EACCES] Search permission is denied for a component of the path prefix.
[ELOOP] Too many symbolic links were encountered in translating the pathname.
[EPERM] The caller is not the super-user.
[EFAULT] The special argument points outside the process's allocated address space.
Additionally, swapon() can fail for the following reasons:
[EINVAL] The system has reached the boot-time limit on the number of swap devices, vm.nswapdev.
[ENOTBLK] The special argument is not a block device.
[EBUSY] The device specified by special has already been made available for swapping
[ENXIO] The major device number of special is out of range (this indicates no device driver exists for the associated hardware).
[EIO] An I/O error occurred while opening the swap device.
Lastly, swapoff() can fail if:
[EINVAL] The system is not currently swapping to special.
[ENOMEM] Not enough virtual memory is available to safely disable paging and swapping to the given device.
SEE ALSO
config(8), swapon(8), sysctl(8)
HISTORY
The swapon() system call appeared in 4.0BSD. The swapoff() system call appeared in FreeBSD 5.0.
BSD
June 4, 1993 BSD