swap -l

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

thanks

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?

yes, i run it as root.

it hang so long .

No return code.

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?

hi , porter . Sorlaris 8.
i start it as complete OS running, not single user.

inside the etc/vfstab , swap was inside.

Thanks

Does dmesg or the syslog files say the swap was activated?

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