Sunday, October 30, 2011

Available disk space in Linux

One of the basic tools to monitor your harddisks and partitions is df - disk free. It shows you a couple of information about how your harddisk is used. A sample output maybe like this:

# df
Filesystem           1K-blocks      Used Available Use% Mounted on
/dev/root            251915124  33553292 205565260  15% /

Saturday, October 29, 2011

Available, used and free memory in Linux

free will show the used and available memory. The default output could be like this:

# free
             total       used       free     shared    buffers     cached
Mem:       3792504    1499452    2293052          0      48460     586436
-/+ buffers/cache:     864556    2927948
Swap:      4200992          0    4200992

Sunday, October 23, 2011

Configuring network and SSH in NetBSD

I have set up my old workstation (AMD Duron with 1.2GHz and 512MB of Ram) with the current NetBSD release 5.1 to play a little around with it. I installed it in a VM (without any networking hardware) directly on the harddisk and after installation I placed the harddisk into the computer. When the OS is booted, I took a look at the networking hardware: 

Tuesday, October 4, 2011

Available, used and free memory in Solaris

To get the amount of memory installed use prtdiag:

# prtconf | grep Memory
Memory size: 16384 Megabytes