How to create swap file



How to create swap file..

Answer / sbrahman75

#mkfile 20m /filename

#swap –a /filename

#swap –l ( to view and swap file)

#swap –d ( to delete the swap file)

Is This Answer Correct ?    4 Yes 0 No

Post New Answer

More Solaris Commands Interview Questions

what are the alarms in solaris?

0 Answers  


Hi We have upgraded our sun machine from solaris 9 to solaris 10. Before upgradation the date command output(Solaris 9) Wed Oct 13 09:45:21 IST 2010 But after upgradation the output for date is as below(solaris 10). Wednesday, October 13, 2010 9:46:14 AM IST Looks like I need to change LC_TIME=C. can you please help me how to change it for permanently

0 Answers   IBM, Wipro,


How do you check the run level

2 Answers  


In solaris while patching why should we break the mirroring?

1 Answers   Wipro,


In VERITAS How to recover the mirror disk with data. How to bring the existing data disk into VERITAS volume manger control.

2 Answers  






how to add an user without using "useradd" command in solaris10?

4 Answers   HCL, HP,


What are the steps to be follow to add a disk in veritas & before add the disk what are the steps to be follow

2 Answers  


Disaster recovery steps if OS corrupted

3 Answers  


If a User Account is locked,which file you need to check and how do you get to know at what time it has been locked.

4 Answers   CTS,


How many file to modify the host name to be changed without rebooting the system.

2 Answers  


How to Encapsulate the new root disk (c2t2d0).

3 Answers  


how we can create user in solaris?

6 Answers   Tech Mahindra,


Categories
  • Solaris Commands Interview Questions Solaris Commands (360)
  • Solaris Threads Interview Questions Solaris Threads (9)
  • Solaris IPC Interview Questions Solaris IPC (30)
  • Solaris Socket Programming Interview Questions Solaris Socket Programming (3)
  • Solaris System Calls Interview Questions Solaris System Calls (25)
  • Solaris General Interview Questions Solaris General (170)
  • Solaris AllOther Interview Questions Solaris AllOther (297)