With the three combined I get down to:

real    0m20.900s
us  sy  id  wa  st
32  33  35   0   0

    43.88%  swapper        
    21.48%  sshd           
     3.07%  dbus-daemon    
     2.78%  systemd        
     2.10%  gdbus          
     1.96%  grep           
     1.80%  run-parts      
     1.68%  systemd-logind 
     1.38%  find           
     1.24%  systemd-journal
     1.23%  bash           
     1.12%  update-motd-fsc
     1.10%  cat            
     0.95%  awk            
     0.85%  50-motd-news   
     0.76%  uname          
     0.70%  00-header      
     0.69%  91-release-upgr
     0.67%  97-overlayroot 
     0.67%  50-landscape-sy
     0.62%  date           
     0.61%  90-updates-avai
     0.56%  95-hwe-eol     
     0.54%  cut 

None of the remaining big contributions to consumption is from the MOTD
efforts (all <2%).

That is reasonable, nice time gain as well as reduced cpu consumption.

** Changed in: landscape-client (Ubuntu)
       Status: New => In Progress

** Changed in: ubuntu-release-upgrader (Ubuntu)
       Status: New => In Progress

** Changed in: update-notifier (Ubuntu)
       Status: New => In Progress

** Changed in: update-notifier (Ubuntu)
     Assignee: (unassigned) => Christian Ehrhardt  (paelzer)

** Changed in: ubuntu-release-upgrader (Ubuntu)
     Assignee: (unassigned) => Christian Ehrhardt  (paelzer)

** Changed in: landscape-client (Ubuntu)
     Assignee: (unassigned) => Christian Ehrhardt  (paelzer)

** Changed in: landscape-client (Ubuntu)
   Importance: Undecided => Critical

** Changed in: ubuntu-release-upgrader (Ubuntu)
   Importance: Undecided => High

** Changed in: update-notifier (Ubuntu)
   Importance: Undecided => High

** Changed in: update-motd (Ubuntu)
   Importance: High => Medium

** Changed in: pam (Ubuntu)
   Importance: High => Medium

** Changed in: update-motd (Ubuntu)
       Status: Confirmed => Invalid

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1893716

Title:
  scripts in /etc/update-motd.d/ run even on login via non-interactive
  scp and sftp sessions

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/landscape-client/+bug/1893716/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to