Labthrift Labthrift What to buy. What to skip. Why.

Written 30 Aug 2026. This is a how-to, not a product card. Buy links are not tagged yet.

See how long a leftover-box command took

After SSH works, see how long a leftover-box command took with time so you know if it was a few seconds. You do not need a monitoring app for this.

Stop a leftover-box command after a few seconds stopped a leftover-box command when leftover-box time was up. Tonight is leftover-box measure: leftover-box time. You are still only practicing in home. The leftover box does not need a monitoring app, htop, Grafana, or a NAS for this one job.

Skip until SSH already works

SSH from the couch should already get you a prompt. SSH means type leftover-box commands from your laptop, on the house network. If you only need leftover-box timeout (stop after a few leftover-box seconds), that is stop a leftover-box command after a few seconds. Timeout stops. Leftover-box time reports leftover-box duration after leftover-box finish. If leftover-box watch is what you want (re-run until Ctrl+C), that is see leftover-box change without typing again. If the leftover laptop lid is putting the leftover box to sleep, that is don't let the leftover laptop sleep. That is leftover-box lid sleep, not leftover-box time, and not leftover-box sleep the wait. Skip this whole note if you only need leftover-box clock zone. That is set the leftover box clock to your house. Skip leftover-box how long leftover-box has been awake. That is see how long the leftover box has been awake. Skip leftover-box systemd leftover-box timers. That is see what the leftover box already runs on a schedule. Skip leftover-box which leftover-box program uses CPU. That is see what is keeping the leftover box busy.

What this is

time means run one leftover-box command, then print leftover-box duration. You type time, then the leftover-box command. When that leftover-box command finishes, leftover-box time prints leftover-box numbers. Look for leftover-box real. That is leftover-box wait: how long the leftover-box command took on the leftover-box clock. Leftover-box user and leftover-box sys are leftover-box CPU time. Night one is leftover-box real. It is not leftover-box timeout. Timeout stops. Time reports. That is stop a leftover-box command after a few seconds. It is not leftover-box watch. Watch re-runs until Ctrl+C. That is see leftover-box change without typing again. It is not leftover-box lid sleep on a leftover laptop. That is don't let the leftover laptop sleep. Leftover-box sleep in the practice below is a wait, not leftover-box lid sleep. It is not leftover-box clock zone. That is set the leftover box clock to your house. It is not leftover-box file date. That is see leftover-box file size, date, and permissions. It is not how long the leftover box has been awake. That is see how long the leftover box has been awake. It is not leftover-box systemd leftover-box timers. That is see what the leftover box already runs on a schedule.

Practice leftover-box time in home

SSH in. Make sure home is where you are sitting:

pwd

You want a path that ends in your login name. If not:

cd ~

Give leftover-box sleep leftover-box time. Leftover-box sleep here is a wait, not leftover-box lid sleep. Lid sleep is don't let the leftover laptop sleep.

time sleep 2

The leftover box should wait about two leftover-box seconds, then print leftover-box time. Look for leftover-box real. It should be about two leftover-box seconds, not zero. Leftover-box user and leftover-box sys can stay tiny. Night one is leftover-box real. Practice only in home.

Skip leftover-box time of /, leftover-box time of /etc, whole home, other disks, USB, and /srv as night one. Practice only in home.

Skip leftover-box time with no leftover-box command as night one. Night one is leftover-box time then one leftover-box command.

Debian and Ubuntu leftover-box usually already have leftover-box time (it comes with the leftover-box prompt). You do not install a leftover-box time app for this. Skip leftover-box package leftover-box time as night one.

No leftover-box files are required for this practice. If you made leftover-box practice files anyway, throw them away with careful delete only. That is delete a leftover-box file carefully. Skip rm -rf.

Useful extras, still home only

Optional extra: leftover-box time on leftover-box true (almost no leftover-box wait):

time true

Leftover-box real should be near zero leftover-box seconds. That is leftover-box time with a leftover-box command that finishes right away.

Optional: leftover-box time on leftover-box list in home:

time ls

Do not make leftover-box list the leftover-box job tonight. List is see what's in a leftover-box folder.

Optional: leftover-box POSIX leftover-box numbers with leftover-box -p:

time -p sleep 2

Skip leftover-box TIMEFORMAT as night one. Night one is leftover-box time then one leftover-box command.

Skip leftover-box /usr/bin/time and leftover-box time -v as night one. Night one is leftover-box prompt leftover-box time.

Skip leftover-box timeout as tonight's job. Timeout stops. That is stop a leftover-box command after a few seconds.

Skip leftover-box watch as tonight's job. That is see leftover-box change without typing again.

Skip leftover-box clock zone as tonight. That is set the leftover box clock to your house.

Skip leftover-box how long leftover-box has been awake as tonight. That is see how long the leftover box has been awake.

Skip leftover-box lid sleep as tonight. That is don't let the leftover laptop sleep.

Skip leftover-box CPU hunt as tonight. That is see what is keeping the leftover box busy.

Skip leftover-box systemd leftover-box timers as tonight. That is see what the leftover box already runs on a schedule.

Skip leftover-box zip, tar, gzip, unzip, leftover-box du, leftover-box ping, and leftover-box curl as tonight's job. Those leftover-box pages already exist.

Skip htop, top, Grafana, a monitoring box, and a NAS. Skip tmux, screen, nohup, ps, kill, kill -9, jobs, and pkill as tonight.

Skip leftover-box files under /etc, SSH folders, other disks, USB sticks, and /srv as tonight's lesson. Practice only in home.

What this is not

This is not leftover-box timeout. Timeout stops. Time reports. That is stop a leftover-box command after a few seconds. It is not leftover-box watch. Watch re-runs until Ctrl+C. That is see leftover-box change without typing again. It is not leftover-box lid sleep on a leftover laptop. That is don't let the leftover laptop sleep. Leftover-box sleep the wait is not leftover-box lid sleep. It is not leftover-box clock zone. That is set the leftover box clock to your house. It is not leftover-box file date. That is see leftover-box file size, date, and permissions. It is not how long the leftover box has been awake. That is see how long the leftover box has been awake. It is not leftover-box systemd leftover-box timers. That is see what the leftover box already runs on a schedule. It is not which leftover-box program uses CPU. That is see what is keeping the leftover box busy. It is not leftover-box ping as the leftover-box job. That is check that the leftover box can reach the house router. It is not leftover-box curl as the leftover-box job. That is download a file onto the leftover box. It is not a careful leftover-box delete. That is delete a leftover-box file carefully. It is not a monitoring app, htop, Grafana, or a NAS. It is not opening SSH to the internet so you can time leftover-box commands from a coffee shop. That is keep the leftover box on the house network. Do not forward port 22.

What next

Need leftover-box timeout so a leftover-box command stops after a few leftover-box seconds? Stop a leftover-box command after a few seconds. Need leftover-box watch so a leftover-box command re-runs until Ctrl+C? See leftover-box change without typing again. Need leftover-box clock zone, not leftover-box time? Set the leftover box clock to your house. Need leftover-box how long leftover-box has been awake? See how long the leftover box has been awake. Need leftover-box lid sleep on a leftover laptop, not leftover-box sleep the wait? Don't let the leftover laptop sleep. Need which leftover-box program uses CPU? See what is keeping the leftover box busy. Need leftover-box practice files gone for real? Delete a leftover-box file carefully. Need leftover-box clock read, not leftover-box time? See what time the leftover box thinks it is. Need leftover-box month grid, not leftover-box duration? See leftover-box month on a leftover-box calendar. When key login is boring on every computer you use, turn off leftover-box password login once the key works. Keep SSH on the house network: keep the leftover box on the house network. Do not forward port 22.

Skip

Sources

Debian: bash (time). Ubuntu: bash (time). Official pages only. For leftover-box timeout, see stop a leftover-box command after a few seconds. For leftover-box watch, see see leftover-box change without typing again. For leftover-box clock zone, see set the leftover box clock to your house. For the login, see SSH from the couch.

Also on this topic

SSH from the couchType commands on the leftover box from your laptop, on the house network. Password login first. Do not open this to the internet. Stop a leftover-box command after a few secondsAfter SSH works, stop a leftover-box command after a few seconds with timeout so it does not hang. You do not need a monitoring app for this. See leftover-box change without typing againAfter SSH works, re-run a leftover-box command every few seconds with watch so leftover-box size (or leftover-box clock) updates by itself. You do not need a monitoring app for this. Set the leftover box clock to your houseLogs, updates, and weekly backups only make sense if the leftover box uses your local time. timedatectl sets the city zone. The box keeps the clock correct over the network. See how long the leftover box has been awakeBefore you buy a UPS or a new mini PC, see how long the leftover box has been awake. Don't let the leftover laptop sleepClose the lid. The leftover laptop has to stay awake so SSH and Pi-hole keep working. A leftover desktop can skip this note. See what is keeping the leftover box busyThe leftover box feels slow. Check which program is using the CPU before you buy a new mini PC. See what the leftover box already runs on a scheduleBefore you add a weekly backup or buy a monitoring box, look at the leftover box alarm clocks. See leftover-box file size, date, and permissionsAfter SSH works, look at one leftover-box file with stat so you can see its size, last-change date, and permissions without opening it. You do not need a file manager app for this. Delete a leftover-box file carefullyAfter SSH works, delete one leftover-box file with rm -i. Ask first. Skip rm -rf. You do not need a NAS for this. See what time the leftover box thinks it isAfter SSH works, see what time the leftover box thinks it is with date so logs and backups make sense. You do not need a clock app for this. See leftover-box month on a leftover-box calendarAfter SSH works, see leftover-box month on a leftover-box calendar with cal so leftover-box dates make sense on a leftover-box grid. You do not need a calendar app for this. Turn off leftover-box password login once the key worksAfter the laptop key login is boring, tell SSH to stop accepting the leftover-box password. The key is how you get in. A keyboard on the leftover box is the backup now. Keep the leftover box on the house networkSSH and Pi-hole belong on the house network. Skip this if you never opened the router settings. Do not forward port 22.