$ LANG=C; df -a
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/sda6 3842376 873884 2773304 24% /
tmpfs 1557800 0 1557800 0% /lib/init/rw
proc 0 0 0 - /proc
...
/dev/mapper/vol1-logdeb1
5160576 4457740 440692 92% /var
Hmm dunno what your ubuntu server does but my debian system shows "/" correct. Dont think this is standard ...
Perl uses system tools to determine the space i think so if df is wrong Perl is too? Checked the debian Servers too they do ..:
Dateisystem 1K-Blöcke Benutzt Verfügbar Ben% Eingehängt auf
/dev/hda2 75981028 17982544 54138868 25% /
tmpfs 513980 0 513980 0% /lib/init/rw
proc 0 0 0 - /proc
...
Btw: I wouldnt use a graphical interface for a server.
It is another (possible) security hole not talking about the waste of ressources (if it is your home server without internet access it is ok ...)
Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
Read Where should I post X? if you're not absolutely sure you're posting in the right place.
Please read these before you post! —
Posts may use any of the Perl Monks Approved HTML tags:
- a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
| |
For: |
|
Use: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.