Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

When I'm logging into a tty virtual shell, I obtain system information of the computer, like system load, memory usage, hard disc space on / ...

I installed Ubuntu on two others computer but they don't show me system informations on tty virtual login, why? Which packet or script makes this information available?

Thanks for your help.

share|improve this question
add comment

3 Answers

Thanks for your answers, I found the name of the packet to install on this page: Where does the System Information information come from on login? It's the packet landscape-common which gives system informations to motd (thanks Darael). After I installed this packet, I can manually obtain system informations with typing: #landscape-sysinfo

share|improve this answer
    
You should paste the exact information you see on your screen. There are a range of way to show 'system information of the computer, like system load, memory usage, hard disc space on / ...', people do not know what program is producing them if you do not paste the output. –  fossilet Apr 5 '12 at 2:20
    
It's not forbidden to accept your own answer. –  user unknown Apr 14 '12 at 22:54
add comment

What is output at login-time is generally controlled on *nix boxen (and, by extension, Ubuntu boxen) by the /etc/issue (controls what gets shown before the login: prompt) and /etc/motd (gets printed upon successful login) files. On Ubuntu, the former is a single file the latter is autogenerated from /etc/motd.tail. See also man issue (for /etc/issue - it will point you at man agetty, so look at that as well) and man motd and man motd.tail, which will give information on the motd files.

share|improve this answer
    
Thanks Darael, your answer show me the way. –  Le Gluon du Net Apr 4 '12 at 8:23
add comment

If you want to see these info, you can put the following code in your ~/.profile:

uname -a
w
df -hT /

I use similar techniques to see my server status once upon login.

share|improve this answer
    
Thanks Fossilet, this didn't answer directly to my question, but it's a very interesting way to obtain the same result or more powerful solution. –  Le Gluon du Net Apr 4 '12 at 9:16
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.