Ask a Question related to Sun Solaris, Design and Development.
-
The Oracle #1
Beginner - two simple questions please?
Hello,
This is my first post so hello to everyone. I have two questions that I
have been struggling with. I am using release 2.5.1
1. I thought that to configure the IP default gateway, all you needed to do
was to create a file called /etc/defaultgateway (all one word) and put the
address in that file, the address being the only thing in the file. This
does not work though and I have been racking my brains to figure it out. I
have rebooted my machine several times and even invented other names for the
file. No good.
2. How can I find the size of the disk partitions for the varius partitions.
For examplem I put the /var partition on slice 4 but cannot remember the
size of it.
Thanks from a greatful beginner.
Steve
The Oracle Guest
-
Simple Question From Beginner
I have created an swf movie, which I embedded to my site. I want my movie to play only once , just when the mouse cursor hovers over this movie... -
Simple Questions
I'm a newbie, and just moved to .NET programming, got confused with how datagrid works. Let say I have datagrid with 3 columns: ID Name Price... -
Beginner Flash Questions
How do you get text an stuff to move across the, or appear little by little, from left to right, or such? Perhaps I am just dumb, but I can't figure... -
2 complete beginner questions
Hi, I am a complete beginner with a few questions any help will be great 1. what is the difference between bring to the front and a layer? 2.... -
Beginner needs help -- Simple AspNet Component
I coded my first asp form and attempted to display a text message from a component. The static text "Our component says:" shows on the aspx page,... -
Tony Walton #2
Re: Beginner - two simple questions please?
The Oracle wrote:
looks like the name> Hello,
> This is my first post so hello to everyone. I have two questions that I
> have been struggling with. I am using release 2.5.1
>
> 1. I thought that to configure the IP default gateway, all you needed to do
> was to create a file called /etc/defaultgateway (all one word) and put the
> address in that file, the address being the only thing in the file. This
> does not work though and I have been racking my brains to figure it out. I
> have rebooted my machine several times and even invented other names for the
> file.
/etc/defaultrouter
wasn't among the names you tried. That's what the file should be called :-)
>
> 2. How can I find the size of the disk partitions for the varius partitions.
> For examplem I put the /var partition on slice 4 but cannot remember the
> size of it.
df (or df -k to see the output in Kb)
Or use format/partition/print to see the partition information, or use
prtvtoc to see the same thing. f will show you the size of the
filesystem, which is not the same as the size of the partition since
some of the filesystem is taken up with internal stuff and isn't
available to the user; also df will only show you the sizes of
filesystems that are mounted, so won't show you swap space or other raw
partitions, unallocated space, filesystems that happen not to be mounted
and so on.
prtvtoc /dev/rdsk/c0t0d0s0 for instance.
Tony Walton Guest



Reply With Quote

