What is the command to increase filesystem on solaris

I wanted to know what is the process or command to increase a filesystem on solaris. For example the /tmp directory.

Hi,
The /tmp directory is not a filesystem per se, it is actually the swap space that solaris mounts as /tmp. Check the df -k output. It will show the filesystem for /tmp as swap. This swap is determined when you setup the OS. You can add more swap space if you want using the swap command. Check the man page for details.

To increase the size of a normal filesystem, you can use the growfs command for UFS filesystems, extendfs command on HP systems, it depends on your OS and filesystem that you want to extend.

It is also worthy of not that /tmp or rather the size of system swap can also be increated by adding a new slice to swap, and adding it to the dfstab, or using swap -a for a temporary addition. There should be no filesystem on the slice.

well unless your running volume management, you cant.... are you running veritas or solstice suite?

and i have been at alot of shops that use /tmp as a regular file system and not as a swap filesystem...