command-line-murders/i-02706fb8ea9a8cc1e
by SadServersMore by SadServers
# Establish a connection to RabbitMQ connection = pika.BlockingConnection(parameters) channel = connection.channel() # Declare a queue channel.queue_declare(queue=QUEUE) # Publish a message to the queue channel.basic_publish(exchange='', routing_key=QUEUE, body=MESSAGE) print("Message sent to RabbitMQ") # Close the connection connection.close() admin@i-0ffa8982dfb2f3217:~$ grep RMQ_QUEUE
chennai/i-0ffa8982dfb2f3217 17:53
by SadServersudev 217M 0 217M 0% /dev tmpfs 46M 368K 46M 1% /run /dev/nvme0n1p1 7.7G 6.1G 1.2G 84% / tmpfs 228M 12K 228M 1% /dev/shm tmpfs 5.0M 0 5.0M 0% /run/lock /dev/nvme0n1p15 124M 5.9M 118M 5% /boot/efi admin@i-081b48a12295ac724:~$ lsblk -l NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT nvme1n1 259:0 0 1G 0 disk nvme2n1 259:1 0 1G 0 disk nvme0n1 259:2 0 8G 0 disk nvme0n1p1 259:3 0 7.9G 0 part / nvme0n1p14 259:4 0 3M 0 part nvme0n1p15 259:5 0 124M 0 part /boot/efi admin@i-081b48a12295ac724:~$
kihei/i-081b48a12295ac724 02:27
by SadServersroot 579 1 0 10:14 ttyS0 00:00:00 /sbin/agetty -o -p -- \u --k_chrony 589 1 0 10:14 ? 00:00:00 /usr/sbin/chronyd -F 1 root 590 1 0 10:14 ? 00:00:00 sshd: /usr/sbin/sshd -D [lis_chrony 591 589 0 10:14 ? 00:00:00 /usr/sbin/chronyd -F 1 root 598 1 0 10:14 ? 00:00:00 /usr/bin/python3 /usr/share/root 678 2 0 10:14 ? 00:00:00 [kworker/0:3-events] root 679 2 0 10:14 ? 00:00:00 [kworker/0:4-mm_percpu_wq] admin 796 561 0 10:18 pts/0 00:00:00 bash -l admin 800 796 0 10:18 pts/0 00:00:00 /usr/bin/python3 /usr/bin/asadmin 803 800 0 10:18 pts/0 00:00:00 /usr/bin/python3 /usr/bin/asadmin 804 800 0 10:18 pts/1 00:00:00 sh -c /bin/bash admin 805 804 0 10:18 pts/1 00:00:00 /bin/bash root 843 2 0 10:19 ? 00:00:00 [kworker/u4:2-events_unboundadmin 846 805 0 10:19 pts/1 00:00:00 ps -ef admin@i-01ba3fb0890c35be2:~$