This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| $ModLoad imtcp | |
| $ModLoad imudp | |
| # Remote Logging | |
| $RuleSet remote | |
| *.* ?RemoteHost | |
| # Send messages we receive to TCP | |
| *.* @@127.0.0.1:1514 | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| echo -e "stats items\nquit\n" |nc 127.0.0.1 11211|grep "items:.*:number"|awk '{ sum += $3} { print sum }'|tail -1 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Computer Information: | |
| Manufacturer: Unknown | |
| Model: Unknown | |
| Form Factor: Desktop | |
| No Touch Input Detected | |
| Processor Information: | |
| CPU Vendor: AuthenticAMD | |
| CPU Brand: AMD Ryzen 5 2600X Six-Core Processor | |
| CPU Family: 0x17 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| [Unit] | |
| Description=Some description | |
| After=network.target | |
| [Service] | |
| Type=simple | |
| User=user | |
| WorkingDirectory=/home/user/somedir | |
| Environment=PYTHONPATH=/home/user/somedir | |
| ExecStart=/home/user/venv/bin/python script.py |