aboutsummaryrefslogtreecommitdiff
path: root/linux
diff options
context:
space:
mode:
authorAlex <alex.corcoles@veecle.io>2025-08-21 12:35:26 +0200
committeralexpdp7 <alex@corcoles.net>2025-08-21 12:36:59 +0200
commit45072b9f987d91cda4ea1ea3eb710509edf1a2ca (patch)
treeb8a3022431e8829504b6f6022a09e86e40b6f842 /linux
parent219fa3c3d3c4f9fb25996e80d03784a496f3cff0 (diff)
Add memory usage queries
Diffstat (limited to 'linux')
-rw-r--r--linux/misc.md20
1 files changed, 20 insertions, 0 deletions
diff --git a/linux/misc.md b/linux/misc.md
index 34a8ae07..4518e9ec 100644
--- a/linux/misc.md
+++ b/linux/misc.md
@@ -11,3 +11,23 @@ You need the SFTP server program on your local machine (on Debian, the `openssh-
```
aptitude search '~S ~i !~ODebian'
```
+
+## Memory usage queries
+
+### systemd
+
+```
+systemd-cgtop -m
+```
+
+Drill down with:
+
+```
+systemd-cgtop -m user.slice/user-1000.slice
+```
+
+### smem
+
+```
+sudo smem -P beam.smp -kta
+```