1. Where is that value controlled?
2. What value does spawn return?
3. What is DNS?
4. How do you take a single line of input from the user in a
shell script?
5. How do you create a swapfile?
6. what do you mean by server

Answer Posted / imnoor

To add a swap file:

Determine the size of the new swap file in megabytes and multiply by 1024 to determine the number of blocks. For example, the block size of a 64 MB swap file is 65536.

At a shell prompt as root, type the following command with count being equal to the desired block size:
dd if=/dev/zero of=/swapfile bs=1024 count=65536
Setup the swap file with the command:
mkswap /swapfile
To enable the swap file immediately but not automatically at boot time:
swapon /swapfile
To enable it at boot time, edit /etc/fstab to include the following entry:
/swapfile swap swap defaults 0 0
The next time the system boots, it enables the new swap file.

After adding the new swap file and enabling it, verify it is enabled by viewing the output of the command cat /proc/swaps or free.

Is This Answer Correct ?    0 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

List the functions of a network administrator?

632


whenever we give #metastat cmd in svm, it display output "need to maintain" state, what u do?

1531


how to add additional instances sar r3, what are the steps to take server is down.

1534


If a switch has been configured with two vlans, how many broadcast domains will be there

1465


Define the number of network ids in a class c network?

594






Define tcp/ip?

590


what is the diff between LLT,GAB&TCP/IP?

1747


Tell me what happens when you use cables longer than the prescribed length?

626


What is the the advantage of address sharing?

651


Describe profile in terms of networking concept?

718


Define ipv6?

613


Explain about the job of the network layer under the osi reference model?

577


I have to do a project in transport domain in J2EE.How can i find informations regarding transport domain and why do we use that?

1707


Define nos?

618


What is looping and how switching loops are avoided at L2 level?

1578