User:Kim/Special Issue 27/Timekeeping device: Difference between revisions

From XPUB & Lens-Based wiki
Line 39: Line 39:
  RTC in local TZ: no
  RTC in local TZ: no
-------------------------------------------------------------------------------
-------------------------------------------------------------------------------
===run processes===
===running processes===
  $ ps (or $ ps aux)
  $ ps (or $ ps aux)
outputs information on run processes (aux is more specific, shows user associated with each process, the start time, the memory consumption, the total running time, command associated with each process)
outputs information on run processes (aux is more specific, shows user associated with each process, the start time, the memory consumption, the total running time, command associated with each process)
$ ps aux | wc -l
outputs a number (179). for a nicely formatted output do:
$ echo "User $USER has a total of $(ps -e | wc -l) processes running on $HOSTNAME."
-------------------------------------------------------------------------------
-------------------------------------------------------------------------------
===last reboot===
===last reboot===
  $ last reboot
  $ last reboot

Revision as of 21:15, 19 May 2025

tests

can be found on cerealbox timekeeping-device/

terminal

ping
to graph (graphic) visualizing length of seconds
traceroute
time (cmd)

ideas

references

cereal time

general time data

$ timedatectl

outputs

Local time: Mon 2025-05-19 19:13:43 BST
Universal time: Mon 2025-05-19 18:13:43 UTC
RTC time: n/a
Time zone: Europe/London (BST, +0100)
System clock synchronized: yes
NTP service: active
RTC in local TZ: no

running processes

$ ps (or $ ps aux)

outputs information on run processes (aux is more specific, shows user associated with each process, the start time, the memory consumption, the total running time, command associated with each process)

$ ps aux | wc -l

outputs a number (179). for a nicely formatted output do:

$ echo "User $USER has a total of $(ps -e | wc -l) processes running on $HOSTNAME."


last reboot

$ last reboot

outputs

reboot   system boot  6.6.47+rpt-rpi-v Tue May  6 09:24   still running
wtmp begins Wed Apr 23 09:46:29 2025