The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > OS Specific Forums > SUN Solaris
Google UNIX.COM


SUN Solaris The Solaris Operating System, usually known simply as Solaris, is a free Unix-based operating system introduced by Sun Microsystems .

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Swap config - Mirror swap or not? BG_JrAdmin SUN Solaris 3 01-06-2008 06:25 PM
/tmp as swap csaunders SUN Solaris 5 06-20-2007 09:27 AM
aix swap jabberwocky AIX 6 02-16-2006 06:17 AM
About swap Ty3 UNIX for Dummies Questions & Answers 1 01-06-2006 06:31 AM
Swap macdonto UNIX for Dummies Questions & Answers 3 04-04-2002 07:51 AM

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 11-13-2007
Registered User
 

Join Date: Sep 2007
Posts: 12
swap -l

When i try to type swap -l ,nothing come out but blinking.
May i know what is the problem and solutions ?

thanks
Reply With Quote
Forum Sponsor
  #2 (permalink)  
Old 11-13-2007
Registered User
 

Join Date: Jan 2007
Posts: 2,965
Did you run it as root?

Did it hang? Or return without printing anything?

What was the return code?

No header list of columns?

Have you managed to upgrade your system so that the version of swap you managed to use does not match the kernel?
Reply With Quote
  #3 (permalink)  
Old 11-13-2007
Registered User
 

Join Date: Sep 2007
Posts: 12
yes, i run it as root.

it hang so long .


No return code.
Reply With Quote
  #4 (permalink)  
Old 11-13-2007
Registered User
 

Join Date: Jan 2007
Posts: 2,965
What version of Solaris, hardware. Did you start it up as single user or is the complete OS running?

Do you have "top" installed?

What does your "/etc/vfstab" say?
Reply With Quote
  #5 (permalink)  
Old 11-15-2007
Registered User
 

Join Date: Sep 2007
Posts: 12
hi , porter . Sorlaris 8.
i start it as complete OS running, not single user.

inside the etc/vfstab , swap was inside.

Thanks
Reply With Quote
  #6 (permalink)  
Old 11-15-2007
Registered User
 

Join Date: Jan 2007
Posts: 2,965
Does dmesg or the syslog files say the swap was activated?
Reply With Quote
  #7 (permalink)  
Old 11-16-2007
s4g3's Avatar
Registered User
 

Join Date: Nov 2007
Location: India
Posts: 39
Does swap -s work?

what does /etc/vfstab entry say for ur s1 slice???

Have you added any extra swap file to the swap space?

I suggest try these steps

1) Remove the swap in the running system using
swap -d /dev/dsk/cxtxdxs1
swap -d /path/to/swapfile

2) Check swap -l - it should say "no swap" or something like that

3) Comment the swap entries in /etc/vfstab

4) Add the swap back using swap -a

5) Now try and execute swap -l

~Sage
Reply With Quote
Google UNIX.COM
Reply

Thread Tools
Display Modes




All times are GMT -7. The time now is 02:36 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008 The CEP Blog All Rights Reserved -Ad Management by RedTyger Visit The Global Fact Book

Content Relevant URLs by vBSEO 3.2.0