Posted: . At: 9:45 AM. This was 4 years ago. Post ID: 13195
Page permalink. WordPress uses cookies, or tiny pieces of information stored on your computer, to verify who you are. There are cookies for logged in users and for commenters.
These cookies expire two weeks after they are set.



Sponsored



Easily get Linux system information with simple utilities.


Get RAM information with the Linux command line and inxi.

4.4 Thu May 02 jason@Yog-Sothoth 0: $ sudo inxi -m
1) All commands run with root privileges are always dangerous.
2) Never run commands on an environment you are not willing to destroy, or able to restore.
3) Do not become root until you know what you are going to do.
4) Be sure of your command and what is going to be affected by it.
[sudo] password for jason: 
Memory:    Used/Total: 2551.5/11852.0MB
           Array-1 capacity: 32 GB devices: 4 EC: None
           Device-1: ChannelA-DIMM0 size: 4 GB speed: 1333 MT/s type: DDR3
           Device-2: ChannelA-DIMM1 size: 8 GB speed: 1333 MT/s type: DDR3
           Device-3: ChannelB-DIMM0 size: No Module Installed type: N/A
           Device-4: ChannelB-DIMM1 size: No Module Installed type: N/A

Get the time taken by Ubuntu to boot with Systemd. This is why Systemd is very useful. You can see how long it took your system to boot.

jason@jason-desktop:~$ sudo systemd-analyze 
Startup finished in 3.888s (kernel) + 40.912s (userspace) = 44.801s 
graphical.target reached after 40.832s in userspace

To see which services loaded on boot are taking the longest to load, use the systemd-analyze blame command.

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
jason@jason-desktop:~$ sudo systemd-analyze blame
26.912s plymouth-quit-wait.service                                         
12.826s dev-sdc1.device                                                    
 9.904s snapd.service                                                      
 9.109s NetworkManager-wait-online.service                                 
 8.020s networkd-dispatcher.service                                        
 6.754s accounts-daemon.service                                            
 6.341s udisks2.service                                                    
 5.543s NetworkManager.service                                             
 4.679s dev-loop2.device                                                   
 4.667s dev-loop0.device                                                   
 4.651s dev-loop1.device                                                   
 4.528s dev-loop5.device                                                   
 4.519s dev-loop4.device                                                   
 4.516s dev-loop3.device                                                   
 4.514s polkit.service                                                     
 4.503s dev-loop8.device                                                   
 4.496s dev-loop6.device                                                   
 4.495s dev-loop7.device                                                   
 3.724s avahi-daemon.service                                               
 3.536s switcheroo-control.service                                         
 3.511s systemd-resolved.service                                           
 3.479s thermald.service                                                   
 3.478s systemd-logind.service                                             
 3.478s wpa_supplicant.service

But on a freshly installed Ubuntu 20.04 installation, this is not bad at all.

Get networking information like IP addresses and your MAC address from the terminal.

https://securitronlinux.com/debian-testing/another-very-useful-way-to-get-your-public-ip-address-from-the-internet-with-the-command-line/.

A very nice way to have real-time system information displayed in a terminal window.

https://securitronlinux.com/ubuntu-2/get-some-nice-system-information-in-real-time-with-a-nice-utility/.


Leave a Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.