TL;DR

too log didn't read

The state of chopchop on {{now}}?


tldr@chopchop:~ $whoami

{{device_info}}

{{chopchop}}

{{ip_address}}

XPUB 1 users use chopchop as a shared community server. chopchop is usually located in the Piet Zward Wijnhaven building, although for this occassion it is resting on the shelf bellow this e-reader.
tldr@chopchop:~ $uptime -s
Uptime is the amount of time a server has been up, available, running, working, executing. This is time that is not spent idle, but time spent busy serving.

{{ since_last_boot }}

{% if since_last_boot is defined %} {% if days_since_last_boot|int > 14 %}This is unusual, we are used to our server crashing quite often, especially when we are all sharing the space and editing at the same time. Our server, chopchop, chops up time into small bits of surprise in which we learn that the technologies we rely on are never just up and running on their own. They require people to care for them, to put in the time and the mindspace to figure out how to keep them running and available.{% else %}This short of an uptime is common, the fragility of these machines are more prominent than any cloud user expects. Partially because of scale, partially because a lot of labour that happens in datacenters just escapes us all when we want to just upload an image, or just send a message, or just open a webpage.{% endif %} {% endif %}
tldr@chopchop:~ $sudo journalctl -S today _COMM=useradd -r
Users are assigned to groups, which allow them rights to read or edit files, run commands or apply infrastructural changes. For chopchop, we all have 'sudo rights': the ability to perform any command, including the more sensitive ones. Sudo is a command that's short for 'superuser do', with it, a user has more privileges, like installing or updating a package or performing a restart. {% if users_created_today is defined %} {% if users_created_today|length > 0 %}{{last_user_name}} user was added, and the network of trust grew ever so slightly. Users will be trusted with not just the keys and passwords to the "house" which is the server, but with a portion of responsibility to keep it afloat and contribute to what makes it a community of practices (and network of knowledge and dependence).{% else %}No new users were created today. The trust network remains the same size.{% endif %} {% endif %} {% if list_package_installs|length > 0 %}
tldr@chopchop:~ $ grep 'install' /var/log/dpkg.log
Something here in the if statement is not working {% endif %} {% if list_package_installs|length < 0 %} Today no new packages were installed... This part also not working {% endif %} {% if list_package_upgrade|length > 0 %}
tldr@chopchop:~ $ grep 'upgrade' /var/log/dpkg.log
Something here in the if statement is not working Out of the installed packages, these ones were upgraded: {% endif %} {% if list_package_upgrade|length < 0 %} Out of the installed packages, none were upgraded today... {% endif %} {% if list_package_remove|length > 0 %}
tldr@chopchop:~ $ grep 'remove' /var/log/dpkg.log
These package were removed today: {% endif %} {% if list_package_remove|length < 0 %} No packages were removed today... {% endif %}
tldr@chopchop:~ $sudo journalctl _COMM=systemd-login
    --output-fields=MESSAGE -S today -g "New session" | grep -v 'Boot'
Users can login to the server using the SSH (secure shell) protocol. This allows a user to explore files, make changes, run commands and speak to the server from their own machine. This is useful when working remotely, and also to allow multiple users logging into the server simultaneously. Current XPUB1 students have a chopchop user, as well as the tutors. Additionally, there are some users not associated with a person, like our shared user 'chipchip' and users for running specific processes or creating projects. {% if logins_today is defined %} does not show the users of logins_today These users have logged into our shared server chopchop, during the course of this day. {% endif %} {% if groups_created|length > 0 %}
tldr@chopchop:~ $sudo journalctl _COMM=groupadd -r --output-fields=MESSAGE
This command shows whether groups were added today. {% endif %} {% if groups_created|length < 0 %} No groups were added today. {% endif %} For some reason this if statement is not working, i didn't apply it to the next 4 categories because i wanted to check it works first
tldr@chopchop:~ $sudo journalctl _COMM=groupremove -r --output-fields=MES
This command shows whether groups were removed today.
tldr@chopchop:~ $sudo journalctl _COMM=usermod -r
This command shows whether users were modified today.
tldr@chopchop:~ $sudo journalctl _COMM=userdel -r
This command shows whether users were removed today.
tldr@chopchop:~ $sudo service --status-all
These are all of the services that are active, running, working to execute requests that enable everything on the server. They are marked with an [+]. The rest, marked with a [-], are idle, not running, or waiting to be activating upon sending a request.
tldr@chopchop:~ $sudo journalctl -S today -u kitchen-stove.service -u
      kitchen-bin.service -u kitchen-fridge.service -r -n
{% if kitchen_services|length > 0 %} {% endif %}