Jump to content

SSH welcome message


Tido
 Share

Recommended Posts

Hi,

 

I cannot exactly say why, but I never liked the 'emptyness' of the IP-Address on the SSH welcome message

System load:   0.82 0.29 0.10  	Up time:       1 min		
Memory usage:  3 % of 3867MB 	IP:            192.168.11.7

 

So I thought it needs a lot of space for a long Up time. So, the space is reasonable. Looking at the other information provided, which needs as well many letters?

My suggestion to move it like this  and adding: -Address  (IP is not the complete term  (Internet-Protocol):

IP-Address:    192.168.11.7  	Up time:       1 min		
Memory usage:  3 % of 3867MB 	System load:   0.82 0.29 0.10

 

adding 'Address'  might fix the emptyness as well:

System load:   0.82 0.29 0.10  	Up time:       1 min		
Memory usage:  3 % of 3867MB 	IP-Address:    192.168.11.7

 

It is just the welcome display  but  the first thing you see  (you have only one chance for a first impression ;)  )

 

Your thoughts on that, I am curious?

 

Link to comment
Share on other sites

Armbian is a community driven open source project. Do you like to contribute your code?

On 3/29/2020 at 6:26 PM, Tido said:

Your thoughts on that


A "picture" is worth a thousand words:

 _   _ ____  _   __  __ _  ___     ______  
| \ | |  _ \(_) |  \/  | || \ \   / /___ \ 
|  \| | |_) | | | |\/| | || |\ \ / /  __) |
| |\  |  __/| | | |  | |__   _\ V /  / __/ 
|_| \_|_|   |_| |_|  |_|  |_|  \_/  |_____|
                                           
Welcome to Armbian Bionic with Linux 5.4.28-rockchip64

System load:   0.20 0.06 0.01  	Up time:       3 days  5:29		
Memory usage:  4 % of 3867MB 	IP:            10.0.30.130 10.0.20.107 10.0.20.108 10.0.20.109
CPU temp:      41°C           	
Usage of /:    2% of 58G  

 

Link to comment
Share on other sites

I like this picture - as welcome message :)

 _   _ ____  _   _   _              ____
| \ | |  _ \(_) | \ | | ___  ___   |___ \
|  \| | |_) | | |  \| |/ _ \/ _ \    __) |
| |\  |  __/| | | |\  |  __/ (_) |  / __/
|_| \_|_|   |_| |_| \_|\___|\___/  |_____|

Welcome to Armbian Buster with Linux 5.6.2-sunxi64

package bsp-kernel[20.05.0-trunk] u-boot[20.05.0-trunk] dtb   [20.05.0-trunk]
firmware          [20.05.0-trunk] config[20.05.0-trunk] branch[dev]

System load:   0.02 0.02 0.00   Up time:       7:49 hours               Local users:   2
Memory usage:  21 % of 477MB    IP:            192.168.6.22
CPU temp:      44°C
Usage of /:    12% of 15G       storage/:      1% of 229G

 

Link to comment
Share on other sites

On 4/8/2020 at 11:07 AM, Igor said:

A "picture" is worth

I think I did 3 mock ups and put some text to it. In other words: I tried my best with little effort to show ;)

 

Alright, I just logged out and in again.  Igor already pimped it :)   however,  I wish to add some changes :rolleyes:

Can we group the information - what belongs together  or  is related to eachother like:

 

Memory /ZRAM /Usage should always have 2 digits like:  02%  not just  2%  (or the one (1) digit-No. should act like there was leading zero)  |  the %  sign  should always follow straight after the number, no space inbetween.  Now it is mixed.

MB vs Mb  is mixed on Memory /ZRAM.   Hmm, and if we have 2 letters for MB,   Usage should have that too:  GB

Isn't the technical term:  IP-Address   (internet protocol address) ?

"Usage of /:"   what is meant here?  SDcard /Nand /emmc  which is basically:  storage  (this would then fit to the wording on the Autotest).

Memory usage:  37 % of 3874MB 	System load:   0.15 0.22 0.25  	
Zram usage:    1 % of 1023Mb 	Up time:       3:53 hours	
Usage of /:    18% of 29G    	IP-aDDreSS:    172.13.0.1 192.168.15.5
CPU temp:      56°C           	

Link to comment
Share on other sites

On 4/8/2020 at 11:07 AM, Igor said:

A "picture" is worth a thousand words:

Can I ship a PR like this?

I need help on:

  1. Up time  und IP-Address  seem to get there 'colon'  from anywhere, I have no clue.
  2. The gap for the Up time I cannot fix, I have no clue.. again,  although I tried: https://regex101.com/
  3. System storage: 10% of 32GB       Attached storage: 1% of 4GB   -  should have a leading 0  couldn't figure that out either

grafik.png.3207bc83b25fe7b96026113bb0234793.png

 

 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...