09-30-2013
Quote:
AFAIK, UNIX uses slices and partitions.
Actually, the only safe thing you can say is that UNIX uses devices that can be used for storage. I wish you could say more, but you really can't.
With regards to sharing of swap.. in reality, the answer is "no", but you could certainly do it, you'd just have to format for the right system every time. The reason why the answer is really "no" is because swap is sometimes used for more than swap (e.g. for hibernating in the case of Linux.. which isn't really UNIX, but figured it deserves mention). Implementing a "shared swap" (again, not really shared) across multiple distros of whatever is something you'd have to implement on your own. Not really for "newbies". Just saying...
IMHO, you may need to focus on your CPU cooling? If the CPU needs to run hot, it need to run hot. I'd hate to gamble thinking I can make it run cool all of the time.
This User Gave Thanks to cjcox For This Post:
8 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Okee problems...!!
What is happening: Unix server with some programms, workstations are windows 2000, the workstations work good but when you start a programm on the Unix server the CPU of the workstations go to 100% usage resulting that the system gets very slow. The programm well its running so... (2 Replies)
Discussion started by: zerocool
2 Replies
2. UNIX for Dummies Questions & Answers
I tried looking for the answer online and came up with only a few semi-answers as to why file and directory names are case sensitive in Unix. Right off the bat, I'll say this doesn't bother me. But I run into tons of Windows and OpenVMS admins in my day job who go batty when they have to deal... (3 Replies)
Discussion started by: deckard
3 Replies
3. UNIX for Advanced & Expert Users
hi
i want run an unix application from a windows program/application.i am using SSH(command line version)to log on to a unix machine from windows. the application has to read a configuration file inorder to run. the configuration file .CFG is in bin in my home directory. but the application... (1 Reply)
Discussion started by: megastar
1 Replies
4. Shell Programming and Scripting
Hi,
My local server is :/usr/abcd/
Remote server is :/Usr/host/test/
I want to send files from local unix directory(All files starting with O_999) to
remote host unix directory.
Can any body give me the Unix Shell script to do this.
One more doubt: Shall we need to change the file... (1 Reply)
Discussion started by: raja_1234
1 Replies
5. Shell Programming and Scripting
Hi Experts,
I have a requirement where i need to setup a batch job which runs everymonth and move the pdf files from unix server to windows servers.
Could some body provide the inputs for this.
and also please provide the inputs on how to map the network dirve in the unix like that... (1 Reply)
Discussion started by: ger199901
1 Replies
6. UNIX for Dummies Questions & Answers
How does unix system administration, unix programming, unix network programming differ?
Please help. (0 Replies)
Discussion started by: thulasidharan2k
0 Replies
7. Shell Programming and Scripting
Dear All,
Can someone help to command or program to transfer the file from windows to Unix server and from one unix server to another Unix server in secure way.
I would request no samba client. (4 Replies)
Discussion started by: yadavricky
4 Replies
8. Post Here to Contact Site Administrators and Moderators
We work hard to make The UNIX and Linux Forums one of the best UNIX and Linux knowledge sources on the net. The site is certainly one of the top UNIX and Linux Q&A sites on the web. In order to provide certain members the best quality account services, you can now get some great extra features by... (2 Replies)
Discussion started by: Neo
2 Replies
LEARN ABOUT FREEBSD
swapctl
SWAPON(8) BSD System Manager's Manual SWAPON(8)
NAME
swapon, swapoff, swapctl -- specify devices for paging and swapping
SYNOPSIS
swapon [-F fstab] -aLq | file ...
swapoff [-F fstab] -aLq | file ...
swapctl [-AghklmsU] [-a file ... | -d file ...]
DESCRIPTION
The swapon, swapoff and swapctl utilities are used to control swap devices in the system. At boot time all swap entries in /etc/fstab are
added automatically when the system goes multi-user. Swap devices use a fixed interleave; the maximum number of devices is unlimited. There
is no priority mechanism.
The swapon utility adds the specified swap devices to the system. If the -a option is used, all swap devices in /etc/fstab will be added,
unless their ``noauto'' or ``late'' option is also set. If the -L option is specified, swap devices with the ``late'' option will be added
as well as ones with no option. If the -q option is used, informational messages will not be written to standard output when a swap device
is added.
The swapoff utility removes the specified swap devices from the system. If the -a option is used, all swap devices in /etc/fstab will be
removed, unless their ``noauto'' or ``late'' option is also set. If the -L option is specified, swap devices with the ``late'' option will
be removed as well as ones with no option. If the -q option is used, informational messages will not be written to standard output when a
swap device is removed. Note that swapoff will fail and refuse to remove a swap device if there is insufficient VM (memory + remaining swap
devices) to run the system. The swapoff utility must move swapped pages out of the device being removed which could lead to high system
loads for a period of time, depending on how much data has been swapped out to that device.
Other options supported by both swapon and swapoff are as follows:
-F fstab
Specify the fstab file to use.
The swapctl utility exists primarily for those familiar with other BSDs and may be used to add, remove, or list swap devices. Note that the
-a option is used differently in swapctl and indicates that a specific list of devices should be added. The -d option indicates that a spe-
cific list should be removed. The -A and -U options to swapctl operate on all swap entries in /etc/fstab which do not have their ``noauto''
option set.
Swap information can be generated using the swapinfo(8) utility, pstat -s, or swapctl -l. The swapctl utility has the following options for
listing swap:
-h Output values in human-readable form.
-g Output values in gigabytes.
-k Output values in kilobytes.
-m Output values in megabytes.
-l List the devices making up system swap.
-s Print a summary line for system swap.
The BLOCKSIZE environment variable is used if not specifically overridden. 512 byte blocks are used by default.
FILES
/dev/{ada,da}?s?b standard paging devices
/dev/md? memory disk devices
/etc/fstab ASCII file system description table
DIAGNOSTICS
These utilities may fail for the reasons described in swapon(2).
SEE ALSO
swapon(2), fstab(5), init(8), mdconfig(8), pstat(8), rc(8)
HISTORY
The swapon utility appeared in 4.0BSD. The swapoff and swapctl utilities appeared in FreeBSD 5.1.
BSD
November 22, 2013 BSD