Wednesday, December 19, 2012

Check free space on the Raspberry Pi from windows

So, after using the Pi for allmost a week i started to worry about runnning out of free space. With my SD card only having 4GB to start with it seemed too good to be possible that i hadnt gotten any memory problems yet.

But how do you check how much free space there is on the Pi?

Well, i manage my Pi remotely using SSH from my Windows machine.
It's nice and easy to set up, you simply enable it on the pi either in raspi-config or in the RaspBMC settings (i use raspBMC).

Then on my windows machine i have installed Bitvise SSH client. A nice free program that also includes an integrated SFTP client for transferring files. You can download it from Bitvise's site.

After connecting and using your login (the default username is: pi and default password is: raspberry). You get your terminal session.

To display used and free space for all drives on your remote system just type:
df -h

It returns like this:

No comments:

Post a Comment