Both sides previous revisionPrevious revisionNext revision | Previous revision |
os:linux:start [2014-07-06 10:16] – root | os:linux:start [2024-03-07 17:39] (current) – Manuel Frei |
---|
====== Linux ====== | ====== Linux ====== |
| |
| * [[os:linux:kernel-tuning|Kernel-Tuning]] |
* [[os:linux:read_hfsplus|Read HFS+ Partition]] | * [[os:linux:read_hfsplus|Read HFS+ Partition]] |
| * [[os:linux:multimedia|Multimedia]] |
| * [[os:linux:create_swap_file|Create Swap File]] |
| * [[os:linux:powerdns_apache_postgresql_debian|PowerDNS via Apache2 with PostgreSQL on Debian and PowerDNS-Admin]] |
| * [[os:linux:lemur_and_cfssl_with_nginx_and_postgresql_on_centos8:lemur_and_cfssl_with_nginx_and_postgresql_on_centos8]] |
| * [[os:linux:file_watcher_service|File Watcher Service]] |
| * [[os:linux:tmux|tmux]] |
| * [[apps:systemd]] |
| |
==== Backup directory ==== | ==== Backup directory ==== |
rsync -vr /home/user/important_directory /media/some_hdd/backups/ | rsync -vr /home/user/important_directory /media/some_hdd/backups/ |
/root/.forward | /root/.forward |
<code> | <code> |
user@example.org | user@example.org |
| |
</code> | </code> |
| |
**Immportant:** The last line of the file have to be empty. It won't work without newline. | **Immportant:** The last line of the file have to be empty. It won't work without newline. |
| |
| Misconfiguration may result in following log lines of your mail server: |
| <code> |
| Jul 6 10:10:48 myHostName postfix/cleanup[362]: 4E14342D46: message-id=<20140706081048.4E14342D46@mail.example.org> |
| Jul 6 10:10:48 myHostName postfix/qmgr[24720]: 4E14342D46: from=<>, size=2540, nrcpt=1 (queue active) |
| Jul 6 10:10:48 myHostName postfix/bounce[368]: 3D46942C3D: sender non-delivery notification: 4E14342D46 |
| Jul 6 10:10:48 myHostName postfix/smtp[367]: 4E14342D46: to=<root@mail.example.org>, relay=none, delay=0.04, delays=0.01/0/0.03/0, dsn=5.4.6, status=bounced (mail for mail.example.org loops back to myself) |
| Jul 6 10:10:48 myHostName postfix/qmgr[24720]: 4E14342D46: removed |
| </code> |
| |
| ==== Validate XML Against Template ==== |
| |
| <code> |
| xmllint --schema schema.xsd --noout file.xml |
| </code> |
| or |
| <code> |
| xmlstarlet val -s schema.xsd -e file.xml |
| </code> |
| |
| ==== Links ==== |
| * [[https://eklitzke.org/stdout-buffering|Stdout Buffering]] |
| * [[https://eli.thegreenplace.net/2018/measuring-context-switching-and-memory-overheads-for-linux-threads/|Measuring context switching and memory overheads for Linux threads]] |
| * [[https://linoxide.com/how-to-check-disk-queue-length-in-linux/|How to Check Disk Queue Length in Linux]] |
| |