blob: 4518e9ec7f3dc6b95b578a911f5125ff7d592a9f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
# Misc
## Reverse sshfs
https://blog.dhampir.no/content/reverse-sshfs-mounts-fs-push
You need the SFTP server program on your local machine (on Debian, the `openssh-server` package) and sshfs on the remote machine.
## Find non-Debian packages
```
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
```
|